[Dovecot] Permissions errors while reading messages via IMAP
Timo Sirainen
tss at iki.fi
Wed Dec 23 23:26:18 EET 2009
On Wed, 2009-12-23 at 13:13 -0800, Geoff Sweet wrote:
> and as you can see, the files in the delivery location have the correct permissions for being delivered by user "vmail":
> # ls -la
> total 64
> -rw------- 1 vmail vmail 572 Dec 23 11:51 dovecot.index.log
What about this:
> Dec 23 12:08:49 mail1 dovecot: IMAP(geoff.sweet at test.com):
> open(/home/vmail/test.com/geoff.sweet/Maildir/dovecot.index.log)
> failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing
> +r perm: /home/vmail/test.com/geoff.sweet/Maildir/dovecot.index.log)
Is that file also owned by vmail:vmail? The error message shows that
vmail user doesn't have read access to the file. If that file is also
owned by vmail, I have only two ideas:
a) You have multiple vmail users. See that ls -ln shows the uids to be
actually 5000 and not something else.
b) SELinux or something similar is preventing the access to the files.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20091223/466c452e/attachment.bin
More information about the dovecot
mailing list