From: Silvio Rhatto Date: Sat, 25 May 2013 21:25:23 +0000 (-0300) Subject: SPAM handling on procmail X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ba34d7c225a7b48bb9e0211aa1366e9207a23744;p=metadot.git SPAM handling on procmail --- diff --git a/modules/mutt/procmailrc.dot.link b/modules/mutt/procmailrc.dot.link index cc63544..f07c011 100644 --- a/modules/mutt/procmailrc.dot.link +++ b/modules/mutt/procmailrc.dot.link @@ -16,14 +16,25 @@ NL=" ##conditions are anded and everything after * is fed straight into egrep ##one action line follows the conditions, in this case it is a mailbox name -# Custom recipes -INCLUDERC=$HOME/.custom/procmailrc - +# # SPAM handling +# + :0: * ^X-Spam-Flag: YES INBOX.Trash/new +:0: +*^Subject:.*(SPAM) +INBOX.Trash/new + +:0: +*^X-Bogosity:.*Yes +INBOX.Trash/new + +# Custom recipes +INCLUDERC=$HOME/.custom/procmailrc + ################################ # Last rule: mail that gets # # this far goes in default box #