rc file for maildrop filter
authorGour <gour@gour-nitai.com>
Fri, 25 Jun 2010 16:09:01 +0000 (18:09 +0200)
committerGour <gour@gour-nitai.com>
Fri, 25 Jun 2010 16:09:01 +0000 (18:09 +0200)
interfaces/email/interactive/_mailfilterrc [new file with mode: 0644]

diff --git a/interfaces/email/interactive/_mailfilterrc b/interfaces/email/interactive/_mailfilterrc
new file mode 100644 (file)
index 0000000..c9847f8
--- /dev/null
@@ -0,0 +1,22 @@
+# .mailfilter
+#
+# see man maildrop, maildropfilter, and maildropex
+#
+# If you already have a ~/.mailfilterc file, you probably only need to
+# insert the bug-email grabbing stanza in your ~/.mailfilter.
+#
+# This file is released to the Public Domain.
+
+MAILDIR=$HOME/be-mail
+LOGFILE=$MAILDIR/maildrop.log
+
+# Grab all incoming bug emails (but not replies).  This rule eats
+# matching emails (i.e. no further procmail processing).
+
+if (/^Subject:.*\[be-bug/ && !/^Subject:.*\[be-bug\].*Re:/) 
+   to "| be-handle-mail/"
+
+# drop everything else
+if (/*/)
+  to /dev/null
+