[Dovecot] Trying to get Centos5 set up with dovecot

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed Mar 26 06:19:22 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 25 Mar 2014, DCA wrote:

>
> I am trying to set up dovecot to replace an older POP3 server in an existing set up.
> Currently the server uses sendmail to handle incoming mail. users are in /etc/mail and their incoming eMail lands in the /var/mail/username
> in /var/mail the username file is owned by username:mail
>
> I have dovecot configured to create the imap folders in /home/username/mail/
> on existing accounts login attempts fail with errors such as:
> chown /home/username/mail/.imap/INBOX failed: Operation not permitted egid=500(username), group based on /var/mail/username
> mkdir /home/username/mail/imap/INBOX failed: Operation not permitted.
>
> Everything seems to work as expected but only if I add "username" into the "mail" group OR if I have all mailboxes chowned to username:username
> Is there any way to tell dovecot to ignore the group ownership of /var/mail/username and focus instead on using username:username for everything in /home/username ?

Post your doveconf -n and a sample of your account configuration: uid, 
gid, home.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUzJxa3D1/YhP6VMHAQKTBggAvmAGwuv8Ccl4Z92+t7WXQwti9IaiEuJD
vsPo7Y8dyIf4YXKoT+9i2Xyw2HKAE/OTeM4hLmsLOSQFz3tbPBj2/W61e4NvHJNw
MvyFmJ3a1bU5HipPvVShOhlRKWyeQeAv0/Fa2LC5GBKHpZJ17YcLEPaAJq5E9zCc
sVnIgTUjzEWs01/Z8ATlGJ0ba33hzo0JNNDUnU9bMpypgjMuJojez3NQAZYBk4Qp
SYnwIamtlHSm/znPC1k5KjEkwdUNYfgX10ywq34T0fUc93CBZYBNhhh27HiNDuHU
0sMQG7xjcvOdAjPuQ03cEFvqRNxW15Xftsdq0HM5W48JQnmblWv1vg==
=Pf6W
-----END PGP SIGNATURE-----


More information about the dovecot mailing list