From: W. Trevor King Date: Tue, 14 Jul 2009 19:49:58 +0000 (-0400) Subject: Added _procmailrc file for interactive email handling. X-Git-Tag: 1.0.0~62^2~46^2~81 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1cb19d8c51dde8ed091ee875c095066165a5488d;p=be.git Added _procmailrc file for interactive email handling. The beginnings of an interactive email interface to BE. With a working procmail setup, copying _procmailrc to ~/.procmailrc should sort through incoming email to that user, passing all messages with subjects starting with [be-mail] on to the script be-handle-mail and deleting the rest. Now I just need to write be-handle-mail ;). --- diff --git a/interfaces/email/interactive/_procmailrc b/interfaces/email/interactive/_procmailrc new file mode 100644 index 0000000..58beadb --- /dev/null +++ b/interfaces/email/interactive/_procmailrc @@ -0,0 +1,19 @@ +# .procmailrc +# +# see man procmail, procmailrc, and procmailex +# +# If you already have a ~/.procmailrc file, you probably only need to +# insert the bug-email grabbing stanza in your ~/.procmailrc. + +MAILDIR=$HOME/be-mail +LOGFILE=$MAILDIR/procmail.log + +# Grab all incoming bug emails. This rule eats matching emails +# (i.e. no further procmail processing). +:0 +* ^Subject: [be-mail] +| be-handle-mail + +# Drop everything else +:0 +/dev/null