Version 63 (modified by sukhbir, 7 years ago) (diff)


Codename: TorBirdy

TorBirdy is Torbutton for Thunderbird, Icedove and related Mozilla mail clients. It may also work with other non-web browser Mozilla programs such as Sunbird.


TorBirdy is in beta and should be considered experimental. Please make sure that before using it, you are aware of the known issues and leaks by reading the Before using TorBirdy and Known TorBirdy Issues sections below.

Also read our design goals document (PDF) to understand what we are trying to accomplish with TorBirdy for our users.


If you're a developer, jump over to the road map or to see a list of current sponsored tasks and visit the TorBirdy sponsor page.

Quick Setup Guide

This short guide should help you to setup your Thunderbird email client to send and fetch email via Tor. It can be used for both new and existing email accounts in Thunderbird.

Please bear in mind that email accounts that have been used without Tor before offer less privacy/anonymity/weaker pseudonyms than email accounts that have have always been accessed with Tor. But nevertheless, TorBirdy is still useful for exiting accounts or real name email addresses. For example, if you are looking for location anonymity -- you travel a lot and don't want to disclose all your locations by sending emails, TorBirdy works wonderfully!

TorBirdy works with SMTP and IMAP/POP3 but POP3 is recommended over IMAP because POP3 is a much simpler protocol and less likely to have or introduce any new sketchy features.

This guide does not cover email account configuration (inserting the correct mailserver domain, port, username, ...). JonDo has a guide that details configuring your email accounts for use with TorBirdy, among other helpful information.

Before using TorBirdy

The preferences TorBirdy changes are documented here.

When you install TorBirdy, it modifies and adds many preferences to configure Thunderbird to be used securely over the Tor network.

TorBirdy enforces the preferences it sets and attempts to change them using Thunderbird's settings or the configuration editor will not work as all such changes will be discarded when Thunderbird restarts. This is because we believe that these preferences should not be changed, whether deliberately, by mistake, or due to another extension, as doing so can compromise your anonymity. There are however some preferences that can be changed and they can be accessed through TorBirdy's preferences dialog. Please note that if you are not an advanced user, you should NOT change any setting unless you are very sure of what you are doing.

The preferences that TorBirdy changes are restored to their original values when it is uninstalled or disabled, thus restoring your Thunderbird's state to exactly what it was prior to TorBirdy's installation. If you find that TorBirdy leaves evidence of its installation in any way, please file a bug report.


See the Preferences page for information about TorBirdy preferences.


When TorBirdy is installed and starts for the first time:

  • it saves (all) the current proxy settings so that they can be restored when TorBirdy is uninstalled/disabled.
  • then it clears the proxy settings.
    • Proxy Type
    • SSL Host, Port.
    • SOCKS Host, Port.
    • HTTP Host, Port.
  • all plugins are disabled. (note: just plugins, not extensions.)
  • account-specific settings for all the accounts are saved so that they can also be restored later.
    • check_new_mail
    • login_at_startup
    • check_time
    • download_on_biff
    • socketType
    • port
    • authMethod
  • the recommended security settings for existing accounts are set.
  • finally, all the recommended TorBirdy settings in TorBirdyPrefs in components/torbirdy.js are set.

The last step is repeated every time Thunderbird starts.

When TorBirdy is uninstalled:

  • all the TorBirdy preferences are cleared and reset to their original values.
  • the proxy settings we saved earlier are restored.
  • all plugins are re-enabled.
  • all remaining TorBirdy preferences (the custom settings) are cleared.

Required Software

TorBirdy is currently available in two forms:

Standalone TorBirdy

Available through Mozilla Add-ons:

Standalone TorBirdy is just the TorBirdy extension. You need to have the Tor binary available, whether through the daemon or the Tor Browser Bundle for the standalone version of TorBirdy to function. This is considered stable and is the recommended method of using TorBirdy.

  • Components Required
    • Thunderbird
    • Tor

TorBirdy with Tor and Tor Launcher

Distributed using

Starting 0.1.2, TorBirdy is also available in a single bundle (extension) with Tor and Tor Launcher. Because all required components are bundled in a single package, you do not need the Tor daemon or the Tor Browser Bundle. Only advanced users should be using this bundle as it is still in the alpha stage and bugs are to be expected.

  • Components Required
    • Thunderbird

To use the above package, it is recommended that you create a new profile or use this inside a VM. Creating and using profiles in Thunderbird is described on Thunderbird support. After that, simply install the extension corresponding to your relevant platform. You will be presented with an option to add two extensions: TorBirdy and Tor Launcher. Click on Install and then Thunderbird will restart and Tor Launcher will attempt to connect to Tor automatically and once that is done, Thunderbird will start with TorBirdy and Tor enabled.

Note that Tor has to start successfully for Thunderbird to be loaded; if Tor is unable to start and connect to the network, Thunderbird will not start because Tor Launcher will close it. We plan to fix this soon, but for now, you can set the environment variable TOR_SKIP_LAUNCH to 1 and then Tor Launcher will not start and you can use Thunderbird normally.

Setup Steps

  1. Install Tor as a daemon:
  • On Windows and OS X, download and install the Tor Browser Bundle. When you want to use TorBirdy, you can start the Bundle if it is not already running.
  • On Unix, Linux and BSD you should use your distributor's packages or if available the ones provided by the torproject. You can of course also use the Tor Browser Bundle.
  • Regardless of the OS, make sure Tor is running with default client settings (SocksPort is listening on
  1. Install the TorBirdy extension:
  • Open Thunderbird's add-ons configuration (Tools -> Add-ons) and type "torbirdy" into the search box on the right hand side.
  • Then click Install. Thunderbird will then restart and TorBirdy will be enabled when it starts again.

Now you should be ready to go, there is no further configuration required.


If things don't work for you:

  1. Make sure Tor is running and listening on (localhost) on port 9150.
  2. If you are using the Tor Browser Bundle, have a look at Vidalia's "Tor Network Map" to confirm that something is trying to use the Tor instance to connect to an SMTP/POP3/IMAP port while sending/fetching emails. If nothing is using your running Tor instance, Thunderbird is not connecting to your running Tor instance correctly. This could be because of the following reasons:
    • tor is not running
    • tor's SocksPort is not running on the expected port
    • TorBirdy was configured to connect to something else then
  3. If you see Thunderbird connecting to Tor and it is still not working, try hitting the "New Identity" button in Vidalia; it might be the case that the mail server you are trying to connect to does not like your source IP address (bad exit node).

If none of the above works for you, come and talk to us! When asking for support, please make sure you include the version of Thunderbird and TorBirdy you are using (including the platform.) An easier and better way of getting this information is using Thunderbird itself: go to the Help menu, choose Troubleshooting and then select Copy text to clipboard. Before sending it to us, make sure you review the text to remove any information that you consider confidential. (By default, there is no information that can be used to identify you, but please check just to be sure.) The sections in the report that we need to help troubleshoot are Application Basics, Mail and News Accounts, and Extensions; feel free to remove other sections from the text.

Mailing List: | tor-talk

IRC: #tor, #tor-dev []

TorBirdy with Gmail

We have a video (ogv) that shows how you can configure a Gmail account with TorBirdy's manual account configuration wizard.

TorBirdy works fine with Gmail and there should be no issues except in rare cases where certain exit nodes cause Gmail to lock an account (and therefore POP/IMAP access) until the user logs in through the web interface and enters a CAPTCHA.

Mike Hearn from Google addressed this issue on tor-talk:

Access to Google accounts via Tor (or any anonymizing proxy service) is not allowed unless you have established a track record of using those services beforehand. You have several ways to do that:

1) With Tor active, log in via the web and answer a security quiz, if any is presented. You may need to receive a code on your phone. If you don't have a phone number on the account the access may be denied.

2) Log in via the web without Tor, then activate Tor and log in again WITHOUT clearing cookies. The GAPS cookie on your browser is a large random number that acts as a second factor and will whitelist your access.

Once we see that your account has a track record of being successfully accessed via Tor the security checks are relaxed and you should be able to use TorBirdy.

Known TorBirdy Issues

Info Leaks

  • #6314 leak via Date header field (local timestamp disclosure)
  • #6315 leak via Message-ID header field (local timestamp disclosure)


This section is only relevant for Usenet / NNTP users.

  • For NNTP accounts that were created before TorBirdy was installed, NNTPS is enabled, but if you create a NNTP account after installing TorBirdy, please enable SSL manually.
  • (See #8069) Connections over SSL to NNTP servers are failing (with or without TorBirdy installed). We are not sure why this is happening. Try it and tell us if it works for you.

Additional Add-Ons

Enigmail (OpenPGP GPG for Thunderbird)

Enigmail is supported in TorBirdy, but Enigmail traffic is fail-closed, until we find a HTTP -> SOCKS5 shim. In most setups, GnuPG requires a HTTP proxy to properly work (not leak) on your system. If you are lucky and you are running gpg with curl (>= 7.21.7) support, gpg can be used without http proxy (gpg on Windows has no curl support).

To determine if your gpg installation has that kind of curl support you can run gpg with debug options and look for "curl version". The version number must be >= 7.21.7:

gpg --keyserver-options debug --search-keys somethingnonexisting

Note that if gpg returns gpgkeys: curl version = GnuPG curl-shim, then SOCKS is not supported. If you are running Debian/ Ubuntu, installing the gnupg-curl package will alleviate this issue.

mixminion and mixmaster remailer for Thunderbird

(See #6020, #8125)

MixMinion is not really ready for prime time. While we had love to hear feedback about use with TorBirdy, we are skeptical that MixMinion itself works very well. Do not mix mixgui with TorBirdy unless you have got some good data or good feedback.

Lightning (Calendar for Thunderbird)

(See #6319)

Lightning is safe to use with TorBirdy and has been tested with Google Calendar/iCal.

Other Add-Ons

Please do not install random add-Ons. If they have not been reviewed by the TorBirdy developers, they can harm your anonymity. Open a ticket if you want to use a specific add-on with TorBirdy but are unsure about it.



TorBirdy maintains different preference branches to accomodate its settings:

Holds the custom preferences that are set through the preferences dialog.
Holds the preferences whose values are saved when TorBirdy is installed and restored when it is uninstalled.

(Don't change any of these preferences yourself!)


This project is by Jacob Appelbaum, Sukhbir Singh and tagnaq. JonDo support by Karsten N.

source code on github