procmail
[Top] [All Lists]

exit code of last failed recipe

2003-03-13 06:04:35
Hello,

How can I get the exitcode of last failed recipe?

say I have rc file like this

:0
$DEFAULT

:0 e
{
# If delivery failed to $DEFAULT (say the reason is "can't create output" (73)), is it possible to get either "can't create output" or "73"? If yes what is the magic string? as $? returns the exit code of last executed external program, I can't use it in my case.
}


Thanks in advance
--
George Chelidze




_______________________________________________
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>
  • exit code of last failed recipe, George Chelidze <=