procmail
[Top] [All Lists]

Re: Simplifying a Recipe?

2004-05-17 20:17:20
On Tue, 2004-05-18 at 12:26, Professional Software Engineering wrote:
At 11:52 2004-05-18 +1000, Marvin Pierce wrote:

I've used multiple uses of root, postmaster and mpierce. Could I write
*^ (From|Cc|To).*(root|postmaster|mpierce)(@libranet|@localhost)

Would it then work?

Yes.  you could move the @ to between the latter two parentheticals as well.

You should however REMOVE the space between the caret and the first 
parenthetical group.

Would it then look like:
*^(From|Cc|To).*(root|postmaster|mpierce)\(_dot_)(_at_)\(_dot_)(libranet|localhost)



You should check out the SANDBOX at my website - it would be quite easy to 
take a test message and morph it into messages which simulate each of the 
conditions, and then pipe the collection of messages at the test setup.

What's the URL? I'm using your some of your recipes already.


---
  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(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail




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