Email autoconfig should also rewrite `/.well-known/autoconfig/mail/config-v1.1.xml`

The (https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfigu...)[MDN] states that Thunderbird first checks http://autoconfig.example.com/mail/config-v1.1.xml and then http://example.com/.well-known/autoconfig/mail/config-v1.1.xml. Virtualmin adds these entries to the virtual hosts.

ServerAlias autoconfig.example.com
Redirect /mail/config-v1.1.xml /cgi-bin/autoconfig.cgi

If the DNS is not properly set up for the autoconfig-subdomain this will not work. At least as a fallback it'd be nice to also redirect /.well-known/autoconfig/mail/config-v1.1.xml:

Redirect /.well-known/autoconfig/mail/config-v1.1.xml /cgi-bin/autoconfig.cgi
Status: 
Closed (fixed)

Comments

Thanks for pointing this out - I didn't know about this alternate path. The next Virtualmin release will support it.

Status: Active ยป Fixed