procmail
[Top] [All Lists]

Re: Headers don't match

2001-06-21 14:36:22
At 15:25 2001-06-21 -0500, David W. Tamkin wrote:

My first thought was that Kip was running an old version of procmail that
didn't grok ^TO_, so it was seeing the equivalent of ^TO()_ and looking for
a literal underscore, but Kip said it was version 3.15.

Further, Kip's logfile shows the regexp being used for ^TO_:

"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)(_dot_)*root(_at_)hctc\(_dot_)net"

versus mine:

"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)root(_at_)hctc\(_dot_)net"

The only different being that in mine, I omitted the '.*' from in front of the address spec, since it isn't needed - but also as I indicated in my last post, the original regexp DOES in fact match anyway.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

_______________________________________________
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>