[Dovecot] Permissions errors while reading messages via IMAP

Timo Sirainen tss at iki.fi
Wed Dec 23 23:03:39 EET 2009


On Wed, 2009-12-23 at 12:18 -0800, Geoff Sweet wrote:
> 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)
..
> There is some permission issue that allows dovecot to deliver email to the /home/vmail location (I dislike this location and want to change it) via the dovecot LDA process, but then not be able to read it when accessed via IMAP.  I'm very confused lol. 

Apparently you want the emails to be owned by vmail:vmail, but you're
running deliver as something else than vmail and the resulting files
won't be owned by vmail:vmail..

So you're calling deliver wrong from Postfix. Your master.cf probably
has dovecot pipe, it should have user=vmail:vmail.

-------------- 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/d7b6125d/attachment.bin 


More information about the dovecot mailing list