[Dovecot] Permission denied error log messages
Timo Sirainen
tss at iki.fi
Thu Dec 2 08:41:28 EET 2010
On 2.12.2010, at 6.04, Tim Traver wrote:
> ok, I have a large 2.07 NFS setup, and I have been monitoring error
> messages to make sure I catch things, and I've come across a lot of
> messages that come in pairs and look like this :
>
> Dec 01 17:48:35 lda(paul at xxxxxx.com): Error:
> write(/home/mailboxes/data/301/paul at xxxxxx.com/Maildir/tmp/1291254514.M620308P83269.mta2.scaledsystems.com)
> failed: Permission denied
write() doesn't check for permissions. That's done when the file is open()ed. So if that's happening, the possibilities I can think of are:
a) Bug in Dovecot
b) Bug in Linux kernel
c) NFS server failing the write due to permission error for some reason
You could apply the attached debug patch, it should at least make it clear what function exactly fails and get rid of the a) doubt.
> I use qmail control files to feed the lda delivery for messages. When
> these errors happen, is the message lost? or is it still queued up in
> qmail's queue when the lda gives a fatal error like that?
dovecot-lda fails with tempfail exit code, so it should be retried.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: application/octet-stream
Size: 1321 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20101202/e22a350c/attachment.obj
More information about the dovecot
mailing list