5 Jul
2007
5 Jul
'07
10:50 a.m.
On Thu, 2007-07-05 at 14:13 +0000, Bryan Wright wrote:
and each user's mail directory has permissions like this:
drwx------ 2 uid gid 4096 Jul 5 09:26 /home/uid/mail
But when I try to check a user's mail using an imap client, I see the following error:
Jul 5 09:59:49 imap dovecot: IMAP(uid): mkdir_parents(/home/uid/mail/.imap/ INBOX) failed: Permission denied .. Jul 5 09:25:49 imap dovecot: IMAP(uid): open() failed with mbox file /var/spool/mail/uid: Permission denied
Sounds like your userdb is returning wrong uid. Set mail_debug=yes to see what Dovecot is really using.