Difference between revisions of "Thunderbird"

From ArchWiki
Jump to: navigation, search
(LDAP Segfault)
(add Thunderbird/Enigmail to related)
 
(92 intermediate revisions by 29 users not shown)
Line 1: Line 1:
[[Category:Email Client]]
+
[[Category:Email clients]]
 +
[[de:Thunderbird]]
 
[[fr:Thunderbird]]
 
[[fr:Thunderbird]]
 
[[it:Thunderbird]]
 
[[it:Thunderbird]]
 +
[[ja:Thunderbird]]
 +
[[tr:Thunderbird]]
 
{{Related articles start}}
 
{{Related articles start}}
{{Related|Thunderbird Export URLs}}
+
{{Related|Thunderbird/Enigmail}}
 
{{Related|Firefox}}
 
{{Related|Firefox}}
 
{{Related articles end}}
 
{{Related articles end}}
  
[https://www.mozilla.org/ Mozilla] [https://www.mozilla.org/thunderbird/ 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 [[Thunderbird#EnigMail - Encryption|Enigmail extension]]). Similarly to [[Firefox]], it has a wide variety of extension and addons available for download that add more features.
+
Mozilla [https://www.mozilla.org/thunderbird/ 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.
  
Other alternatives from the [[AUR]] include:
+
Other versions include:
  
*{{AUR|thunderbird-esr-bin}} (a [http://www.mozilla.org/thunderbird/organizations/ long-term] supported version)
+
* {{App | Thunderbird Beta | Cutting edge features with relatively-good stability. | https://www.mozilla.org/thunderbird/channel/ | {{AUR|thunderbird-beta-bin}}}}
*{{AUR|thunderbird-beta-bin}} (the official [http://www.mozilla.org/en-US/thunderbird/channel/ cutting-edge] version by Mozilla)
+
* {{App | Thunderbird Earlybird | Experience the newest innovations as they're developed (equivalent to an alpha and Firefox Aurora releases). | https://www.mozilla.org/thunderbird/channel/ | {{AUR|thunderbird-earlybird}}}}
*{{AUR|thunderbird-nightly}} (a [https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-central/ nightly] version)
+
* {{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}}}}
  
There are a number of language packs available, if English is not your preferred language. To see a list of available language packs, try:
+
A version overview, both past and future, can be read on the [https://wiki.mozilla.org/Releases Mozilla wiki].
$ pacman -Ss thunderbird-i18n
 
  
== Extensions ==
+
== Securing ==
  
=== EnigMail - Encryption ===
+
=== Considerations ===
  
[https://www.enigmail.net EnigMail] is an extension that allows writing and receiving email signed and/or encrypted with the OpenPGP standard. It relies on the [[Wikipedia:GNU Privacy Guard|GNU Privacy Guard (GnuPG)]].
+
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.
  
It can be installed from [https://addons.mozilla.org/thunderbird/addon/enigmail/ addons.mozilla.org] (e.g. through the {{ic|Add-ons Manager}}) or the [[AUR]]. Common packages are: {{AUR|thunderbird-enigmail}} and {{AUR|thunderbird-enigmail-bin}}.
+
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]].
  
==== Sharing the public key ====
+
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.
  
There are a variety of ways to distribute the 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.
+
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]].
  
==== Encrypting emails ====
+
== Extensions ==
  
First of all, encryption does not always work properly with emails containing HTML. It is best to make all of the encrypted emails plain text by choosing ''Options > Delivery Format > Plain Text Only'' in the new email window.
+
* {{App|[[Thunderbird/Enigmail|Enigmail]]|Extension for writing and receiving email signed and/or encrypted with the OpenPGP standard.|https://www.enigmail.net|{{AUR|thunderbird-enigmail}}, {{AUR|thunderbird-enigmail-bin}}}}
 +
* {{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|[https://www.mozilla.org/projects/calendar/lightning/ Lightning]| A calendar extension that brings [[Wikipedia:Mozilla Sunbird|Sunbird]]'s functionality to Thunderbird, including CalDAV support.|[https://addons.mozilla.org/thunderbird/addon/lightning/ Lightning AMO] |{{aur|thunderbird-lightning-bin}}}}
 +
* {{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]|}}
  
Once the email is finished it can be signed through the ''OpenPGP'' menu.
+
== Tips and tricks ==
 
 
==== Decrypting emails ====
 
 
 
Assuming that the email was encrypted properly, just trying to open it should result in a popup window asking to type in the keyphrase.
 
 
 
=== Lightning - Calendar ===
 
 
 
[https://www.mozilla.org/projects/calendar/lightning/ Lightning] is a calendar extension that brings [[Wikipedia:Sunbird|Sunbird's]] functionality to Thunderbird. You can use [https://addons.mozilla.org/thunderbird/addon/lightning/ addons.mozilla.org] or the [[AUR]] package {{AUR|lightning-bin}} to install Lightning.
 
  
=== FireTray - Tray icon ===
+
=== Config Editor ===
  
FireTray is an extension that adds a customizable system tray icon for Thunderbird. It can be installed from [https://addons.mozilla.org/thunderbird/addon/firetray/ addons.mozilla.org] or the [[AUR]] package {{AUR|thunderbird-firetray}}.
+
Thunderbird can be extensively configured in ''Edit > Preferences > Advanced > General > Config Editor''.
 
 
== Tips and tricks ==
 
  
 
=== Setting the default browser ===
 
=== Setting the default browser ===
Line 60: Line 58:
 
Recent versions of Thunderbird use the default browser as defined by the [[Default applications|system MIME settings]]. This is commonly modified by the Gnome Control Center (''Gnome Control Center > Details > Default Applications > Web'') (available in: {{Pkg|gnome-control-center}}).
 
Recent versions of Thunderbird use the default browser as defined by the [[Default applications|system MIME settings]]. This is commonly modified by the Gnome Control Center (''Gnome Control Center > Details > Default Applications > Web'') (available in: {{Pkg|gnome-control-center}}).
  
This can be overridden in Thunderbird through ''Edit > Preferences > Advanced > General > Config Editor'' by searching for {{ic|network.protocol-handler.warn-external}}.
+
This can be overridden in the [[#Config Editor]] by searching for {{ic|network.protocol-handler.warn-external}}.
  
If the following three are all set to {{ic|false}} (default), turn them to {{ic|true}}, and then Thunderbird will ask you when clicking on links which application to use. Depending on the chosen desktop, common values include {{ic|/usr/bin/firefox}}, {{ic|/usr/bin/google-chrome-stable}}, {{ic|/usr/bin/exo-open}} (Xfce) or {{ic|/usr/bin/xdg-open}} (non-DE environments). Remember to check ''"Remember my choice for .. links"''.
+
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.ftp
Line 72: Line 70:
 
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}}).
 
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}}).
  
Remember to run {{ic|fc-cache -fv}} to update system font cache. See [[Font Configuration]] for more information.
+
Remember to run {{ic|fc-cache -fv}} to update system font cache. See [[Font configuration]] for more information.
  
 
{{hc|~/.config/fontconfig/fonts.conf|<nowiki>
 
{{hc|~/.config/fontconfig/fonts.conf|<nowiki>
Line 89: Line 87:
 
=== Webmail with Thunderbird ===
 
=== Webmail with Thunderbird ===
  
Please see upstream Wiki: [http://kb.mozillazine.org/Using_webmail_with_your_email_client Using webmail with your email client].
+
:''See upstream Wiki: [http://kb.mozillazine.org/Using_webmail_with_your_email_client Using webmail with your email client].''
 +
 
 +
=== Migrate profile to another system ===
 +
 
 +
{{Tip|The [https://addons.mozilla.org/thunderbird/addon/importexporttools ImportExportTools] addon offers an option to export and import a profile folder.}}
 +
 
 +
Before you start with Importing or Exporting tasks, backup your complete {{ic|~/.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 {{ic|~/.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 {{ic|~/.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. [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.
 +
 
 +
=== 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 [https://superuser.com/questions/13518/change-the-default-sorting-order-in-thunderbird 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 [https://wiki.mozilla.org/Thunderbird/Maildir Mozilla wiki: 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]] {{Pkg|hunspell}} and a [https://www.archlinux.org/packages/?q=hunspell+dict hunspell language dictionary] and restart Thunderbird.
 +
 
 +
=== Native notifications ===
 +
 
 +
Enable {{ic|mail.biff.use_system_alert}} in the [[#Config Editor]].
  
 
== Troubleshooting ==
 
== Troubleshooting ==
Line 96: Line 149:
  
 
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.
 
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.
 +
 +
=== 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 {{ic|rm -R ~/.thunderbird/}}.
 +
 +
5. Install Thunderbird again:
 +
 +
$ pacman -S thunderbird
 +
 +
6.Create your mail accounts, feeds and calenders (empty).
 +
 +
7. Install the [https://addons.mozilla.org/thunderbird/addon/importexporttools/ ImportExportTools] AddOn
 +
 +
8. Import all your data.

Latest revision as of 06:25, 3 July 2017

Related articles

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.mozilla.org/thunderbird/channel/ || thunderbird-beta-binAUR
  • Thunderbird Earlybird — Experience the newest innovations as they're developed (equivalent to an alpha and Firefox Aurora releases).
https://www.mozilla.org/thunderbird/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 the Mozilla wiki.

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-enigmailAUR, thunderbird-enigmail-binAUR
  • 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 ||
  • Lightning — A calendar extension that brings Sunbird's functionality to Thunderbird, including CalDAV support.
Lightning AMO || thunderbird-lightning-binAUR
  • 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.

Recent versions of Thunderbird use the default browser as defined by the system MIME settings. 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 Mozilla wiki: 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.

Native notifications

Enable mail.biff.use_system_alert in the #Config Editor.

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 calenders (empty).

7. Install the ImportExportTools AddOn

8. Import all your data.