On Tue, Aug 14, 2001 at 12:01:11AM +0200, Kalle Hasselström wrote:
procmail: No match on
"^(TO_|From:).*(announce|news|dot-stories|editors(_at_)eff\(_dot_)org|kcdistrib).*"
The recipie looks like this:
# various news lists
:0:
*
^(TO_|From:).*(announce|news|dot-stories|editors(_at_)eff\(_dot_)org|kcdistrib).*
lists/news
More likely you want
* (^TO_|^From:[
])(announce|news|dot-stories|editors)@(eff\.org|kcdistrib)
The macro is "^TO_", not "TO_". The ^ needs to be inside the parens for it to
be expanded. Addeding wildcards inside the expression after that is redundant,
since that's already included in the ^TO_ macro, and wildcards at the END of
an expresion in procmail are unneccesary. Note that the brackets contain a
literal space and tab.
--
Andrew Edelstein - andrew(_at_)pure-chaos(_dot_)com
http://andrew.pure-chaos.com
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail