Thanks a lot for your answer.

The filesystem could be unavailable because it is located on NAS. I
don't want my mails to be bounced if the NAS falls.

On Thu, 2010-01-21 at 12:58 -0500, Victor Duchovni wrote:
> 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?
> 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to