procmail
[Top] [All Lists]

Re: Request for syntax assistance

2003-12-13 21:07:29
Sean, 

Thanks for the answer. I think I asked the question incorrectly. Here is
what I want to do in a sort of pseudocode.

I have most of it, but I am unsure about the parts labeled "continue to
the $HOME/.procmailrc" that is what I meant about terminating the rest
of the /etc/procmailrc file. If I match a condition, I want to skip the
rest of the file.

Check all mail with Anomy. 
     continue
Check against my subscribed-mail list file
     if from a list
          exit out the main and continue to the $HOME/.procmailrc
     else
          continue
Check against the .whitelist
     if on whitelist
          exit out the main and continue to the $HOME/.procmailrc
     else
          continue
Check with Spamassassin



On Sat, 2003-12-13 at 19:22, Professional Software Engineering wrote:
At 17:00 2003-12-13 -0600, Nick wrote:

I am confused on how to stop executing the remainder of the
/etc/procmailrc where I need to, and pass it on to the execution of the
local users .procmailrc. The rest of it I think I have, thanks!


SWITCHRC = /dev/null

should terminate /etc/procmailrc.  You could wrap that up in a test 
condition looking for a user .procmailrc, but if you want to terminate the 
/etc/procmailrc, you probably want to terminate whether you have a user 
.procmailrc or not...

---
  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
-- 
Nick (Nix) Gray
Senior Systems Engineer
Bruzenak Inc.
(512) 331-7998

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