aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-04-06 22:31:30 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-04-06 22:31:30 -0300
commit2255fef6f6a06903499e5fac61c9199f5bca4ed4 (patch)
tree60991a156eabd538e6c77f8fd45d3a8661fe47cd
parentd6bbc9ea4f82b270b7e33e7a4360f66746aeb504 (diff)
downloadmail-2255fef6f6a06903499e5fac61c9199f5bca4ed4.tar.gz
mail-2255fef6f6a06903499e5fac61c9199f5bca4ed4.tar.bz2
Fix: mailfilter: reorder and cleanup anti-spam rules
-rw-r--r--mailfilter.dot.link10
1 files changed, 5 insertions, 5 deletions
diff --git a/mailfilter.dot.link b/mailfilter.dot.link
index 6860175..fe137f9 100644
--- a/mailfilter.dot.link
+++ b/mailfilter.dot.link
@@ -45,16 +45,16 @@ if (/^X-Spam-Level: \*\*\*\*\*\*/)
if (/^X-Spam-Flag: YES/)
to $BASE/INBOX.Trash
-if (/^Subject:.*(SPAM)/)
- to $BASE/INBOX.Trash
-
if (/^X-Bogosity:.*Yes/)
to $BASE/INBOX.Trash
-if (/^Subject:.*\*\*\*SPAM\*\*\*/)
+if (/^X-Bogosity: Spam.*/)
to $BASE/INBOX.Trash
-if (/^X-Bogosity: Spam.*/)
+#if (/^Subject:.*\*\*\*SPAM\*\*\*/)
+# to $BASE/INBOX.Trash
+
+if (/^Subject:.*(SPAM)/)
to $BASE/INBOX.Trash
#