Permissions with mailman

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Tue Jul 15 09:40:11 UTC 2014


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

On Fri, 4 Jul 2014, Niklas Lemcke - 林樂寬 wrote:
> On Thu, 03 Jul 2014 12:49:14 -0700 Robert L Mathews <lists at tigertech.com> wrote:
>> On 7/3/14, 11:03 AM, Niklas Lemcke - 林樂寬 wrote:
>>
>>> Jul  2 15:29:39 blade01 dovecot: lda(list): Error: user list:
>>> Initialization failed: Initializing mail storage from mail_location
>>> setting failed: mkdir(/var/mail/vmail//list/mail) failed: Permission
>>> denied (euid=38(list) egid=38(list)
>>
>>> Now since dovecot is running as user vmail
>>
>> According to the error, it's not running as user vmail for this
>> delivery. It's running as uid/gid 38, "list".
>>
>> Look at how "lda" gets executed for this delivery to see why it's using
>> uid 38.
>>
>
> I'm not sure why it's using uid 38, but even so, the user list is in the
> group vmail and thus should be able to write to /var/mail/vmail.
> However it reports it's not in the group.
>
> => confused

is it possible that Dovecot cannot read /etc/group ?
Maybe you can strace the Dovecot LDA and see something in the trace.

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

iQEVAwUBU8T2+3z1H7kL/d9rAQLMTAf/ZFovEOpyXMPqlOJxWR4Sgrm+grv0hhZV
+pFnerDeDxKJxWGJ5LcfQaNWGQTMR1L3Hu7wiZ4Pk79tmaL0J3QRmBDCcXIh63Uu
mLFnzJcDx9wtZ5lVzOELabrHEedmLScAEaqXmuz30hVdHM/uL/h5+RU1FmOQSvjB
HKLs1HiGTkUaqazVY4lMM7Ig1MurqzWzOnko0VwnP5yVYSmQyO+V02T1TV7gulsB
lOXR+cKHxcRm6IXnGTEKhm2Q4JFi+45Ny/RvnHb3nUsls3n2YZ6TPHFA2P9WrCEn
+kOoKGCzXIqW3tz8GY4zemxWsF+iasoaux2OuQzAsHsTEHcOYcdasw==
=fogh
-----END PGP SIGNATURE-----


More information about the dovecot mailing list