]> gitweb.fluxo.info Git - rhatto/dotfiles/mail.git/commitdiff
Fix: mailfilter: process custom recipes after anti-spam rules
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 7 Apr 2023 00:58:17 +0000 (21:58 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 7 Apr 2023 00:58:17 +0000 (21:58 -0300)
mailfilter.dot.link

index 48c9c9327592acb5bd7af9d13e9b8e0dfb431417..68601752e243425967e2fb6534234e182bdbadc7 100644 (file)
@@ -24,22 +24,6 @@ DEFAULT="$BASE/INBOX"
 
 logfile "$HOME/temp/log/maildrop"
 
-#
-# Custom recipes
-#
-
-# Test for a custom maildrop configuration
-`test -r $HOME/.custom/mailfilter`
-
-# Includes an existing maildrop configuration
-if ($RETURNCODE == 0)
-{
-  log "Including $HOME/.custom/mailfilter"
-  exception {
-    include $HOME/.custom/mailfilter
-  }
-}
-
 #
 # SPAM handling
 #
@@ -72,3 +56,19 @@ if (/^Subject:.*\*\*\*SPAM\*\*\*/)
 
 if (/^X-Bogosity: Spam.*/)
   to $BASE/INBOX.Trash
+
+#
+# Custom recipes
+#
+
+# Test for a custom maildrop configuration
+`test -r $HOME/.custom/mailfilter`
+
+# Includes an existing maildrop configuration
+if ($RETURNCODE == 0)
+{
+  log "Including $HOME/.custom/mailfilter"
+  exception {
+    include $HOME/.custom/mailfilter
+  }
+}