Our Thunderbird mail clients successfully pick up their IMAP settings for their accounts on (Mountain Lion) OS X Server automatically. They just supply their email addresses and Open Directory passwords at mail account setup and Thunderbird does the rest for the client user.
At autoconfig.myexample.com we simply supply a small XML file containing IMAP and SMTP server names and which connection protocols are offered.
Mac Mail does not use this convention though. So the question is: how does the Mac Mail client do autoconfigure - if at all?
I see many discussion threads concerning Mac Mail "autodetect"ing MS Exchange account settings but none answering the question re Mac Mail to IMAP accounts on OS X Server.
If Mac Mail can make it easy for Exchange users I assume that it can also make it easy to get their mail from OS X Server? But how?