diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-07-15 13:34:31 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-07-15 14:54:17 -0700 |
commit | ebb4bc6b0403e9d4f2a6f24556ddcd4257ef846b (patch) | |
tree | 9bc7105144c51f565acec1c014042deed78e9b85 | |
parent | f23408d1c2fb9afb74c44b7c666a5d4ff5338896 (diff) | |
download | dotfiles-ebb4bc6b0403e9d4f2a6f24556ddcd4257ef846b.tar.gz |
start syncing Fastmail's Spam folder
-rwxr-xr-x | .config/notmuch/default/hooks/post-new | 2 | ||||
-rw-r--r-- | .mbsyncrc | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.config/notmuch/default/hooks/post-new b/.config/notmuch/default/hooks/post-new index 60a5b2f0..b46d08bd 100755 --- a/.config/notmuch/default/hooks/post-new +++ b/.config/notmuch/default/hooks/post-new @@ -1,7 +1,7 @@ #!/bin/sh # mark all spam as spam, and as read, for Gnus -notmuch tag -unread +spam -- folder:spam +notmuch tag -unread +spam -- folder:junk folder:spam # mark all trash as trash, and as read, for Gnus notmuch tag -unread +deleted -- folder:trash @@ -91,6 +91,10 @@ Channel fmailt Master :fmimap:Trash Slave :fmmaildir:trash +Channel fmailj +Master :fmimap:"Junk Mail" +Slave :fmmaildir:junk + Channel spamtraining Master :fmimap:Training/Spam Slave :fmmaildir:spam @@ -110,5 +114,6 @@ Channel fmails Channel fmailt # Channel lists Channel notes +Channel fmailj Channel spamtraining Channel hamtraining |