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

Attachment: signature.asc
Description: Digital signature

Reply via email to