procmail
[Top] [All Lists]

Re: Rule not being honored. Why?

2009-02-10 17:37:47
On 10-Feb-2009, at 11:34, Christopher L. Barnard wrote:
From: root on nbmaster001 
<root(_at_)rudun-nbmaster001(_dot_)cc1(_dot_)rush(_dot_)edu>

That will not match your expression:

* ^From[$WS]*root(_at_)rudun-nbmaster002\(_dot_)cc1\(_dot_)rush\(_dot_)edu

First off, in that case there IS a colon, and there is quite a bit more on the line than simply a space, or several spaces. Also, you are not expanding the variable. try this:

* $ ^From:(_dot_)*root(_at_)rudun-nbmaster002\(_dot_)cc1\(_dot_)rush\(_dot_)edu

--
"Hi Dad!  It's 3am, do you know where I am?"

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