Auto-configuration de Thunderbird
Thunderbird, lors de la configuration d'un nouveau compte mail, tente de télécharger un fichier d'auto-configuration à l'adresse :
http://autoconfig.domaine.tld/mail/config-v1.1.xml
Ce fichier contient le paramétrage du serveur entrant et sortant principalement.
Exemple
<?xml version="1.0" encoding="UTF-8"?>
<clientConfig version="1.1">
<emailProvider id="caron-immobilier.com">
<domain>domaine.tld</domain>
<displayName>Mail Domaine.tld</displayName>
<displayShortName>Domaine</displayShortName>
<incomingServer type="imap">
<hostname>imap.domaine.tld</hostname>
<port>993</port>
<socketType>SSL</socketType>
<username>%EMAILLOCALPART%</username>
<authentication>password-cleartext</authentication>
</incomingServer>
<outgoingServer type="smtp">
<hostname>smtp.domaine.tld</hostname>
<port>25</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILLOCALPART%</username>
</outgoingServer>
</emailProvider>
</clientConfig>
Variables de remplacement :
- %EMAILADDRESS% : l'adresse mail complète
- %EMAILLOCALPART% : tout ce qu'il y a avant le @ dans l'adresse mail
- %EMAILDOMAIN% : tout ce qu'il y a après le @ dans l'adresse mail
Type d'authentification :
- password-cleartext (ou plain) : mot de passe en claire
- password-encrypted (ou secure) : mot de passe encrypté (CRAM-MD5 ou DIGEST-MD5)
- NTLM : NTLM, NTLMv2 ou version supérieur
- GSSAPI : Kerberos / GSSAPI single-signon mechanism
Remarque : Thunderbird 3.0 accepte uniquement “plain” and “secure”. Il ignora toute mauvaise valeur sinon.
Lien : https://wiki.mozilla.org/Thunderbird:Autoconfiguration:ConfigFileFormat