aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-05-25 18:25:23 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-05-25 18:25:23 -0300
commitba34d7c225a7b48bb9e0211aa1366e9207a23744 (patch)
tree99369522d6ef4463aa6dd5b8aad1f6d4129edf39 /modules
parentfea15aba8d1a68f2772fcf80e66b7ea4e9969e0f (diff)
downloaddotfiles-ba34d7c225a7b48bb9e0211aa1366e9207a23744.tar.gz
dotfiles-ba34d7c225a7b48bb9e0211aa1366e9207a23744.tar.bz2
SPAM handling on procmail
Diffstat (limited to 'modules')
-rw-r--r--modules/mutt/procmailrc.dot.link17
1 files changed, 14 insertions, 3 deletions
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 #