SYSTEM INFORMATION | |
---|---|
OS type and version AlmaLinux 8.7 | |
Webmin version 2.001 | |
Virtualmin version 7.3 |
I would like to know where I could find the complete list of variables that may be used in the mail client auto-configuration template. I attempted without success.
When domains use Letsencrypt certificates, if for whatever reason the $SMTP_HOST and $IMAP_HOST variables do not correspond to existing entries in the certificate requested to Letsencrypt, the autoconfiguration will fail.
For example, my webmin/usermin sets these variables respectively to smtp.domain and imap.domain
At the moment, I’m solving the issue manually by adding the smtp.domain and imap.domain as DNS A records, and then in the Letsencrypt tab of the SSL certificate management, by copying the content of the “Domains associated with this server” to “Domains listed here”, then by adding the smtp.domain and imap.domain definitions, and finally by requesting a new SSL certificate.
Since webmin always includes the bare domain name in “Domains associated with this server”, it would be much simpler if the mail client auto-configuration template could be customized by replacing the $SMTP_HOST and $IMAP_HOST variables by something like $HOST or $DOMAIN. This could fix the mail client autoconfiguration issues for all domains without requiring further intervention.