procmail
[Top] [All Lists]

Re: procmailrc script fine tuning

2006-04-25 16:24:27
Dallman Ross wrote:
On Tue, Apr 25, 2006 at 07:02:57AM -0400, LDB wrote:

Can procmail do if-then-else type statements? From what I have
read .. no, but it is nice to check.

Of course it can.  Have you read the man pages?

  :0
  * foo
  | do_something

  :0 E  #else
  | do_something_else

dman

____________________________________________________________
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



Does this,

e    This recipe only executes if the immediately preceding recipe failed


mean that the exit code was greater than 0? I hope it does for my sake.

Thanks,

LDB

____________________________________________________________
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