Re: read only fs is a permanent error ?

Sam Varshavchik <[email protected]>
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
Martin Spütz writes:

> Hi,
>
> we just had a problem with the filesystem on one of our servers. The
> filesystem has gone read-only.
>
> Unfortunately maildrop rejected every email and qmail bounced it back to
> the user.
>
> failure notice:
> > maildrop: /home/vpopmail/domains/.../Maildir/: Read-only file system
>
> It is possible to change that to a temporary error?

Sure. Configure Qmail accordingly.

All that maildrop does is return an exit code. It's up to qmail to decide  
whether to handle it as a temporary or a permanent error.

Doing a quick test, maildrop aborts with exit code 75, EX_TEMPFAIL, for me.  
I don't have Qmail docs handy, but Qmail should be handling that as a  
temporary error. If not, and if you're invoking maildrop from a script,  
you'll need to make sure that your script itself terminates with the same  
exit code that maildrop does, because that's what Qmail sees.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

_______________________________________________
Courier-maildrop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)

iEYEABECAAYFAlG2gpIACgkQx9p3GYHlUOKlQACfQaxwfP8AhspU/rZhKHTeXFpv
aUUAnRsLS4c0xhkkBAgvSq5QXuMzx64e
=Qw+U
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.