iOS not calling /email/mobileconfig.xml when adding mail account despite having correct SRV record
Closedopened 2 years ago by DoobleD · 3 comments
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Thank you for that valuable work!
I added the following SRV record to my domain:
I made sure the record has propagated using https://www.whatsmydns.net/#SRV/.
My web server listens to autodiscover.mydomain.com and I implemented
/email/mobileconfig.xml. I can indeed call
https://email@example.com a browser and it does get the XML configuration file.
However when I add an email account @mydomain.com in iOS, my web server never receives any request (to
I tried adding the mail account from Settings > Mail > Add account > Other > Add Mail Account. And simply from (without having any prior account configured) Mail > Other. Tested with iOS 14 and iOS 15.
Any idea? Is there another required DNS record for iOS?
I'm so surprised that anyone is using this tool besides myself.
Sorry for the lack of documentation on this endpoint. If I remember correctly, I believe this tool does only allow you to download a profile configuration file.
Basically, the Apple Mail client doesn't send any request to the server. You need to give to your users a link to the profile file with their email, e.g.
Apple will recognize the profile file and ask the user to add it in its system configuration. Once it's added, the mailbox will be automatically added to the Apple Mail client without further configuration.
If there are other autoconfiguration mechanisms for Apple Mail, please let me know and I may give it a try at implementing it.
Awesome, thanks you so much @neil, it makes sense now. :)
Thanks for the feedback :)
Closing now, if you don't see any issue.