Missing permissions

Michael Hirmke mh at mike.franken.de
Mon Apr 6 22:07:00 EEST 2020


Hi Andrei,

>Hi,

>Dovecot version 2.2.36
>In log files I get this error:
>dovecot: imap(test): Namespace '': mkdir(/home/mail/domain/test/Maildir)
>failed: Permission denied (euid=1005(vmail) egid=1005(vmail) missing +w
>perm: /home/mail/domain, UNIX perms appear ok (ACL/MAC wrong?))

>My authentication configuration is this:
>passdb {
>  driver = passwd-file
>  args = username_format=%n /etc/dovecot/users
>}

>userdb {
>  driver = static
>  args = uid=vmail gid=vmail home=/home/mail/domain/%n username_format=%n
>/etc/dovecot/users

>}

>/home/mail/domain/test directory is owned by vmail user.
>How to fix this?

do you have apparmor up and running?
If so, you have to modify its config for dovecot.

>Mura Andrei

Bye.
Michael.
-- 
Michael Hirmke


More information about the dovecot mailing list