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@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.