aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-04-06 21:58:17 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-04-06 21:58:17 -0300
commit3fb51cbd859855fb5ef4e3c66fb06ae4d89825fa (patch)
tree18f2b9ec95c0b62ea85c15262c3ebd9bb1c620c2
parent92632d35eac99f524538bc566e39ca506dd2b74c (diff)
downloadmail-3fb51cbd859855fb5ef4e3c66fb06ae4d89825fa.tar.gz
mail-3fb51cbd859855fb5ef4e3c66fb06ae4d89825fa.tar.bz2
Fix: mailfilter: process custom recipes after anti-spam rules
-rw-r--r--mailfilter.dot.link32
1 files changed, 16 insertions, 16 deletions
diff --git a/mailfilter.dot.link b/mailfilter.dot.link
index 48c9c93..6860175 100644
--- a/mailfilter.dot.link
+++ b/mailfilter.dot.link
@@ -25,22 +25,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
+ }
+}