Share your knowledge at the LQ Wiki.
Go Back > Blogs > arniekat
User Name


Rate this Entry


Posted 01-18-2012 at 11:03 AM by arniekat

Mozilla Thunderbird/Enigmail Setup

Mozilla Thunderbird 3.1.16 is the current package available from the Patches Directory. See the Claws Mail/GnuPG Tutorial for Slackware 13.37 with regards to creating your GnuPG Public-Private Keypair. This tutorial will focus on setting up Mozilla Thunderbird as your email client for a Google GMail account and incorporating GnuPG encryption via the Enigmail encryption Plugin.

When you first start Thunderbird, the Import Wizard runs which asks you if you would like to "Import Preferences, Account Settings, Address Books, Filters and Other Data from Netscape 6, 7, Mozilla 1.X or Seamonkey." I select “Don't Import Anything”, then Next

You will now see a Mail Account Setup Dialog Box.
Enter Your Name, which will be shown to others when you send them mail.
Enter your Email address, ie <something><at><gmail><dot><com>
Enter your Password to access your email account
NOTE - Be sure the "Remember Password" box is checked
Click Continue

Thunderbird selected IMAP - Access folders and messages from multiple computers (recommended)
Incoming: IMAP 993 SSL/TLS
Outgoing: SMTP 465 SSL/TLS

but you can select POP - Download all messages onto this computer, folders are local only.
Incoming: POP 995 SSL/TLS
Outgoing: SMTP 465 SSL/TLS

Thunderbird queries the Mozilla ISP Database to get the Settings for the Gmail account.
I left it as IMAP since I use multiple computers to access mail.
Click Create Account

You will see Thunderbird checking your password and if it is OK, you are good to go.

Download the Enigmail Plugin from (be sure of your version of Thunderbird):
The correct Enigmail Plugin for Mozilla Thunderbird 3.1.16 64-Bit is

Go to the Thunderbird Tools--Add-Ons and select the "Install" button on the Add-On dialog box. Navigate to the directory containing the enigmail plugin and select it to install it. You will get a warning regarding installing malicious software. Click "Install Now" and restart Thunderbird.

You will now have a new menu entry entitled "OpenPGP". Go to OpenPGP--Setup Wizard.
Click "Next" to start using the Enigmail Setup Wizard.
Would you like to digitally sign your emails? Yes or No (I select No)
Click "Next"
Would you like to encrypt all your outgoing mail by default? Yes or No (I select No)
Click "Next"
Would you like to change your email settings to make OpenPGP work more reliably? Yes or No (I select Yes)
Click "Next"
Create a key to sign and encrypt email. You can select a pre-existing key or create a new one.
Click "Next"
Confirm what the Wizard will do for you and if you are happy with the settings, click "Next"
Click "Finish"


NOTE - In order for the recipient to verify your signature, they must have your Public Key imported into GnuPG by means of KGPG, Seahorse, Gnu Privacy Assistant (GPA) or by CLI Importation using GnuPG. Thunderbird has an option to attach your Public Key to the email recipient. It is at the "Write" dialog box under the OpenPGP--Attach my Public Key.

Compose your message by selecting the "Write" button which will bring up a new dailog box. Create the email. Go to OpenPGP--Sign Message or hit the key combination CTRL+SHIFT+S. This will put a checkmark on the menu choice and when you hit "Send" the signature will be added. When you hit "Send" you will be asked for the Passphrase/Password of your GnuPG Key. Enter it and hit "OK". Your Private Key is used to Digitally Sign the message, which then gets verified at the receiving end by your Public Key.


NOTE - In order for the recipient of your encrypted email to decrypt the email, You must encrypt the email with the recipient's Public Key, which needs to be in your Keyring before you send the message. Thunderbird will know which key to use since the Public/Private Keypair is created with an email address attached as part of the Key. If you try to send an encypted email without the recipient's Public Key, Thunderbird will give you an error message "Recipients not valid, not trusted or not found." You then have several options to obtain the missing key. The recipient uses their Private Key to decrypt the email.

Compose your message by selecting the "Write" button which will bring up a new dailog box. Create the email. Go to OpenPGP--Encrypt Message or hit the key combination CTRL+SHIFT+E. This will put a checkmark on the menu choice and when you hit "Send" the message will be encrypted. Note that the Subject line is not encrypted. When you hit "Send" if you have no errors, the message gets encrypted and sent.
Posted in Uncategorized
Views 1014 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 08:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration