On Thu, Jan 21, 2010 at 02:57:17PM +0100, Mickael CANEVET wrote:

> Hi,
> 
> I'd like postfix to treat EX_CANTCREAT (73) as "temporary failure".
> 
> I use this command to deliver my mails:
> 
> mailbox_command = /usr/bin/formail -D 8192 ~/.msgid.cache
> -s /usr/libexec/dovecot/deliver
> 
> The problem is that if the filesystem containing home directories is not
> mounted, formail returns an EX_CANTCREAT error, which is a permanent
> exception for postfix (by default).
> 
> Is it possible to tell postfix to not reject permanently this kind of
> error ?

Wrap this command in a script that tests for this return code, and
returns EX_TEMPFAIL.

Why would the file system not be mounted, and why would this condition
be temporary? Why is Postfix running when the system is not fully
functional? Is this a good system design?

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to