procmail
[Top] [All Lists]

Do I need to set EXITCODE's?

2004-08-19 10:04:35
Does procmail return with a exitcode of 0 *only* when it writes to the
$DEFAULT mailbox or does procmail return 0 for any successful
delivery/redirection?

For all email I either:
1. ! forward(_at_)domain(_dot_)com
2. /dev/null
3. or let if auto delivery to $DEFAULT

For procmail to tell the calling program that a message was spam, do I have
to set EXITCODE=1 in every recipe just before every #1 or #2 delivery?
Would this force procmail to return 1 to the caller?  Also, everywhere else
in the recipe, 0 would be assumed?

thanks,
-eric wood


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