Thunderbird Auto Config

From SME Server
Revision as of 15:40, 19 December 2013 by Jader (talk | contribs) (Overview: better formatting)

Jump to: navigation, search

Overview

This method allow an easy config for Thunderbird Client.
It's same method used by ISP: you just need to supply your name, password and e-mail.

It works by create a file in a very specific place: in a "mail" directory in same URL your domain is.
So if you have a www.mydomain.com site, create a mail directory there and publish this file under name config-v1.1.xml.
Verify you can read this file using a browser and the url: www.mydomain.com/mail/config-v1.1.xml.

Config file sample


This config below allow ONLY use of IMAP and SMTPs for all user using the autoconfig.


<?xml version="1.0" encoding="UTF-8"?>
<clientConfig version="1.1">
  <emailProvider id="linuxfacil.net">
    <domain>linuxfacil.net</domain>
    <displayName>Linuxfacil Ltda</displayName>
    <displayShortName>Linuxfacil</displayShortName>
    <incomingServer type="imap">
      <hostname>mail.linuxfacil.net</hostname>
      <port>993</port>
      <socketType>SSL</socketType>
      <authentication>password-cleartext</authentication>
      <username>%EMAILLOCALPART%</username>    
    </incomingServer>
   <outgoingServer type="smtp">
     <hostname>mail.linuxfacil.net</hostname>
     <port>465</port>
     <socketType>SSL</socketType>
     <authentication>password-cleartext</authentication>
     <username>%EMAILLOCALPART%</username>
   </outgoingServer>
   <documentation url="http://kundenservice.freenet.de/hilfe/email/programme/config/index.html">
     <descr lang="pt-br">Págna de configuracoes Generica</descr>
     <descr lang="en">Generic settings page</descr>
   </documentation>
   <documentation url="http://kundenservice.freenet.de/hilfe/email/programme/config/thunderbird/imap-thunderbird/imap/index.html">
     <descr lang="pt-br">Configuracoes do Thunderbird ESR para IMAP</descr>
     <descr lang="en">Thunderbird ESR IMAP settings</descr>
   </documentation>
 </emailProvider>
</clientConfig>

In above sample you need to change all mail.linuxfacil.net strings with your own server.
You should change all linuxfacil.net references to your own domain.

I have configurated the smtp and imap on SME server using same hostname: mail.linuxfacil.net