From 4c8e98a67b3840792a850ebb942d87d4f864380b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 26 May 2013 14:06:57 -0300 Subject: More anti-spam rules --- modules/mutt/procmailrc.dot.link | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'modules') diff --git a/modules/mutt/procmailrc.dot.link b/modules/mutt/procmailrc.dot.link index f07c011..3cee191 100644 --- a/modules/mutt/procmailrc.dot.link +++ b/modules/mutt/procmailrc.dot.link @@ -20,6 +20,27 @@ NL=" # SPAM handling # +# Send mail through bogofilter +# See http://www.exstrom.com/journal/comp/bogofilter.html +# http://www.linuxjournal.com/article/6439 +# http://bogofilter.sourceforge.net/faq.shtml +:0fw +| /usr/bin/bogofilter -uep + +# Put mail bogofilter deems as spam in spam folder +:0: +* ^X-Bogosity: Spam, tests=bogofilter +INBOX.Trash/new + +# Put mail bogofilter deems as unsure in spam folder +:0: +* ^X-Bogosity: Unsure, tests=bogofilter +INBOX.Trash/new + +:0: +*^X-Spam-Level: ****** +INBOX.Trash/new + :0: * ^X-Spam-Flag: YES INBOX.Trash/new -- cgit v1.2.3