2.2.18 initial setup permissions problem

Forrest those.lists at gmail.com
Fri Oct 23 18:43:17 UTC 2015


I'm using Dovecot 2.2.18, compiled from source, on CentOS 6.

I'm running into a permissions problem with my first rollout of Dovecot 
which has to do with directory permissions:

Oct 23 14:34:51 mail dovecot: imap(username): Error: 
stat(/home/username/Maildir/tmp) failed: Permission denied 
(euid=596(<unknown>) egid=97(dovecot) missing +x perm: 
/home/username/Maildir, dir owned by 500:500 mode=0700)

This being setup with the Dovecot wiki instructions.  I may have 
misunderstood an initial setting.

If I change permissions to my personal Maildir directory struct to be 
dovecot:dovecot it works fine, but this seems unusual.   Dovecot is 
running as root:

root     19176  0.0  0.1   2876  1096 ?        Ss   14:28   0:00 /usr/local/sbin/dovecot

dovecot  19178  0.0  0.0   2780   996 ?        S    14:28   0:00 dovecot/anvil

root     19179  0.0  0.1   2912  1144 ?        S    14:28   0:00 dovecot/log

root     19225  0.0  0.1   3544  1776 ?        S    14:38   0:00 dovecot/config

dovecot  19226  0.0  0.1   3332  1408 ?        S    14:38   0:00 dovecot/auth

root     19227  0.0  0.0   2776   916 ?        S    14:38   0:00 dovecot/ssl-params


I can't seem to figure this one out.  Can someone point me in the right 
direction.


Thanks.




More information about the dovecot mailing list