procmail
[Top] [All Lists]

Re: understanding (mis)filtering

2001-12-11 15:02:07
On Tue, Dec 11, 2001 at 12:12:58PM -0500, parv wrote:
hi,

i cannot understand why procmail would in some instances work and in
others doesn't.  i thought that the message would go to 
In/IN.f-doc, not In/IN.freebsd.

from the log, it seems that matching condition isn't being expanded.
does that mean that i have to have 2 separate recipes w/o the '|'?


below is the recipe...

:0:
* ^(TOdoc(_at_)freebsd\(_dot_)org|Subject:.*cvs commit:[   ]*doc)
In/IN.f-doc

Your problem is in the use of TO. Note that the macro is "^TO", not "TO". By
putting the parens where you did, you broke the macro. Put the carat inside
the parens, and add a carat to your ORd condition, thus:

:0:
* (^TOdoc(_at_)freebsd\(_dot_)org|^Subject:.*cvs commit:[       ]*doc)
In/IN.f-doc

-- 
Andrew Edelstein        -       andrew(_at_)pure-chaos(_dot_)com

"If you're not pissed off at the world then you're just not paying attention."
                                Kasey Chambers "Ignorance"

"If you're not frightened by this, you're simply not paying attention."
                                Harry Browne
_______________________________________________
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>