]> gitweb.fluxo.info Git - metadot.git/commitdiff
More anti-spam rules
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 26 May 2013 17:06:57 +0000 (14:06 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 26 May 2013 17:06:57 +0000 (14:06 -0300)
modules/mutt/procmailrc.dot.link

index f07c011fdd1f6ca1b5f32c1186c228e5865747ea..3cee191e9ed2dbe104d5cd5a20d4a5662116c331 100644 (file)
@@ -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