Difference between revisions of "Thunderbird"

From ArchWiki
Jump to: navigation, search
(Show tray icon)
(fixed section fragments (interactive))
(Tag: wiki-scripts)
 
(120 intermediate revisions by 39 users not shown)
Line 1: Line 1:
[[Category:Email Client]]
+
[[Category:Email clients]]
 +
[[de:Thunderbird]]
 
[[fr:Thunderbird]]
 
[[fr:Thunderbird]]
 
[[it:Thunderbird]]
 
[[it:Thunderbird]]
{{Article summary start}}
+
[[ja:Thunderbird]]
{{Article summary text|This article discusses the installation and configuration of the e-mail client, Mozilla Thunderbird. It also provides information about several popular add-ons and extensions to the program, including EnigMail, Lightning, and WebMail.}}
+
{{Related articles start}}
{{Article summary heading|Related}}
+
{{Related|Thunderbird/Enigmail}}
{{Article summary wiki|Thunderbird Export URLs}}
+
{{Related|Firefox}}
{{Article summary wiki|Firefox}}
+
{{Related articles end}}
{{Article summary end}}
 
  
'''Mozilla Thunderbird''' is an email, newsgroup, and news feed client designed around simplicity and full-featuredness while avoiding bloat. It supports POP, IMAP, SMTP, S/MIME, and OpenPGP encryption (through the Enigmail extension). Similarly to Firefox, it has a wide variety of extension and addons available for download that add more features.
+
[https://www.thunderbird.net/en-US/ Mozilla Thunderbird] is an open source email, news, and chat client developed by the [https://www.mozilla.org/ Mozilla Foundation].
  
 
== Installation ==
 
== Installation ==
  
[[pacman|Install]] {{Pkg|thunderbird}} from the [[official repositories]].
+
[[Install]] the {{Pkg|thunderbird}} package, with a [https://www.archlinux.org/packages/?q=thunderbird-i18n language pack] if required.
  
There are a number of language packs available if English is not your preferred language. To see a list of available language packs, try:
+
Other versions include:
$ pacman -Ss thunderbird-i18n
 
  
== Extensions ==
+
* {{App | Thunderbird Beta | Cutting edge features with relatively-good stability. | https://www.thunderbird.net/channel/ | {{AUR|thunderbird-beta-bin}}}}
 +
* {{App | Thunderbird Earlybird | Experience the newest innovations as they're developed (equivalent to an alpha and Firefox Aurora releases). | https://www.thunderbird.net/channel/ | {{AUR|thunderbird-earlybird}}}}
 +
* {{App | Thunderbird Nightly | Experience the newest innovations with nightly releases (for those that want to work with breakages). | https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-central/ | {{AUR|thunderbird-nightly}}}}
 +
 
 +
A version overview, both past and future, can be read on [[MozillaWiki:Releases]].
 +
 
 +
== Securing ==
  
=== Encryption with EnigMail ===
+
=== Considerations ===
  
==== Installation ====
+
Under some circumstances Thunderbird may send your system's (internal) IP address as reply to HELO/ELHO requesting SMTP servers. If you have concerns, please read [http://kb.mozillazine.org/Replace_IP_address_with_name_in_headers this] article. You might change this for Firefox, too.
  
===== Via addons.mozilla.org =====
+
If you want to hide Thunderbird for sending your system's [https://developer.mozilla.org/en-US/docs/Web/HTTP/Gecko_user_agent_string_reference#Linux User Agent] string,
 +
create a new empty string entry {{ic|general.useragent.override}} in the [[#Config Editor]].
  
{{Note|
+
While Thunderbird disables email images by default, it enables HTML rendering which may expose IP address and location. Choose ''View > Message Body As > Plain Text'' to disable this.
* This method won't work for x86_64, see [[#Via AUR]].
 
* The section below that points you to the static builds seems to work fine for x86_x64.  The aur is out of date (07/25/12).  You have to use the nightly builds though because arch is using v14 of thunderbird. }}
 
  
The first step to setting up email encryption is to download the GNU Privacy Guard (GnuPG). GnuPG is required by pacman, which is a part of 'base' system, so you do not have to install them manually.
+
JavaScript is disabled for message content but not RSS news feeds. To disable JavaScript for RSS set {{ic|javascript.enabled}} to false in the [[#Config Editor]].
  
EnigMail can be downloaded from [https://addons.mozilla.org/en-US/thunderbird/addon/71 here], at Mozilla's addon database. Make sure that it is installed as a Thunderbird addon and isn't automatically interpreted to be a Firefox addon. This can be done by going to Tools -> Add-ons and clicking Install, then selecting the XPI addon package. Congratulations, EnigMail is now installed. You should now restart Thunderbird.
+
== Extensions ==
  
===== Via enigmail.mozdev.org =====
+
* {{App|[[Thunderbird/Enigmail|Enigmail]]|Extension for writing and receiving email signed and/or encrypted with the OpenPGP standard.|https://www.enigmail.net|{{Pkg|thunderbird-extension-enigmail}}, {{AUR|thunderbird-enigmail-git}}}}
 +
* {{App|TorBirdy|Extension that configures Thunderbird to make connections over the [[Tor]] anonymity network|[https://addons.mozilla.org/thunderbird/addon/torbirdy/ TorBirdy AMO]|}}
 +
* {{App|FireTray|Adds a customizable system tray icon for Thunderbird|[https://addons.mozilla.org/thunderbird/addon/firetray/ FireTray AMO]|}}
 +
* {{App|[[Wikipedia:Lightning_(software)|Lightning]]|A calendar extension that brings [[Wikipedia:Mozilla Sunbird|Sunbird]]'s functionality to Thunderbird, including CalDAV support. Lightning now ships with Thunderbird, but due to differing release schedules it may have issues in Thunderbird testing releases.  See [https://support.mozilla.org/en-US/questions/1211583 Mozilla support forum post].  Also see [https://developer.mozilla.org/en-US/docs/Mozilla/Calendar/Calendar_Versions Lightning Release Schedule].|https://www.thunderbird.net/en-US/calendar/|}}
 +
* {{App|SOGo Connector| Lets you sync address books via CardDAV|https://sogo.nu/download.html#/frontends|{{AUR|thunderbird-sogo-connector-bin}}}}
 +
* {{App|Cardbook|A new addressbook for Thunderbird based on the CARDDav and VCARD standards.|[https://addons.mozilla.org/thunderbird/addon/cardbook/ Cardbook AMO]|}}
  
{{Note| As of 07/25/12 this worked.  It is nightly build though.  Who knows if it will work tommorow?!}}
+
== Tips and tricks ==
  
EnigMail addons that works for x86_64 can be downloaded from [http://enigmail.mozdev.org/download/download-static.php.html this] page. Select the Arch build of the addon and follow the instructions in the previous section to install.
+
=== Config Editor ===
  
===== Via AUR =====
+
Thunderbird can be extensively configured in ''Edit > Preferences > Advanced > General > Config Editor''.
  
There is an [[AUR]] package: {{AUR|enigmail}}.
+
=== Setting the default browser ===
  
===== Issues with the x86_64 version of enigmail =====
+
{{Note|Since version 24 the {{ic|network.protocol-handler.app.*}} keys have no effect and will not be able to set the default browser.}}
  
It is possible that Thunderbird (Lanikai) hasn't got the same build-type (Error: Linux_x86-gcc3) as the enigmail (x86_64) and won't get installed. Downloading Thunderbird in the i686 version an installing enigmail by the Add-On application works fine.
+
Thunderbird uses the default browser as defined by the [[XDG MIME Applications]]. This is commonly modified by the Gnome Control Center (''Gnome Control Center > Details > Default Applications > Web'') (available in: {{Pkg|gnome-control-center}}).
  
If you download Thunderbird manually, remember copying the files to {{ic|/opt}} and creating a directory for Thunderbird. To still be able start Thunderbird from the "default location" create a file that points at {{ic|/opt/thunderbird/thunderbird}} for example.
+
This can be overridden in the [[#Config Editor]] by searching for {{ic|network.protocol-handler.warn-external}}.
  
Create a symlink to make it available in $PATH:
+
If the following three are all set to '''false''' (default), turn them to '''true''', and Thunderbird will ask you when clicking on links which application to use (remember to also check ''"Remember my choice for .. links"'').
  
  # ln -s /usr/local/bin/thunderbird /opt/thunderbird/thunderbird
+
  network.protocol-handler.warn-external.ftp
 +
network.protocol-handler.warn-external.http
 +
network.protocol-handler.warn-external.https
  
Finish with setting the right permissions and "updating" your shell.
+
=== Plain Text mode and font uniformity ===
  
# chmod 755 /usr/local/bin/thunderbird
+
Plain Text mode lets you view all your emails without HTML rendering and is available in ''View > Message Body As''. This defaults to the [[Wikipedia:Monospace_(Unicode)|Monospace]] font but the size is still inherited from original system fontconfig settings. The following example will overwrite this with Ubuntu Mono of 10 pixels (available in: {{Pkg|ttf-ubuntu-font-family}}).
  
==== Creating a keypair ====
+
Remember to run {{ic|fc-cache -fv}} to update system font cache. See [[Font configuration]] for more information.
  
A keypair can be created by opening Thunderbird and finding the 'OpenPGP' menu and clicking 'Setup Wizard'. The wizard will now help you create your keypair. All of the options are fairly self-explanatory and are not discussed in this article.
+
{{hc|~/.config/fontconfig/fonts.conf|<nowiki>
 +
<?xml version="1.0"?>
 +
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
 +
<fontconfig>
 +
  <match target="pattern">
 +
    <test qual="any" name="family"><string>monospace</string></test>
 +
    <edit name="family" mode="assign" binding="same"><string>Ubuntu Mono</string></edit>
 +
    <!-- For Thunderbird, lowering default font size to 10 for uniformity -->
 +
    <edit name="pixelsize" mode="assign"><int>10</int></edit>
 +
  </match>
 +
</fontconfig>
 +
</nowiki>}}
  
==== Sharing your public key ====
+
=== Webmail with Thunderbird ===
  
There are a variety of ways to distribute your public key. One way is to upload it to a public keyserver network. Another is to share it with friends who are also using email encryption.
+
:''See upstream Wiki: [http://kb.mozillazine.org/Using_webmail_with_your_email_client Using webmail with your email client].''
  
==== Encrypting your emails ====
+
=== Migrate profile to another system ===
  
First of all, encryption does not always work properly with emails containing HTML. It is best to make all of the encrypted emails you wish to send plaintext. This can be ensured by going to Options in the 'New Email' window and finding Format, then clicking on "Plain-text only".
+
{{Tip|The [https://addons.mozilla.org/thunderbird/addon/importexporttools ImportExportTools] addon offers an option to export and import a profile folder.}}
  
Once you have chosen a recipient and title and have written your message, you can sign and encrypt the message by using the OpenPGP menu. Once that is done, simply click "Send" and your encrypted email has been sent.
+
Before you start with Importing or Exporting tasks, backup your complete {{ic|~/.thunderbird}} profile:
  
==== Decrypting emails ====
+
$ cp -R ~/.thunderbird /to/backup/folder/
  
This article will not go into the details of key signing.
+
With migration you just copy your current Thunderbird profile to another PC or a new Thunderbird installation:
  
Assuming that the email was encrypted properly, just trying to open it should result in a popup window asking you to type in your keyphrase. Do so now, and the email will be decrypted for your viewing pleasure.
+
1. Install Thunderbird on the target PC
  
=== Adding a calendar with Lightning ===
+
2. Start Thunderbird without doing anything and quit it.
  
Lightning is an extension that brings Sunbird's functionality to Thunderbird. This integrates calendar functions into Thunderbird.
+
3. Go to your Backup folder of your old Thunderbird installation
  
=== Plain-text mode and font uniformity ===
+
4. Enter the backup profile folder:
  
Plain-text mode lets you view all your emails without HTML rendering. It can be configured from ''View menu > Message Body As'' option. This defaults to monospace font but font size is still inherited from original system fontconfig settings. You can uniform the default font and font size across all emails by overwriting it fontconfig user configuration. Appending below in user font config file before the closing </fontconfig> tag, will use replace monospace with Ubuntu Mono font with size of 10 pixels (provided you have already installed Ubuntu font family). Then run {{ic|fc-cache -fv}} to update system font cache.
+
$ cd /to/backup/folder/.thunderbird/<oldrandomnumber>.default/
  
{{hc|/etc/fonts/conf.d/50-user.conf|
+
5. Copy its content into the target profile folder {{ic|~/.thunderbird/<newrandomnumber>.default/}}
  <nowiki><match target="pattern">
+
 
    <test qual="any" name="family"><string>monospace</string></test>
+
$ cp -R /to/backup/folder/.thunderbird/<oldrandomnumber>.default/* ~/.thunderbird/<newrandomnumber>.default/
    <edit name="family" mode="assign" binding="same"><string>Ubuntu Mono</string></edit>
 
    <!-- For Thunderbird, lowering default font size to 10 for uniformity -->
 
    <edit name="pixelsize" mode="assign"><int>10</int></edit>
 
  </match></nowiki>
 
}}
 
  
=== Show tray icon ===
+
=== Export + Import ===
  
Install the plugin "firetray".
+
Before you start with Importing or Exporting tasks, backup your complete {{ic|~/.thunderbird}} profile:
  
=== Resizeable tray icon ===
+
$ cp -R ~/.thunderbird /to/backup/folder/
  
There are a number of plugins that let Thunderbird close to tray, but most of them seem to make use of {{ic|/usr/lib/thunderbird-5.0/chrome/icons/default/default16.png}}, and if you are using a big screen and a bigger-than-standard dock (e.g. Avant Window Navigator) the icon could appear too little compared to the other tray icons.
+
If your accounts are broken or you want to join two different Thunderbird installations, you better install one Import and Export AddOn (eg. [https://addons.mozilla.org/thunderbird/addon/importexporttools ImportExportTools AddOn]) to both Thunderbird installations and following this just export and import all your data to the new installation.
  
To make those plugins use the icons from {{ic|/usr/share/icons/hicolor/}} you just have to disable {{ic|/usr/lib/thunderbird-5.0/chrome/icons/default/default16.png}} renaming it for example to {{ic|default16.png.disabled}}, not forgetting to prevent pacman from reinstalling it by adding the following line to {{ic|/etc/pacman.conf}}:
+
=== Changing the default sorting order ===
NoExtract = usr/lib/thunderbird-5.0/chrome/icons/default/default16.png
+
Thunderbird (up to at least 31.4.0-1) sorts mail by date with the oldest on top without any threading. While this can be changed per folder, it is easier to set a sane default instead as described in [https://superuser.com/questions/13518/change-the-default-sorting-order-in-thunderbird this Superuser.com post].
  
=== Links in Thunderbird do NOT open in Firefox ===
+
Set these preferences in the [[#Config Editor]]:
  
If you update from Firefox 3 to Firefox 4, you may no longer be able to click on a link in Thunderbird and have it open in Firefox. Especially if you are using KDE. To correct the problem, issue the following as your user, from the command line:
+
mailnews.default_sort_order = 2 (descending)
 +
mailnews.default_view_flags = 1 (Threaded view)
  
gconftool-2 --type=string -s /desktop/gnome/url-handlers/http/command "firefox %s"
+
=== Maildir support ===
gconftool-2 --type=string -s /desktop/gnome/url-handlers/https/command "firefox %s"
+
The default message store format is mbox. To enable the use of Maildir, see [[MozillaWiki:Thunderbird/Maildir]]. You basically have to set the following preference in the [[#Config Editor]]:
  
Another option is go to the preferences => advanced => general and then select Config Editor.
+
mail.serverDefaultStoreContractID = @mozilla.org/msgstore/maildirstore;1
  
Search for "network.protocol-handler.warn-external"
+
Some limitations up to at least 31.4.0-1: only the "tmp" and "cur" directories are supported. The "new" directory is completely ignored. The read state of mails are stored in a separate ".msf" file, so initially all local mail using Maildir will be marked as unread even when located in the "cur" directory.
  
those following three were false, turn then to true, and then Thunderbird will ask you when clicking on liks which application to use. Select /usr/bin/firefox or /usr/bin/xdg-open and do not forgot to select remember my choice wink
+
=== Spell checking ===
  
network.protocol-handler.warn-external.ftp
+
[[Install]] {{Pkg|hunspell}} and a [https://www.archlinux.org/packages/?q=hunspell+dict hunspell language dictionary] and restart Thunderbird.
network.protocol-handler.warn-external.http
 
network.protocol-handler.warn-external.https
 
  
the mimetype where saved on {{ic|~/.thunderbird/.default/mimeTypes.rdf}}.
+
See the Firefox article for [[Firefox#Firefox does not remember default spell check language|how to set the default spell checking language]].
  
The before mentioned solutions for this problem do not work with the latest software (atm version 24 of both) in Gnome (e.g. version 3.8.4). To make links clicked in Thunderbird mails open in Firefox you have to go to the control panel, in the system category you have to open the details and there click the tab default applications. Here you can set which web software is default when clicking links anywhere. After changing this setting, clicking links in Thunderbird, which then open in Firefox, works.
+
=== Native notifications ===
  
=== Webmail with Thunderbird ===
+
Enable {{ic|mail.biff.use_system_alert}} in the [[#Config Editor]]. This option means that extensions (such as Gnome Integration) are not needed for these newer versions of Thunderbird.
  
Please see upstream wiki: [http://kb.mozillazine.org/Using_webmail_with_your_email_client Using webmail with your email client].
+
=== Theming tweaks ===
  
=== Opening links in Thunderbird with Firefox ===
+
Thunderbird will generally follow GTK theming in use on your system.  However, two tweaks are desirable for full consistency.  These are most beneficial for dark themes.
  
Launch Thunderbird and navigate to the ''Config Editor'' by clicking the following menu items:
+
# To view the body of emails with colors following your theme
 +
## Go to Preferences
 +
## Select the Display tab
 +
## Click the Colors button
 +
## Check {{ic|Use system colors}}
 +
## Set the option for {{ic|Override the colors specified by the content with my selection above}} to {{ic|Always}} or {{ic|Only with High Contrast themes}}
 +
# To view Lightning calendar with colors following your theme
 +
## Go to preferences
 +
## Select the Calendar tab
 +
## Check {{ic|Optimize colors for accessibility}}
  
  Edit > Preferences > Advanced > General > Config Editor.
+
Further customization can be attained by creating and editing a {{ic|userchrome.css}} file in a process similar to Firefox. See [[Firefox/Tweaks#General user interface CSS settings]] and [http://kb.mozillazine.org/UserChrome.css Mozillazine's userchrome page].
  
Right click in the list of parameters, select ''New'' and ''String'' in the menu.
+
== Troubleshooting ==
  
A box appears, asking you for the preference name. Put :
+
=== LDAP Segfault ===
network.protocol-handler.app.http
 
  
Click OK, the box then asks you for the value : set it to :
+
An [https://bugzilla.mozilla.org/show_bug.cgi?id=292127 LDAP clash (Bugzilla#292127)] arises on systems configured to use it to fetch user information. A possible [https://bugzilla.mozilla.org/show_bug.cgi?id=292127#c7 workaround] consists of renaming the conflicting bundled LDAP library.
/usr/bin/firefox
 
  
Do it again for the preference named {{ic|network.protocol-handler.app.https}} .
+
=== Error: Incoming server already exists ===
  
{{Note|Xfce4 users may want to set this preference value to "exo-open", which then will use the browser set up in "Preferred Applications".}}
+
It seems Thunderbird (v24) still has that bug which pops up with "Incoming server already exists" if you want to reinstall a previously deleted account with the same account data afterwards. Unfortunately, if you get this error you can now only clean reinstall Thunderbird:
  
You can now click on URL directly to launch them into Firefox !
+
1. Make a backup of your current profile:
  
==== Setting Firefox to open links in new tabs/new windows ====
+
$ cp -R ~/.thunderbird /to/backup/folder/
  
You can change whether links are opened in new tabs or in new windows by opening up /usr/bin/mozilla-firefox in a text editor.
+
2. Export all you Accounts, Calendar and Feeds via an AddOn like it's written in ''Export section'' of this Wiki.
 +
3. Uninstall your current Thunderbird installation
  
There are two lines near the top that say:
+
$ pacman -R thunderbird
  
OPEN_IN=new-window
+
4. Remove all your data by deleting your current Thunderbird folder {{ic|rm -R ~/.thunderbird/}}.
#OPEN_IN=new-tab
 
  
This setup will open URL's in a new window. Simply comment the first line and uncomment the second line to open URL's in a new tab!
+
5. Install Thunderbird again:
  
Another way to do that is to select the right radiobutton in ''Edit/Preferences/Tabs'' in your Firefox browser menu.
+
$ pacman -S thunderbird
  
== Troubleshooting ==
+
6. Create your mail accounts, feeds and calendars (empty).
  
=== Segfault at startup ===
+
7. Install the [https://addons.mozilla.org/thunderbird/addon/importexporttools/ ImportExportTools] AddOn
  
A [https://bugzilla.mozilla.org/show_bug.cgi?id=292127 problem (mozilla-bug)] arises on systems configured to use ldap to fetch user information: Thunderbird segfaults at startup. A [https://bugzilla.mozilla.org/show_bug.cgi?id=292127#c7 work around] exists.
+
8. Import all your data.
  
=== Folder name in local language but menus in English after Thunderbird update ===
+
=== Thunderbird UI freezes when receiving a new message ===
  
First, verify that you have package '''thunderbird-i18n-xx''' installed, where "xx" is the language you want. If not, install it/reinstall it.
+
If Thunderbird is configured to show an alert when a new message arrives, or at launch, the lack of a notification daemon may freeze the interface (white screen) for many seconds. You can solve this issue by disabling alerts or installing a [[Desktop_notifications#Notification_servers|notification server]].

Latest revision as of 17:43, 22 September 2018

Mozilla Thunderbird is an open source email, news, and chat client developed by the Mozilla Foundation.

Installation

Install the thunderbird package, with a language pack if required.

Other versions include:

  • Thunderbird Beta — Cutting edge features with relatively-good stability.
https://www.thunderbird.net/channel/ || thunderbird-beta-binAUR
  • Thunderbird Earlybird — Experience the newest innovations as they're developed (equivalent to an alpha and Firefox Aurora releases).
https://www.thunderbird.net/channel/ || thunderbird-earlybirdAUR
  • Thunderbird Nightly — Experience the newest innovations with nightly releases (for those that want to work with breakages).
https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-central/ || thunderbird-nightlyAUR

A version overview, both past and future, can be read on MozillaWiki:Releases.

Securing

Considerations

Under some circumstances Thunderbird may send your system's (internal) IP address as reply to HELO/ELHO requesting SMTP servers. If you have concerns, please read this article. You might change this for Firefox, too.

If you want to hide Thunderbird for sending your system's User Agent string, create a new empty string entry general.useragent.override in the #Config Editor.

While Thunderbird disables email images by default, it enables HTML rendering which may expose IP address and location. Choose View > Message Body As > Plain Text to disable this.

JavaScript is disabled for message content but not RSS news feeds. To disable JavaScript for RSS set javascript.enabled to false in the #Config Editor.

Extensions

  • Enigmail — Extension for writing and receiving email signed and/or encrypted with the OpenPGP standard.
https://www.enigmail.net || thunderbird-extension-enigmail, thunderbird-enigmail-gitAUR
  • TorBirdy — Extension that configures Thunderbird to make connections over the Tor anonymity network
TorBirdy AMO ||
  • FireTray — Adds a customizable system tray icon for Thunderbird
FireTray AMO ||
https://www.thunderbird.net/en-US/calendar/ ||
  • SOGo Connector — Lets you sync address books via CardDAV
https://sogo.nu/download.html#/frontends || thunderbird-sogo-connector-binAUR
  • Cardbook — A new addressbook for Thunderbird based on the CARDDav and VCARD standards.
Cardbook AMO ||

Tips and tricks

Config Editor

Thunderbird can be extensively configured in Edit > Preferences > Advanced > General > Config Editor.

Setting the default browser

Note: Since version 24 the network.protocol-handler.app.* keys have no effect and will not be able to set the default browser.

Thunderbird uses the default browser as defined by the XDG MIME Applications. This is commonly modified by the Gnome Control Center (Gnome Control Center > Details > Default Applications > Web) (available in: gnome-control-center).

This can be overridden in the #Config Editor by searching for network.protocol-handler.warn-external.

If the following three are all set to false (default), turn them to true, and Thunderbird will ask you when clicking on links which application to use (remember to also check "Remember my choice for .. links").

network.protocol-handler.warn-external.ftp
network.protocol-handler.warn-external.http
network.protocol-handler.warn-external.https

Plain Text mode and font uniformity

Plain Text mode lets you view all your emails without HTML rendering and is available in View > Message Body As. This defaults to the Monospace font but the size is still inherited from original system fontconfig settings. The following example will overwrite this with Ubuntu Mono of 10 pixels (available in: ttf-ubuntu-font-family).

Remember to run fc-cache -fv to update system font cache. See Font configuration for more information.

~/.config/fontconfig/fonts.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <match target="pattern">
    <test qual="any" name="family"><string>monospace</string></test>
    <edit name="family" mode="assign" binding="same"><string>Ubuntu Mono</string></edit>
    <!-- For Thunderbird, lowering default font size to 10 for uniformity -->
    <edit name="pixelsize" mode="assign"><int>10</int></edit>
  </match>
</fontconfig>

Webmail with Thunderbird

See upstream Wiki: Using webmail with your email client.

Migrate profile to another system

Tip: The ImportExportTools addon offers an option to export and import a profile folder.

Before you start with Importing or Exporting tasks, backup your complete ~/.thunderbird profile:

$ cp -R ~/.thunderbird /to/backup/folder/

With migration you just copy your current Thunderbird profile to another PC or a new Thunderbird installation:

1. Install Thunderbird on the target PC

2. Start Thunderbird without doing anything and quit it.

3. Go to your Backup folder of your old Thunderbird installation

4. Enter the backup profile folder:

$ cd /to/backup/folder/.thunderbird/<oldrandomnumber>.default/

5. Copy its content into the target profile folder ~/.thunderbird/<newrandomnumber>.default/

$ cp -R /to/backup/folder/.thunderbird/<oldrandomnumber>.default/* ~/.thunderbird/<newrandomnumber>.default/

Export + Import

Before you start with Importing or Exporting tasks, backup your complete ~/.thunderbird profile:

$ cp -R ~/.thunderbird /to/backup/folder/

If your accounts are broken or you want to join two different Thunderbird installations, you better install one Import and Export AddOn (eg. ImportExportTools AddOn) to both Thunderbird installations and following this just export and import all your data to the new installation.

Changing the default sorting order

Thunderbird (up to at least 31.4.0-1) sorts mail by date with the oldest on top without any threading. While this can be changed per folder, it is easier to set a sane default instead as described in this Superuser.com post.

Set these preferences in the #Config Editor:

mailnews.default_sort_order = 2 (descending)
mailnews.default_view_flags = 1 (Threaded view)

Maildir support

The default message store format is mbox. To enable the use of Maildir, see MozillaWiki:Thunderbird/Maildir. You basically have to set the following preference in the #Config Editor:

mail.serverDefaultStoreContractID = @mozilla.org/msgstore/maildirstore;1

Some limitations up to at least 31.4.0-1: only the "tmp" and "cur" directories are supported. The "new" directory is completely ignored. The read state of mails are stored in a separate ".msf" file, so initially all local mail using Maildir will be marked as unread even when located in the "cur" directory.

Spell checking

Install hunspell and a hunspell language dictionary and restart Thunderbird.

See the Firefox article for how to set the default spell checking language.

Native notifications

Enable mail.biff.use_system_alert in the #Config Editor. This option means that extensions (such as Gnome Integration) are not needed for these newer versions of Thunderbird.

Theming tweaks

Thunderbird will generally follow GTK theming in use on your system. However, two tweaks are desirable for full consistency. These are most beneficial for dark themes.

  1. To view the body of emails with colors following your theme
    1. Go to Preferences
    2. Select the Display tab
    3. Click the Colors button
    4. Check Use system colors
    5. Set the option for Override the colors specified by the content with my selection above to Always or Only with High Contrast themes
  2. To view Lightning calendar with colors following your theme
    1. Go to preferences
    2. Select the Calendar tab
    3. Check Optimize colors for accessibility

Further customization can be attained by creating and editing a userchrome.css file in a process similar to Firefox. See Firefox/Tweaks#General user interface CSS settings and Mozillazine's userchrome page.

Troubleshooting

LDAP Segfault

An LDAP clash (Bugzilla#292127) arises on systems configured to use it to fetch user information. A possible workaround consists of renaming the conflicting bundled LDAP library.

Error: Incoming server already exists

It seems Thunderbird (v24) still has that bug which pops up with "Incoming server already exists" if you want to reinstall a previously deleted account with the same account data afterwards. Unfortunately, if you get this error you can now only clean reinstall Thunderbird:

1. Make a backup of your current profile:

$ cp -R ~/.thunderbird /to/backup/folder/

2. Export all you Accounts, Calendar and Feeds via an AddOn like it's written in Export section of this Wiki. 3. Uninstall your current Thunderbird installation

$ pacman -R thunderbird

4. Remove all your data by deleting your current Thunderbird folder rm -R ~/.thunderbird/.

5. Install Thunderbird again:

$ pacman -S thunderbird

6. Create your mail accounts, feeds and calendars (empty).

7. Install the ImportExportTools AddOn

8. Import all your data.

Thunderbird UI freezes when receiving a new message

If Thunderbird is configured to show an alert when a new message arrives, or at launch, the lack of a notification daemon may freeze the interface (white screen) for many seconds. You can solve this issue by disabling alerts or installing a notification server.