autoconfig applying
Hi!
I have two domains: domain1.com and domain2.com.
Domain1.com binds to directory at host1, but mail server for domain1.com locates at host2 with domain2.com.
I place config-v1.1 for domain1.com at https:// autoconfig.domain2.com/mail/
Then I create CNAME DNS record autoconfig.domain2.com for autoconfig.domain1.com.
TB can't find settings...
What is wrong? What is propper way to set up config file in my case?
Всички отговори (4)
I would guess if your email address contains @domain1.com then you should have the autoconfig at https:// autoconfig.domain1.com/mail/
Thunderbird basically learns where the domain is from the email address, so it is not going to be looking on a server with a different domain for the auto config. At least that is what I remember from about 10 years ago.
But if I do not have opportunity to place *.xml exactly at https://autoconfig.domain1.com/mail/ ?
have you seen the information here https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfiguration
Of course, but I miss something...
1) I create CNAME record:
autoconfig.domain1.com CNAME autoconfig.domain2.com
2) I have apache2 in docker container on host2 with connection over https. So, I create then mail directory with config-v1.1.xml in apache root.
3) XML-file is successfuly obtained in browser but TB can't find settings...
P.S. I also tried to use hard redirect by .htaccess rule: RedirectMatch ^/$ /mail/ but nothing.