Configuration problem for secure virtual server
Karsten Malcher
debian at home.decotrain.de
Thu Dec 15 17:29:28 UTC 2016
Am 15.12.2016 um 18:22 schrieb Eduardo M KALINOWSKI:
> On Qui, 15 Dez 2016, Karsten Malcher wrote:
>> Hello,
>>
>> mail_uid = Debian-exim
> This will be important later
It does not run when i comment this out.
Dovecot was running before i moved the mail-path from a non encrypted one to the encrypted path.
>>
>> Dec 15 18:03:25 pop3(karsten at server): Error: user karsten at server: Initialization failed: Initializing mail storage from
>> mail_location setting failed: stat(/mountpoint/mail/server/karsten) failed: Permission denied (euid=107(Debian-exim)
>> egid=8(mail) missing +x perm: /mnt, we're not in group 9(crypt), dir owned by 0:9 mode=0770)
>> Dec 15 18:03:25 pop3(karsten at server): Error: Invalid user settings. Refer to server log for more information.
>>
>> But dovecot is definitely in the group crypt!
>
> dovecot may be, but the process is not trying to access as user dovecot, but as Debian-exim (as shown in the log). And
> this happens because of the mail_uid line in your config.
>
Yes - the error message say it - but Debian-exim is in the group crypt too.
Dovecot is rejecting the path of the mountpoint!
Why?
More information about the dovecot
mailing list