On Wed, 7 Mar 2007, Bradley D Andersen wrote:
Hello,
procmail noob here. I have the following two recipes in my .procmailrc:
[1]----------------------------------------------------
# debian developer list::------------------------------
:0
* ! ^(To|CC|Cc|cc):(_dot_)*debian-devel(_at_)lists(_dot_)debian(_dot_)org
* ! ^To:(_dot_)*submit(_at_)bugs(_dot_)debian(_dot_)org
{ }
:0 E:
fMAILf/debian-devel
Instead of if-else parts use score, the debug will be easier:
:0:
* 1^0 ^(To|CC|Cc|cc):(_dot_)*debian-devel(_at_)lists(_dot_)debian(_dot_)org
* 1^0 ^To:(_dot_)*submit(_at_)bugs(_dot_)debian(_dot_)org
fMAILf/debian-devel
Bye,
Udi
[2]
# stuff from nagios and bugzilla to the BlackBerry::---
:0
* ! ^To:(_dot_)*staff(_at_)physics(_dot_)purdue(_dot_)edu
* ! ^From:(_dot_)*bugzilla(_at_)physics(_dot_)purdue(_dot_)edu
* ! ^From:(_dot_)*nagios(_at_)physics(_dot_)purdue(_dot_)edu
{ }
:0 E:
!andersen(_at_)exchange(_dot_)purdue(_dot_)edu
-------------------------------------------------------
[2] works every time, but I have had several problems with [1]. I post
here now because I have tried different fixes for [1]. I am concerned, as
the structure of [1] and [2] are identical. Here is one such *other*
attempt for [1]:
-------------------------------------------------------
:0
* ^TO_*debian
fMAILf/debian-devel
-------------------------------------------------------
So my problem (to me) seems to be in the multiple-condition, multiple
action realm.
Any help appreciated,
Bradley Andersen
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail