From 2255fef6f6a06903499e5fac61c9199f5bca4ed4 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 6 Apr 2023 22:31:30 -0300 Subject: Fix: mailfilter: reorder and cleanup anti-spam rules --- mailfilter.dot.link | 10 +++++----- 1 file 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 # -- cgit v1.2.3