procmail
[Top] [All Lists]

Re: Need regex-help: inverted word search

2004-11-05 12:06:41
On Fri, Nov 05, 2004 at 07:10:45PM +0100, Andreas Schmidt wrote:
Hi,

I have some difficulties with finding the correct regular expression  
for my problem.

I sometimes get mails where other accounts on the same server are  
listed in the To-header as well, e.g.:

      To: someone(_at_)server, myname(_at_)server, somebodyelse(_at_)server

Try
    :0
    * ^TO_[^(_at_)]*@server[^(_at_)]*@server[^(_at_)]*@server
    spam

-- 
William Park <opengeometry(_at_)yahoo(_dot_)ca>
Open Geometry Consulting, Toronto, Canada

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>