summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-07-15 13:34:31 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-07-15 14:54:17 -0700
commitebb4bc6b0403e9d4f2a6f24556ddcd4257ef846b (patch)
tree9bc7105144c51f565acec1c014042deed78e9b85
parentf23408d1c2fb9afb74c44b7c666a5d4ff5338896 (diff)
downloaddotfiles-ebb4bc6b0403e9d4f2a6f24556ddcd4257ef846b.tar.gz
start syncing Fastmail's Spam folder
-rwxr-xr-x.config/notmuch/default/hooks/post-new2
-rw-r--r--.mbsyncrc5
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
diff --git a/.mbsyncrc b/.mbsyncrc
index 4ad67c6f..37eef2c1 100644
--- a/.mbsyncrc
+++ b/.mbsyncrc
@@ -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