Matt Dunford <zoot(_at_)zotikos(_dot_)com> writes:
* Timothy J. Luoma <luomat(_at_)peak(_dot_)org> [010814 11:19]:
I think the ^TO_ needs to be all together and should *not* have the .* after
it
This is correct.
I would just make two recipes, one with the ^TO_ and one with the From:....
put the lists in a variable so you only have to maintain one copy
...
:0:
* $ ^From:.*$NEWSLISTS
lists/news
:0:
* $ ^TO_$NEWSLISTS
lists/news
Or you can combine this recipe using scoring:
:0:
* 1^0 $ ^TO_$NEWSLISTS
* 1^0 $ ^From:.*$NEWSLISTS
lists/news
Or you leave it as a single condition as just put the parens in the right
place:
:0:
* $ (^TO_|^From:.*)$NEWSLISTS
lists/news
Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail