we are running the latest version of Webmin (1.780) and Virtualmin.
We are using postfix to deliver the mail via “mailbox_transport = lmtp:unix:private/dovecot-lmtp” to Dovecot.
Dovecot is configured (also visible in the Webmin Dovecot module) with ~/Maildir as home directory and the mail system flow is fine and works for all existing users.
But if we try to create new users, Virtualmin tries to create the mail directory at /var/mail/username and not at /var/mail/username/Maildir.
How does Virtualmin determine the mail directory of the user and which format (mbox vs. maildir) to use?