procmail
[Top] [All Lists]

Re: ERRORCODE of last failed recipe

2003-04-16 07:52:11
 >:0
 >$DEFAULT

In my example previous recipe's failed action was a save-to-folder,
wasn't it? So I am unable to get status? The reason why I asked this
question is as followes:

I try to deliver mail to $DEFAULT. It can't be delivered for many
reasons. I am interested in case when status is 73 (Can't create user's
output). In this case I would bounce message with "Mailbox full". Seems
I steped to the wrong direction. Thanks for your answer.

Regards,

David W. Tamkin wrote:
> George asked,
>
>> :0 e
>> {
>> # How can I get errorcode of previous recipe here?
>> }
>
>
> If the previous recipe's failed action was a save-to-pipe or a filter,
>
>  STATUS = $?
>
> would do it.  But if the previous recipe's failed action was a save-to-
> folder, you're pretty much out of luck.  Someone, please, disprove that.
>
>
>
>


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