procmail
[Top] [All Lists]

goofy rule

2002-12-04 04:31:53
# blacklist based on bounced / non-deliverable email
:0 b
* ^FROM_MAILER
* ^Subject: (Undeliverable:|Undelivered Mail Returned to Sender|Delivery\
      Status Notification \(Failure\))
* B ?? ? $GREP -iqf $PENDINGLIST
| $LISTMANAGER --blacklist


What it is supposed to do is match the first three conditions and then dump the email into the $LISTMANAGER and stop.

It does everything except actually stop.
the script 'list_manager.pl' doesn't have any output except to STDERR (procmail log).

What did I miss?


-----------log attached----------------

procmail: Match on "(^(((Resent-)?(From|Sender)|X-Envelope-From):|>?From )([^>]*
[^((_dot_)%(_at_)a-z0-9])?(Post(ma(st(er)?|n)|office)|(send)?Mail(er)?|daemon|mmdf|n?uucp|o
ps|r(esponse|oot)|(bbs\.)?smtp(error)?|s(erv(ices?|er)|ystem)|A(dmin(istrator)?|
MMGR))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>   ][^<)]*(\(.*\).*)?)?$([^>]|$))"
procmail: Match on "^Subject: (Undeliverable:|Undelivered Mail Returned to Sende
r|Delivery Status Notification \(Failure\))"
procmail: Executing "/bin/fgrep,-iqf,/home/tallison/.procmail/pendinglist"
procmail: Match on "/bin/fgrep -iqf /home/tallison/.procmail/pendinglist"
procmail: Assigning "LASTFOLDER=/usr/local/bin/list_manager.pl --blacklist"
procmail: Notified comsat: "tallison@:/usr/local/bin/list_manager.pl --blacklist
"
From MAILER-DAEMON  Wed Dec  4 00:07:00 2002
 Subject: Undelivered Mail Returned to Sender
  Folder: /usr/local/bin/list_manager.pl --blacklist                       2259
procmail: Executing "/usr/local/bin/list_manager.pl,--blacklist"

--
"Remember, extremism in the nondefense of moderation is not a virtue."
-- Peter Neumann, about usenet


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • goofy rule, Tom Allison <=