Autodiscover.Zone

Automatic configuration of email clients such as Outlook and Thunderbird.

How to use

In order to use Autodiscover.Zone, you must publish specific DNS records instructing Autodiscover.Zone how to configure the email client requesting configuration settings.

Add the DNS records below to your zone file, ensuring you change yourmailserver.com to match the mail server that will be used. Most of the time this will be mail.yourdomain.com but could be something else entirely.

DNS Records

autoconfig              600     IN      CNAME   autodiscover.zone.

_autodiscover._tcp      600     IN      SRV     0 0 443 autodiscover.zone.
_submission._tcp        600     IN      SRV     0 1 587 yourmailserver.com.
_imap._tcp              600     IN      SRV     0 0 0 .
_imaps._tcp             600     IN      SRV     0 1 993 yourmailserver.com.
_pop3._tcp              600     IN      SRV     10 0 0 .
_pop3s._tcp             600     IN      SRV     10 1 993 yourmailserver.com.

DirectAdmin Configuration

To enable autodiscovery for your DirectAdmin hosted domains, you need to create or update the following two conf files. Only new domains will have these records in their zone files, as existing zones are not updated with these changes.

In /usr/local/directadmin/data/templates/custom/dns_cname.conf place the following:

autoconfig=autodiscover.zone.

In /usr/local/directadmin/data/templates/custom/dns_srv.conf place the following:

_autodiscover._tcp=0 0 443 autodiscover.zone.
_submission._tcp=0 1 587 |HOSTNAME|.
_imap._tcp=0 0 0 .
_imaps._tcp=0 1 993 |HOSTNAME|.
_pop3._tcp=10 0 0 .
_pop3s._tcp=10 1 993 |HOSTNAME|.

Caveats

It's assumed that the username used to access the email server is the users email address. This should be fine for most deployments.

This is a free service, with no warranty provided or implied. Use at your own risk.