procmail
[Top] [All Lists]

Re: TO_ is not expanded

2001-08-14 08:41:55
* 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

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

NEWSLISTS="(announce|news|dot-stories|editors(_at_)eff\(_dot_)org|kcdistrib)"

: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

-- 
- Matt Dunford <> zoot(_at_)zotikos(_dot_)com ..
-. www.zotikos.com -- o,;-
        
My slack will set me free.
  -- Henry Rollins, Black Flag
--
_______________________________________________
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>