On Tue, Aug 14, 2001 at 11:42:20AM -0500, Philip Guenther wrote:
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
Thanks, that works. Even without the $. What is it for?
--
BOFH excuse #322:
Your Pentium has a heating problem - try cooling it with ice cold
water.(Do not turn of your computer, you do not want to cool down the
Pentium Chip while he isn't working, do you?)
--
Kalle Hasselström, kalle(_at_)treskal(_dot_)com
pgpvaQzS4pGWd.pgp
Description: PGP signature