aboutsummaryrefslogtreecommitdiff
path: root/modules/mutt/procmailrc.dot.link
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-01 01:25:10 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-01 01:25:10 -0200
commit6b9187673ee62d11042832f938913f15131592a7 (patch)
tree9e70016667efe273a72ab351aafaddbdb099e123 /modules/mutt/procmailrc.dot.link
parent25235935e6c90557a4d6791c8d8f3a5cdf89681a (diff)
downloadmetadot-6b9187673ee62d11042832f938913f15131592a7.tar.gz
metadot-6b9187673ee62d11042832f938913f15131592a7.tar.bz2
Adding metadot script
Diffstat (limited to 'modules/mutt/procmailrc.dot.link')
-rw-r--r--modules/mutt/procmailrc.dot.link29
1 files changed, 29 insertions, 0 deletions
diff --git a/modules/mutt/procmailrc.dot.link b/modules/mutt/procmailrc.dot.link
new file mode 100644
index 0000000..121c6e9
--- /dev/null
+++ b/modules/mutt/procmailrc.dot.link
@@ -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