2.2.18 initial setup permissions problem
Steffen Kaiser
skdovecot at smail.inf.fh-brs.de
Tue Oct 27 07:26:28 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 26 Oct 2015, Forrest wrote:
> On 10/26/15 5:30 AM, Steffen Kaiser wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On Fri, 23 Oct 2015, Forrest wrote:
>>
>>> 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)
>> ^^^^^^^
>>
>> you have configured your user or Dovecot to use uid 596, but the user's
>> Maildir is owned by uid 500 .
>>
>>> I can't seem to figure this one out. Can someone point me in the right
>>> direction.
>>
>
> Interesting, in our setup at work, the Maildir is owned by the user, not
> dovecot. So why does that work and the above does not? Is it a setting?
At work your userdb is configured to return system users:
http://wiki2.dovecot.org/SystemUsers by returning uid/gid per user, see
http://wiki2.dovecot.org/UserDatabase
> I can grep through the configs -- just not sure what to look for here. I
> didn't see anything in the dovecot.conf, though.
At home you seem to have a static global mail_uid/_gid or static userdb or
do not return no uid/gid per user.
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEVAwUBVi8nJHz1H7kL/d9rAQJPJQgAvTeoq707orJt68D0hkSGlx4DCePLPR10
KRaIfcZRGkU1G7ILkAn8s3oH6NPwUc8GoG80JYWLEu9pWbOlLDjRYeie4WaSvdhG
hfuQabSBHpFD/otdxi+qSM3wBXfMP8BYNWrtjJ7HG06sbnTDBMo+pZiQizkLMnj0
lBgGk4FDsh1jeMQuDyeE3xNTxvHmSdUwDNhmeDgti6IuyEx6iU8O3MjwTQVj/GMK
hdtqDnfIStfp1Qgou6j48t3Nl/OvRmskJmMNjRSrC0EMUN/IJq+waV3sxGTgxlFw
6kRksx3zPt7pIaUpI3lFIZVWiR2HeDrsT9OdlgxS6lqh2vVXe14tdQ==
=f78e
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list