Mozilla autoconfig
Demo · format-valid de-facto
/.well-known/autoconfig/mail/config-v1.1.xml
Standard: Mozilla autoconfig
The XML file that lets mail clients configure an account with zero user input.
What it is
Thunderbird (and other clients) try to auto-configure a mail account by fetching a config-v1.1.xml describing the domain's IMAP/POP3/SMTP servers, ports, SSL and auth. It can be served by the mail domain at /.well-known/autoconfig/mail/config-v1.1.xml (or autoconfig.<domain>).
The threat it addresses
Manual mail setup means users entering ports, encryption and auth settings — error-prone, and it pushes users toward insecure defaults. Auto-configuration turns an email address into a complete setup.
How it works
- The client fetches the well-known XML for the email address's domain.
- The XML declares emailProvider with incomingServer/outgoingServer blocks: hostname, port, socketType (SSL/STARTTLS), authentication, username pattern.
- If the file is absent the client falls back to DNS guessing — so publishing it is a correctness improvement.
Honesty notes
- Demo: illustrative mail servers for the demo domain — no mail runs here.
Try it
Live demo
Format-valid demo config (no real mail servers)
<?xml version="1.0"?>
<clientConfig version="1.1">
<emailProvider id="well-known.page">
<domain>well-known.page</domain>
<displayName>Well-Known Showcase (demo mail domain)</displayName>
<displayShortName>Showcase</displayShortName>
<incomingServer type="imap">
<hostname>mail.well-known.page</hostname>
<port>993</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<outgoingServer type="smtp">
<hostname>mail.well-known.page</hostname>
<port>465</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
</emailProvider>
</clientConfig>