How does Webmin/Virtualmin populate the variables for the auto-mail configuration?
I wasn't sure if it was just me, or my configuration, but this issue has now been verified against another user on the forums (so I thought I would post it here).
Basically, auto-mail configuration does not correctly populate variables for SMTP.
I have configured Sendmail to used SSL/TLS, and STARTTLS, but it does not populate the XML with either of these values. it remains stuck to port 25. $SMTP_TYPE remains: plain, and $SMTP_ENC stays as password-cleartext.
In my opinion, it does not matter whether it defaults to STARTTLS or SSL/TLS, but it should be able to detect and use atleast one of these encryption methods.
Moreover, how does it decide on the $IMAP_HOST/$SMTP_HOST? by MX Record?
This is as a reslult of my setup, but the issue is that I am using an overloaded DNS A record for my MX and SMTP (for loadbalancing and failover). and until I setup a POP3/IMAP proxy... I am stuck using a seperate address for IMAP. which means the hostname is not configured correctly (using auto-config) either.
I can manipulate the template under Server Templates, but this might, or has already tripped up some people.
Any insight into this?