When enabling the automatic configuration URL (found under 'Virtualmin - Email Settings - Mail Client Configuration')
The text reads "This page allows you to enable the automatic configuration URL /mail/config-v1.1.xml for all Virtual servers…"
While enabling this does:
- add an autoconfig.cgi in cgi-bin folder inside the home folder.
- add ScriptAlias'es to this file from /AutoDiscover/AutoDiscover.xml, /Autodiscover/Autodiscover.xml and /autodiscover/autodiscover.xml
it does NOT add a ScriptAlias /mail/config-v1.1.xml
The autoconfig when called directly with the right parameters, as well a the three autodiscover aliase work propperly, but as the /mail alias is not added, Thunderbird (and maybe other clients) do not find the configuration.
Moreover on a newly install Server on Ubuntu 16.04 it seems ass if /.well-known/autoconfig/mail/config-v1.1.xml is not rewritten as well
Seems ass something might be fixed.
I got two lines on a new install. I will have to check if everything works
Redirect /mail/config-v1.1.xml /cgi-bin/autoconfig.cgi
Redirect /.well-known/autoconfig/mail/config-v1.1.xml /cgi-bin/autoconfig.cgi
Did this work and how can I check on my VPS?
Steve Veltkamp
You can check it in virtualmin under Services -> Configure (SSL) Website -> Edit Directives There should be two 'Redirect'-lines somewhere in the config. As well as three 'ScriptAlias'-lines containing 'autodiscover' with different upper/lower case writing.
To check if they are applied you may access those autodiscover urls via a web-browser: http://yourdomain.tld/Autodiscover/Autodiscover.xml?emailaddress=yourema...
This should return an xml file containing the email settings for the given email address (server, protocol, ports, loginname …) IT DOES NOT include the password ;-)
I am however not sure if these settings are always properly applied …