procmail
[Top] [All Lists]

RE: multiple "TOs" {revisited}

2001-02-21 13:51:38


:0:*^TO
+(sunmanagers(_at_)sunmanagers(_dot_)org)|(sun-managers(_at_)sunmanagers(_dot_)org)|(sunmana
gers(_at_)sunhelp(_dot_)org)|(sun-managers(_at_)ECECS(_dot_)UC(_dot_)EDU)
SUNmanagers


Is there another line, like a Sender: or a Mailing-List: or something that stays
the same throughout all of them?

That might be the best way to make sure you catch them all.

I think you could re-write the above to be a bit simpler (this actually will
match a few cases you didn't include, but I don't think that's a problem

:0:
* ^TO((sunmanagers|sun-managers)@(sunmanagers\.org|sunhelp\.org|ECECS\.UC\.EDU))
SUNmanagers


(I'm not familiar with what ^TO+ is supposed to do, was that intentional?)

TjL

_______________________________________________
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>