Version 49 (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 experimental. Use at your own risk! Please read our design goals document to understand what we're 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, 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 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.

Required Software

  • Tor
  • Thunderbird
  • TorBirdy

TorBirdy does not require a running instance of the TorBrowser Bundle (TBB) or a HTTP proxy.

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

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 could harm your anonymity. Open a ticket if you want to use a specific add-on with TorBirdy but are unsure about it.


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

source code on github