aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2010-06-25 15:55:14 -0400
committerChris Ball <cjb@laptop.org>2010-06-25 15:55:14 -0400
commit96438469d6c4c97d5c2fc14f6a26ece147fc75b2 (patch)
tree548e492d18251ab468973eb8f3479f37bc2a2d17
parent62e4f0eda96b09e39ced25f770df03bbda097d88 (diff)
parentdf74ec8ead6b7dfe6081062eafa8785728323c9d (diff)
downloadbugseverywhere-96438469d6c4c97d5c2fc14f6a26ece147fc75b2.tar.gz
Merge commit 'refs/merge-requests/2' of git://gitorious.org/be/be
-rw-r--r--interfaces/email/interactive/_mailfilterrc22
1 files changed, 22 insertions, 0 deletions
diff --git a/interfaces/email/interactive/_mailfilterrc b/interfaces/email/interactive/_mailfilterrc
new file mode 100644
index 0000000..c47963b
--- /dev/null
+++ b/interfaces/email/interactive/_mailfilterrc
@@ -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 under GPLv2+ license.
+
+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
+