Thunderbird Auto Config

From SME Server
Revision as of 16:46, 19 December 2013 by Jader (talk | contribs) (Config file sample: on SME servers section created)


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 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:

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="">
    <displayName>Linuxfacil Ltda</displayName>
    <incomingServer type="imap">
   <outgoingServer type="smtp">
   <documentation url="">
     <descr lang="pt-br">Págna de configuracoes Generica</descr>
     <descr lang="en">Generic settings page</descr>
   <documentation url="">
     <descr lang="pt-br">Configuracoes do Thunderbird ESR para IMAP</descr>
     <descr lang="en">Thunderbird ESR IMAP settings</descr>

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

On SME servers

I have configurated the smtp and imap on SME server using same hostname:

So I create a new directory on Primary site. See below:

[root@rinoceronte ~]# ls -la /home/e-smith/files/ibays/Primary/html/mail/
total 12
drwxr-sr-x 2 root  shared 4096 Mar  2  2013 .
drwxr-s--- 4 admin shared 4096 Nov 18 23:36 ..
-rw-r--r-- 2 root  shared 1339 Mar  2  2013 config-v1.1.xml

Create a file named config-v1.1.xml (you cannot change the name!) and use the config sample above (replacing all "" with your own domain) as content.

You can create file using VI or any other text editor you know how to use!

The permissions must include READ to everyone, nothing more is required!