From 2e9300e19d30d00d94c889c328cd89941a450e64 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 13 Jan 2013 16:28:40 -0200 Subject: Adding mutt configuration --- modules/mutt/procmailrc | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 modules/mutt/procmailrc (limited to 'modules/mutt/procmailrc') diff --git a/modules/mutt/procmailrc b/modules/mutt/procmailrc new file mode 100644 index 0000000..121c6e9 --- /dev/null +++ b/modules/mutt/procmailrc @@ -0,0 +1,29 @@ +# +# Procmail rules +# + +MAILDIR=$HOME/mail +LOGFILE=$HOME/.procmaillog +LOGABSTRACT=no +VERBOSE=off +FORMAIL=/usr/bin/formail +NL=" +" +##recipe lines begin with :0 +##dont put comments on recipe lines +##disable a recipe with the false condition ! +##condition lines begin with * and regex is your friend +##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 + +################################ +# Last rule: mail that gets # +# this far goes in default box # +################################ +:0: +* ^X-Spam-Flag: YES +INBOX.Trash/new + +:0 +* .* +INBOX/new -- cgit v1.2.3