I found it in /etc/dovecot/dovecot.conf at the end of file
...
# A config file can also tried to be included without giving an error if
# it's not found:
!include_try local.conf
default_mail_env = maildir:~/Maildir
disable_plaintext_auth = no
local_name xxxxx {
ssl_server_cert_file = /etc/ssl/virtualmin/176398922446871/ssl.combined
ssl_server_key_file = /etc/ssl/virtualmin/176398922446871/ssl.key
}
I don’t think that mail_location is meant to be in “dovecot.conf” at all. In the “conf.d” directory, file “10-mail.conf” has this block:
# Debian defaults
# Note that upstream considers mbox deprecated and strongly recommends
# against its use in production environments. See further information
# at
# https://doc.dovecot.org/2.4.1/core/config/mailbox/formats/mbox.html
mail_driver = mbox
mail_home = /home/%{user | username}
mail_path = %{home}/mail
mail_inbox_path = /var/mail/%{user}
I had to comment out those 4 lines and everything just worked.
There is no default_mail_env or mail_location in any of my Dovecot configs. Particularly in “dovecot.conf” it goes !include_try local.conf then immediately into local_name directives.
It’s coming from the current version of Virtualmin Config, it’s expected.
To be clear, this isn’t an issue in the Virtualmin RC 8.0.0 install script on Debian 13.
And, this is expected to happen with the current installer, but once Virtualmin 8 is released, it will work out of the box. If you really want a Debian 13 system right now, use the RC install script.
Can I apply a patch (e.g. change files) to fix it without removing everything and installing Virtualmin again?
If not, if I use the RC install script will I be in a RC branch for future updates? I mean would it be possible to switch to Virtualmin 8 once it is released?