Secure your email communication with free software
A guide for installing, configuring and using Mozilla Thunderbird, Enigmail, and GnuPG to provide secure and encrypted email
Download the whole article as PDF
Short URL: http://fsmsh.com/1256
- 2006-06-07
- User space | Intermediate
-
Write a full post in response to this!
Email is one of the most common activities we perform on the internet. However, email is also one of the most vulnerable internet services currently used. Email spam is common, but what most people are not aware of is that email identity theft is common as well. There is also continuous concern over the privacy and security issues surrounding the matter. However, most users dismiss security software as complex and still continue to send email messages with very little or no regard at all to security.
In this article, you’ll learn how to install, setup, and use the Mozilla Thunderbird email client for secure, encrypted email using GnuPG and the Enigmail Mozilla Thunderbird extension. The examples in this article are based on Ubuntu 5.10, but any GNU/Linux-based operating system can be used. You’ll also get to tackle the basics of using GnuPG with Enigmail—just enough to get you started, as GnuPG is a very powerful suite that can extend to other applications. If you’d like to learn more about cryptography using GnuPG, the man pages are a good place to start. Don’t worry though, GnuPG is very well documented and you’ll be presented with some links online at the end of this article to get you started.
If you’re still using Microsoft Windows, you can still apply the steps presented, but you’ll have to download and configure the Win32 counterparts of the software used.
Installing the essential applications
Assuming you’re already running Ubuntu 5.10, you need to install three software packages to be able to start sending secure email. These are:
- Mozilla Thunderbird—a free software, full-featured and secure email client from the Mozilla project. It is currently available for GNU/Linux, Windows and MacOSX
- Enigmail—Enigmail is an extension to the mail client of Mozilla Thunderbird which allows users to access the authentication and encryption features provided by GnuPG.
- GnuPG—GnuPG is a complete and free replacement for the PGP (Pretty Good Privacy) suite of cryptographic software; and it’s released under the GNU General Public License.
You’ll also need an email account that has POP3, SMTP and/or IMAP support. Your Internet Service Provider (ISP) may have provided you one. If you are using a free email account, check your email provider if it has support for such. Gmail provides free POP3 and SMTP support, so you can make an account (if you haven’t already) and use it for this exercise.
You’ll need an email account that has POP3/SMTP and/or IMAP support to be able to download your email messages to Thunderbird
Ubuntu officially supports these packages and they can easily be installed from the network. You can use the Synaptic package manager to install them. From your GNOME desktop just click on System → Administration → Synaptic Package Manager. Once selected, you’ll be asked for your sudo user password (in Ubuntu, this is normally the first user you create during setup if you did a default install) and then you’ll be presented with the Synaptic Package Manager as shown in figure 1.
In Synaptic, click on “Search” and look for the following packages: mozilla-thunderbird, mozilla-thunderbird-enigmail and gnupg. The package gnupg was most likely installed already during your initial setup of Ubuntu, so you can skip this; but in case it wasn’t or you’ve removed it, you’ll have to include it.
Once you have selected the three packages, click on “Apply”. Synaptic will then check for package dependencies and install them as needed. Once you have the packages installed, you can now close Synaptic.
Setting up your email client
Now that Thunderbird, Enigmail and GnuPG are installed, you can open up Thunderbird and create your first key pair. From your desktop, click on Applications → Internet → Thunderbird Mail Client. This will open up Mozilla Thunderbird. You will be asked to create your email account when you open up Thunderbird for the first time. If you haven’t created one, it’s a good time to set it up now. Thunderbird provides a wizard to help you setup your email account. For this article, I’m going to use a fictitious email account named jerome@freesoftwaremagazine.com. Figure 2 shows how Thunderbird looks after setting up the email account.
Setting up Enigmail and creating your Key Pair
Once your email account is ready, you need to generate a new “key pair”. A key pair consists of two keys: the public and the private key. This pair (along with the other pairs used by other people worldwide) is essential to make Public Key Infrastructure (PKI) possible. To put it simply, people can send secure, encrypted email to you using your public key but you need your private key to decipher it, and vice-versa. All of this is made possible while using an unsecured public network such as the internet.
A key pair consists of two keys: the public and the private key. This pair (along with the other pairs used by people worldwide) is essential to make Public Key Infrastructure (PKI) possible
If you’ve used Thunderbird before, you’ll notice that after installing the mozilla-thunderbird-enigmail package, a new menu entry appeared: “Enigmail”. Before creating your first key pair, you need to configure Enigmail to use GnuPG by adding its executable path. Select “Enigmail” and click on “Preferences” and the Enigmail Preferences window will appear (as shown in figure 3).
To begin with, just focus on the “Basic” settings to get Enigmail running. First, you’ll need to add the executable path of GnuPG. In Ubuntu, this is located at /usr/bin/gpg. So, add that to the “GnuPG executable path” field and click on “Ok”. Other settings such as additional parameters, passphrase settings and keyservers can be left as is for now. You can go back to those settings later when our key pair is done.
Write a full post in response to this!
Similar articles
Do you like this post?
Vote for it!
Copyright information
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html.
Biography
Jerome Gotangco: Jerome Gotangco is an active member of the Ubuntu Documentation Project, a free software volunteer project that develops and maintains documentation for the Ubuntu operating system. He currently serves as External Vice President of the Philippine Linux Users Group, the oldest Linux users’ group in Asia. He is also a frequent speaker and author on the topic of Ubuntu and free software. He can be reached via email at “jgotangco” followed by the at sign followed by “ubuntu.com”
- Login or register to post comments
- 56645 reads
- Printer friendly version (unavailable!)




Best voted contents
-
Special 301: FOSS users. Now we're all Communists and Criminals
Gary Richmond, 2010-03-05 -
Microsoft's Internet Driving Licence: stupid, unworkable and unenforceable
Gary Richmond, 2010-03-10 -
The Bizarre Cathedral - 69
Ryan Cartwright, 2010-03-12 -
Making a videoloop with Kino and Audacity
Terry Hancock, 2010-02-18
Buzz authors
Free Software news
- Openness in #Hardware a Sign of #FreeSoftware Impact http://ur1.ca/pp5n
- Governments in #Romania and #India Talk About #FreeSoftware http://ur1.ca/pp5n http://ur1.ca/pp5o http://ur1.ca/pp5p
- #FCC Releases #FreeSoftware , Web Depends on Freedom http://ur1.ca/pp4i http://ur1.ca/pp4j http://ur1.ca/pp4k
- Download Free Software: この製品のダウンロードを実行することは、当ウェブサイトの サービス契約条件とプライバシーポリシーに同意したものと了解されます。**ダウンロードはこのページ独自のダウンローダーによっ... http://bit.ly/bEkbaz
- RT @ohnewein R&D in #SouthTyrol http://tinyurl.com/yz9hak8 Where others come for vacation ;-) #freesoftware #rand #android #augmentedreality
Similar entries
Other sites
- The Top 10 Everything (Dave). The good, the bad and the ugly.
- Free Software news (Dave & Bridget). All about free software -- free as in freedom!
- Book Reviews: Illiterarty (Bridget). Book reviews, blogs, and short stories.
Hot topics - last 60 days
-
Linux performance: is Linux becoming just too slow and bloated?
Mitch Meyran, 2010-01-26 -
Web code is already open - why not make it free as well
Ryan Cartwright, 2010-01-20 -
Save "Sita Sings the Blues" from the Flash format: can you convert FLA?
Terry Hancock, 2010-01-29 -
Question Copyright's "Minute Memes" challenge copyright rhetoric
Terry Hancock, 2010-01-15 -
Special 301: FOSS users. Now we're all Communists and Criminals
Gary Richmond, 2010-03-05
Hot topics - last 21 days
Odiogo
Free Software Magazine uses Apollo, project management and CRM for its everyday activities!




DiceWare
Submitted by BillHarris on Wed, 2006-06-07 15:22.
Vote!Thanks for the article; I hope it helps others get started with encrypted email.
I've found Diceware (http://www.diceware.com/) handy for generating passphrases.
PGP is fine if recipients have PGP. What about everyone else?
Submitted by Anonymous visitor on Sat, 2006-09-02 15:26.
Vote!I found that Voltage's IBE technology makes it easier to get started with encrypted email. No keys to generate, no recipients to plead with to generate their own keys.
Voltage just launched a new service at http://vsn.voltage.com that has an Outlook and Outlook Express plugin as well as a web interface for everyone else. The interesting thing about the service is that they don't store keys (part of IBE) and they don't store any messages (even when using the web interface).
The thing that is most hindering the use of encrypted email is usability...and it looks like Voltage has helped us past this.
Even better solution
Submitted by Anonymous visitor on Fri, 2006-10-13 20:11.
Vote!I found an even better solution, www.briefile.com. The program is free and you don't have to use passwords to send/receive emails. (I have too many passwords already)
It also has no additional license cost for multiusers. This is great for me, because I can use this program with my customers, partners and contractors as they come and go without having the try to manage how many licenses I have or need.
The program also blocks printing and forwarding, which is great for me because then I don't have to worry about an employee forwarding a confidential document outside the company - leaking it to a competitor.
Encrypted E-mail for Dummies
Submitted by Kevin Cole on Tue, 2006-12-12 15:53.
Vote!Well, maybe. If folks are finding PGP/GPG tough sledding, Ciphire Mail purports to make thing simple. See
https://www.ciphire.com/
for details. (When I couldn't get enough people using PGP/GPG, I set up a few people with Ciphire and it appeared to work okay.)
thanks
Submitted by Anonymous visitor on Tue, 2006-12-12 21:01.
Vote!hey thanks for the article... it was great... helped me get extra credit for class... appreciate it...
rick
Email Encryption
Submitted by Anonymous visitor on Fri, 2007-02-16 10:40.
Vote!Like one of the other commentators, I firmly believe identity-based encryption is the best technique to use for email encryption. It doesn't have the infrastructure problems of PKI / PKC; you can encrypt a message the way email works, just by knowing someone's email address, without having to obtain their public key first.
There seem to be two main id-based email encryption providers: Voltage's SecureMail (see previous comment) which seems to be geared towards enterprise-level implementation and Private Post which is free for home use.
Mark.
Spam Comments
Submitted by Anonymous visitor on Wed, 2007-03-21 08:31.
Vote!Shame about all the spam comments above about competing (and probably non-compatible, proprietary) products. As if a solid public key encryption system could be built without basing it on open standards and open source! Yay GPG!
PGP Secure Email
Submitted by secure email (not verified) on Thu, 2007-08-23 15:41.
Vote!I found a dozens solution on the web to implement openPGP into ones email client.
However I did not knew abut Engimail. Is this based on GnuPG or does it has its own OpenPGP implementation?