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@server): Error: user karsten@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@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?