[Dovecot] missing +r perm:L

Thomas Leuxner tlx at leuxner.net
Fri Jul 8 11:12:47 EEST 2011


On Thu, Jul 07, 2011 at 02:52:55PM -0500, Max Dunlap wrote:
> The permissions are:
> -rw------- 1 root root 7609 2011-07-05
> 16:06 /home/dlambert/Maildir/cur/msg.COmK:2,ST
> 

What's so difficult about this?

[ Log excerpt ]
Jul  7 13:44:18 mail-breakaway dovecot: IMAP(dlambert): open(/home/dlambert/Maildir/cur/msg.COmK:2,ST) failed: Permission denied
(euid=1002(dlambert) egid=1002(dlambert) missing +r perm: /home/dlambert/Maildir/cur/msg.COmK:2,ST)

[ Conf excerpt ]
auth default:
  passdb:
    driver: pam
  userdb:
    driver: passwd

You are accessing the maildir structure using UID 1002 but the directory
is owned by UID 1. Needs to be fixed on either side...

Please visit these links and have a look at the quote below:

http://wiki.dovecot.org/PasswordDatabase/PAM
http://wiki.dovecot.org/AuthDatabase/Passwd

[...] This uses the UID and GID fields from passwd, but home directory
is overridden. Also the default mail_location setting is overridden. 

Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20110708/2a0a8115/attachment.bin>


More information about the dovecot mailing list