Re: read only fs is a permanent error ?
Martin Spütz <[email protected]>
| Newsgroups | gmane.mail.maildrop |
|---|---|
| Message-ID | <[email protected]> |
Hello, On 06/11/2013 03:51 AM, Sam Varshavchik wrote: > 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. I'm using maildrop 2.6.0 and maildrop aborts with an exit code 77. Here are my tests: $ export EXT=test $ export HOST=domain.de $ cat some-email.txt | maildrop /etc/mailfilter; echo $? maildrop: /home/vpopmail/domains/domain.de/test/Maildir/: Read-only file system 77 But if I delete the maildir folder (test/Maildir). $ cat some-email.txt | maildrop /etc/mailfilter; echo $? maildrop: Unable to open mailbox. 75 $ cat /etc/mailfilter import EXT import HOST REG_CASE = no SHELL="/bin/sh" VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST` VPOP="$VHOME/Maildir/" DEFAULT="$VPOP" Thanks, Martin ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev