Thunderbird ¶
Thunderbird looks for the settings of alice@example.com in this order:
https://autoconfig.example.com/mail/config-v1.1.xml?emailaddress=alice@example.com, andhttps://example.com/.well-known/autoconfig/mail/config-v1.1.xml;- Mozilla's database of large providers (ISPDB);
- the same, for the domain of the domain's MX server;
- Exchange Autodiscover,
https://autodiscover.example.com/autodiscover/autodiscover.xmland the other Autodiscover URLs; - guessing common host names.
This service answers 1 and 4. The autoconfig format is the one other clients, such as K-9 Mail/Thunderbird for Android, use as well.
What it gets ¶
Every configured server, in the order IMAP, POP3, SMTP, with:
- the host, port and socket type (
SSL,STARTTLSorplain) from the configuration; %EMAILADDRESS%as the user name, which Thunderbird replaces with the address the user entered;password-cleartextas the authentication: the password is sent inside the TLS connection, as SASL PLAIN or LOGIN.
The Autodiscover response, which Thunderbird uses when autoconfig is missing, leads to the same settings: plain password login, STARTTLS on port 587, all configured servers. Before version 2.0 Thunderbird ended up with NTLM authentication and unencrypted SMTP from it, and without POP3.
Checking ¶
curl -s 'https://autoconfig.example.com/mail/config-v1.1.xml?emailaddress=alice@example.com'
The account setup tells whether the settings came from the email provider (autoconfig) or from Exchange Autodiscover. Thunderbird's error console (Ctrl+Shift+J) logs each URL it tried.