summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-05-10 14:56:00 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2022-05-10 14:56:00 +0200
commitd486c233b033cd227e758cf780a1ad5e5b2043b0 (patch)
treec069dc9019775768e7a2f563641839e8f7f8948e /hosts
parent91a539530f985d79f0a9745f32f52a5058542775 (diff)
downloadnixos-d486c233b033cd227e758cf780a1ad5e5b2043b0.tar
nixos-d486c233b033cd227e758cf780a1ad5e5b2043b0.tar.gz
nixos-d486c233b033cd227e758cf780a1ad5e5b2043b0.tar.bz2
nixos-d486c233b033cd227e758cf780a1ad5e5b2043b0.tar.xz
nixos-d486c233b033cd227e758cf780a1ad5e5b2043b0.zip
surtr: ...
Diffstat (limited to 'hosts')
-rw-r--r--hosts/surtr/email/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/hosts/surtr/email/default.nix b/hosts/surtr/email/default.nix
index 980ee52f..acda2b2f 100644
--- a/hosts/surtr/email/default.nix
+++ b/hosts/surtr/email/default.nix
@@ -408,6 +408,10 @@ in {
408 auto = no 408 auto = no
409 special_use = \Trash 409 special_use = \Trash
410 } 410 }
411 mailbox Junk {
412 auto = no
413 special_use = \Junk
414 }
411 mailbox Drafts { 415 mailbox Drafts {
412 auto = no 416 auto = no
413 special_use = \Drafts 417 special_use = \Drafts
@@ -529,7 +533,7 @@ in {
529 set "mailbox" "''${1}"; 533 set "mailbox" "''${1}";
530 } 534 }
531 535
532 if not string "''${mailbox}" "Trash" { 536 if not anyof(string "''${mailbox}" "Trash", string "''${mailbox}" "Junk") {
533 pipe :copy "learn_ham.sh" [ "''${username}" ]; 537 pipe :copy "learn_ham.sh" [ "''${username}" ];
534 } 538 }
535 } 539 }