<div dir="ltr">Hi Michael,<div><br></div><div>I don't have apparmour installed in my system.</div><div><br></div><div>Mura Andrei</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 6, 2020 at 10:11 PM Michael Hirmke <<a href="mailto:mh@mike.franken.de">mh@mike.franken.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Andrei,<br>
<br>
>Hi,<br>
<br>
>Dovecot version 2.2.36<br>
>In log files I get this error:<br>
>dovecot: imap(test): Namespace '': mkdir(/home/mail/domain/test/Maildir)<br>
>failed: Permission denied (euid=1005(vmail) egid=1005(vmail) missing +w<br>
>perm: /home/mail/domain, UNIX perms appear ok (ACL/MAC wrong?))<br>
<br>
>My authentication configuration is this:<br>
>passdb {<br>
> driver = passwd-file<br>
> args = username_format=%n /etc/dovecot/users<br>
>}<br>
<br>
>userdb {<br>
> driver = static<br>
> args = uid=vmail gid=vmail home=/home/mail/domain/%n username_format=%n<br>
>/etc/dovecot/users<br>
<br>
>}<br>
<br>
>/home/mail/domain/test directory is owned by vmail user.<br>
>How to fix this?<br>
<br>
do you have apparmor up and running?<br>
If so, you have to modify its config for dovecot.<br>
<br>
>Mura Andrei<br>
<br>
Bye.<br>
Michael.<br>
-- <br>
Michael Hirmke<br>
</blockquote></div>