aboutsummaryrefslogtreecommitdiffstats
path: root/interfaces/email/interactive
diff options
context:
space:
mode:
authorGour <gour@gour-nitai.com>2010-06-25 18:09:01 +0200
committerGour <gour@gour-nitai.com>2010-06-25 18:09:01 +0200
commit3c33250866a6c8a800ca3d6388ebef76fe5f1d2c (patch)
tree85a003719f596be24c4ee1c2ec57d5fdffd6823c /interfaces/email/interactive
parent6da12060ee520bb876c2dd8d2bdb9f7c01443f22 (diff)
downloadbugseverywhere-3c33250866a6c8a800ca3d6388ebef76fe5f1d2c.tar.gz
rc file for maildrop filter
Diffstat (limited to 'interfaces/email/interactive')
-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
+