[Dovecot] Permission errors when creating/reading files in users' mail directories

Timo Sirainen tss at iki.fi
Thu Jul 5 17:50:54 EEST 2007


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070705/70e6045f/attachment.bin 


More information about the dovecot mailing list