I have the problem that folders for the mail domain are not created correctly or not at all. Folders such as .drft, .send etc. are not created under / var / vmail / domain /, and they were all assigned to vmail only, then given chmod 750. I've already moved vmail to the home folder, and chmod, chown root: dovecot / var / run / dovecot
chmod 755 / var / run / dovecot executed, but directories for the mail domain are not created.
Log: Sep 25 11:19:41 imap(postmaster@xxxxxxx): Error: Namespace '': mkdir(/var/vmail/xxxxxxxxx/postmaster) failed: Permission denied (euid=1001(sxsxx) egid=12(mail) missing +w perm: /var/vmail/xxxxxxxx, dir owned by 101:12 mode=0755)
all DNS entries are set correctly
How can I achieve that these are set correctly during installation and the right ones are also set appropriately.
Thanks for the support