Email Delivery

Receive new posts as email.

Email address

Syndicate this site

RSS | Atom

Contact

About This Site
Contact Us
Privacy Policy

Search


November 2010
Sun Mon Tues Wed Thurs Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        

Stories by Category

Basics :: Basics
Casting :: Casting Listen In Podcasts Videocasts
Culture :: Culture Hacking
Deals :: Deals
FAQ :: FAQ
Future :: Future
Hardware :: Hardware Adapters Appliances Chips Consumer Electronics Gaming Home Entertainment Music Photography Video Gadgets Mesh Monitoring and Testing PDAs Phones Smartphones
Industry :: Industry Conferences Financial Free Health Legal Research Vendor analysis
International :: International
Media :: Media Locally cached Streaming
Metro-Scale Networks :: Metro-Scale Networks Community Networking Municipal
Network Types :: Network Types Broadband Wireless Cellular 2.5G and 3G 4G Power Line Satellite
News :: News Mainstream Media
Politics :: Politics Regulation Sock Puppets
Schedules :: Schedules
Security :: Security 802.1X
Site Specific :: Site Specific Administrative Detail April Fool's Blogging Book review Cluelessness Guest Commentary History Humor Self-Promotion Unique Wee-Fi Who's Hot Today?
Software :: Software Open Source
Spectrum :: Spectrum 60 GHz
Standards :: Standards 802.11a 802.11ac 802.11ad 802.11e 802.11g 802.11n 802.20 Bluetooth MIMO UWB WiGig WiMAX ZigBee
Transportation and Lodging :: Transportation and Lodging Air Travel Aquatic Commuting Hotels Rails
Unclassified :: Unclassified
Vertical Markets :: Vertical Markets Academia Enterprise WLAN Switches Home Hot Spot Aggregators Hot Spot Advertising Road Warrior Roaming Libraries Location Medical Public Safety Residential Rural SOHO Small-Medium Sized Business Universities Utilities wISP
Voice :: Voice

Archives

November 2010 | October 2010 | September 2010 | August 2010 | July 2010 | June 2010 | May 2010 | April 2010 | March 2010 | February 2010 | January 2010 | December 2009 | November 2009 | October 2009 | September 2009 | August 2009 | July 2009 | June 2009 | May 2009 | April 2009 | March 2009 | February 2009 | January 2009 | December 2008 | November 2008 | October 2008 | September 2008 | August 2008 | July 2008 | June 2008 | May 2008 | April 2008 | March 2008 | February 2008 | January 2008 | December 2007 | November 2007 | October 2007 | September 2007 | August 2007 | July 2007 | June 2007 | May 2007 | April 2007 | March 2007 | February 2007 | January 2007 | December 2006 | November 2006 | October 2006 | September 2006 | August 2006 | July 2006 | June 2006 | May 2006 | April 2006 | March 2006 | February 2006 | January 2006 | December 2005 | November 2005 | October 2005 | September 2005 | August 2005 | July 2005 | June 2005 | May 2005 | April 2005 | March 2005 | February 2005 | January 2005 | December 2004 | November 2004 | October 2004 | September 2004 | August 2004 | July 2004 | June 2004 | May 2004 | April 2004 | March 2004 | February 2004 | January 2004 | December 2003 | November 2003 | October 2003 | September 2003 | August 2003 | July 2003 | June 2003 | May 2003 | April 2003 | March 2003 | February 2003 | January 2003 | December 2002 | November 2002 | October 2002 | September 2002 | August 2002 | July 2002 | June 2002 | May 2002 | April 2002 | March 2002 | February 2002 | January 2002 | December 2001 | November 2001 | October 2001 | September 2001 | August 2001 | July 2001 | June 2001 | May 2001 | April 2001 |

Recent Entries

In-Flight Wi-Fi and In-Flight Bombs
Can WPA Protect against Firesheep on Same Network?
Southwest Sets In-Flight Wi-Fi at $5
Eye-Fi Adds a View for Web Access
Firesheep Makes Sidejacking Easy
Wi-Fi Direct Certification Starts
Decaf on the Starbucks Digital Network
Google Did Snag Passwords
WiMax and LTE Not Technically 4G by ITU Standards
AT&T Wi-Fi Connections Keep High Growth with Free Service

Site Philosophy

This site operates as an independent editorial operation. Advertising, sponsorships, and other non-editorial materials represent the opinions and messages of their respective origins, and not of the site operator. Part of the FM Tech advertising network.

Copyright

Entire site and all contents except otherwise noted © Copyright 2001-2010 by Glenn Fleishman. Some images ©2006 Jupiterimages Corporation. All rights reserved. Please contact us for reprint rights. Linking is, of course, free and encouraged.

Powered by
Movable Type

« What I Cracked on My Summer Vacation | Main | News for 8/13/01 »

August 12, 2001

Securing Your Email

After the recent revelations that makes WEP security paperthin, coupled with my own increased use of Wi-Fi in public spaces without any encryption, I determined to see how difficult it would be to enable SSL support in my mail server.

SSL would encrypt all communication between the mail client and mail server, rendering it impervious to cracking - or at least much much much more impervious than sending your mail password in clear text (which is what happens in an open wireless network or open Internet network).

I'm not really a Unix system administrator; I learned how to run a Unix box (originally SunOS 4.1.3 back in 1994) by default to start a Web company. Nonetheless, even though I cannot write C programming code, I can compile software and configure Linux boxes with relative ease. What follows isn't for the faint of heart, but hand it to your system admin, if it's too far beyond your interest.

I knew that both Eudora and Outlook had enabled client-side SSL support in recent versions. I knew that Exchange (which I don't use) and sendmail (which I do) had the server-side components.

SSL uses a relatively clever system to encrypt messages without huge cryptographic overhead. Using a third-party certificate authority to keep both parties in a transaction honest, the two parties in SSL first exchange a key encrypted using public-key encryption. The key they exchange is then used for subsequent data interchanges. This allows a strong encryption system to be initiated through a secure key transfer.

I had the latest version of sendmail, 8.11.5, and I found a wonderful and straightforward page on how to compile and configure sendmail with SSL support. This page told me which files I needed, how to install and configure them, and how to create my own mini-certificate authority (CA). This last step allows an installation to not have to buy a certificate from VeriSign, which is perfectly fine when you're working with your own customers, employees, or colleagues, so no trust issue is at stake that a third party needs to be involved with.

It turns out that the steps involved in getting sendmail configured are trivial. I then proceded to the mail retrieval side: qpopper from Qualcomm, a free and highly configurable POP server. Again, it turns out that this is a breeze, but not as well documented.

You compile qpopper (if you've followed all the recommendations of the sendmail compilation) like this:

./configure --with-openssl=/usr/local/ssl

This points to the OpenSSL libraries and binaries. Now do the make and make install. Make sure that your inetd.conf or xinetd configuration files point to this new /usr/local/sbin/qpopper file, or that you put qpopper in the expected place.

Now you need to change the invocation of qpopper in inetd.conf or xinetd configuration:

qpopper -s -f /etc/pop.options

Make a new file called pop.options in etc, and put these lines in it:

set tls-private-key-file='/etc/mail/certs/key.pem'
set tls-server-cert-file='/etc/mail/certs/cert.pem'
set tls-support=stls

Reload inetd or xinetd, depending on Unix/Linux version. You should now be all set.

Remarkably, it does work - but only for POP. An obvious difference of opinion between the major client developers (Outlook and Eudora) and the sendmail team have led to an incompatibility in current versions of all interacting products. Notes for the next sendmail release, 8.12, indicate that the software will offer a configuration switch to fix this problem (which requires the client to send certain kinds of certificate information which Eudora and Outlook don't).

To set up Eudora with POP - which is the more important of the two, given that POP would allow your passwords to be sniffed - I went into Eudora 5.1 for Macintosh, selected SSL from Settings, and changed SSL for POP to Required. I tried to connect, and my Mac wisely warned me that the certificate authority for my mailserver was unknown; I accepted this, saved it, make another request - and now I'm secured for retrieval.