aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-06-25 14:53:41 -0400
committerW. Trevor King <wking@drexel.edu>2010-06-25 14:53:41 -0400
commitb43c3b970597096ce25efd6121836bee2f476ed0 (patch)
tree4f0bb8e371f2c83792ebecbe112a897bcfda2f70
parent1791da7a299980d45c5891eb3e21280b58e70c7b (diff)
parent3c33250866a6c8a800ca3d6388ebef76fe5f1d2c (diff)
downloadbugseverywhere-b43c3b970597096ce25efd6121836bee2f476ed0.tar.gz
Merge remote branch 'gour/master'
-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..c9847f8
--- /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 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
+