procmail
[Top] [All Lists]

Re: Need regex-help: inverted word search

2004-11-05 11:55:06
At 19:10 2004-11-05 +0100, Andreas Schmidt did say:
        To: someone(_at_)server, myname(_at_)server, somebodyelse(_at_)server

Now I look for a way to do an inverse word search, like this:
        * To: (not myname)@server

I can look for specific strings:
(1)     * To:(_dot_)*myname(_at_)server


* ^To:(_dot_)*(_at_)server
* ! ^To:(_dot_)*myname(_at_)server

(Note that these regexps ignore the fact that .* is a poor lead-in delimiter for an address, since if your name is "ed", it'll match "sayed", "fred", etc.)

[snip]

I get the general impression that you're trying to determine if multiple recipients at your domain are addressed. Search the procmail archives - I know I've submitted a recipe to score for multiple recipients at a given domain (as well as variations on a recipient name).

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


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