procmail
[Top] [All Lists]

Re: Simplifying a Recipe?

2004-05-17 23:33:59
On Tue, 2004-05-18 at 15:57, Professional Software Engineering wrote:
At 13:08 2004-05-18 +1000, Marvin Pierce wrote:

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

Why are you introducing hard dots on either side of the @ ?

Also, I didn't note it the first time around, but you seem to have dropped 
the colon which should follow the (From|Cc|To) expression.

* ^(From|Cc|To):.*(root|postmaster|mpierce)@(libranet|localhost)

Scott gave me some help and I got it fixed with the above and have
modified all recipes to reflect this better syntax. 

I nested something like this to the bottom of every recipe and I now
know which recipe is doing what:
{
  LOG="ACCEPTED MAIL (rule name) - "
  :0
    mailinglist/
} 
or
{
  LOG="TRAPPED SPAM (rule name) - "
  :0
    spam/
}

Your rc.furrin rule seems to be quite busy!

Thanks for help!

You should check out the SANDBOX at my website - it would be quite easy to

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

The URL to my site is in my .sig, and the sandbox should be quite trivial 
to find from there.

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