procmail
[Top] [All Lists]

Simple procmail filter rule

2004-08-09 13:23:25

This message is not being caught and I do not see why.  What (probably
painfully obvious) item am I forgetting?

Christopher

------------8<------------

The procmail recipe:

:0 HB
* ^From: Mail Delivery Subsystem
* ^To: root\(_at_)pmoprod\(_dot_)admin\(_dot_)cbot\(_dot_)com
* ^Subject: Returned mail: User unknown
* 550
* User\ unknown
/home/cbar44/mail/garbage

-------------8<------------

A message comes along (this is a cut-and-paste from Pine, btw):

Date: Mon, 9 Aug 2004 15:53:19 -0400 (EDT)
From: Mail Delivery Subsystem <MAILER-DAEMON(_at_)imcingular(_dot_)com>
To: root(_at_)pmoprod(_dot_)admin(_dot_)cbot(_dot_)com
Subject: Returned mail: User unknown

The original message was received at Mon, 9 Aug 2004 15:53:19 -0400 (EDT)
from [198.138.100.100]

   ----- The following addresses had permanent fatal errors -----
<rrose_cbot(_at_)imcingular(_dot_)com>

   ----- Transcript of session follows -----
550 <rrose_cbot(_at_)imcingular(_dot_)com>... User unknown

   ----- Original message follows -----

[...]

----------------8<---------------------

but it is not processed.  From my log:

procmail: Match on "^From: Mail Delivery Subsystem"
procmail: No match on "^To: 
root\(_at_)pmoprod\(_dot_)admin\(_dot_)cbot\(_dot_)com"

____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>