November 02, 2009

Your mail server sucks!

As e-mail turns 30, here's why Sendmail, the granddaddy of all mail transfer agents, still rules the roost

Somehow e-mail lives on despite spam, instant messaging, Twitter, Facebook, and LinkedIn. Heck, if it weren't for e-mail notifications, I'd never check my Facebook page. But what's driving e-mail these days?

A look at MailRadar.com shows that Sendmail is still the No. 1 MTA (mail transfer agent) in use today, followeded by Postfix, while Qmail is a distant third. And dear God, someone is still using MMDF. Surprisingly, Microsoft Exchange isn't even in the mix, which casts doubt on the validity of those numbers, but it's probably safe to say that Sendmail remains the top MTA.

[ Sendmail is one of InfoWorld's Top 10 Open Source Hall of Famers. Read the full story in "The greatest open source software of all time." ]

The rallying cry behind most non-Sendmail MTAs is that they're, well, not Sendmail. Sendmail is much maligned for being a security risk, but my experience of running hundreds of Sendmail-based mail servers and mail relays does not bear that out. Over the past 15 years, I've yet to see Sendmail used as an attack vector.

Case in point: I recently helped a friend set up MailMan on a hosted Linux VPS server. The VPS ran Plesk and Qmail. Seems simple enough, except that in this particular case, e-mail for the domain was hosted elsewhere, so a subdomain was required to push e-mail traffic to that specific server. Still, that's a very minor configuration issue, or so I thought. After several hours of diagnosing perplexing Qmail errors, I switched the whole server over to Sendmail and had everything running in a matter of a few minutes. Indeed, my familiarity with Sendmail assisted here, but I'm not a Qmail newbie either -- there are some significant problems related to Qmail and Plesk in this instance, and I simply wasn't willing to fall all the way down that particular rabbit hole.

Another stick poked at Sendmail is that it suffers from Byzantine configuration. Speaking as someone who's written custom rulesets for a hideously complex Sendmail structure, I can verify that when you start digging into the guts of Sendmail, it gets crazy real fast. But the point is that you really can dig into the guts. Like many things in computing, high configurability comes with high complexity. The reality is that 99 percent of Sendmail configurations are extremely simple -- a few lines in a sendmail.mc and a make and all is well.

additional resources
White Paper - 7 Technologies Behind Ultimate Storage Efficiency

White Paper

7 Technologies Behind Ultimate Storage Efficiency

Get the most out of the storage you already own. Download this whitepaper today and examine 7 key technologies behind maximizing your storage efficiency.

Download now »
Insider Threat Deep Dive Report

White Paper

Insider Threat Deep Dive Report

Stop unscrupulous insiders. A clever criminal can lull the boss into believing nothing is amiss. Systems designed to monitor the network for patterns of criminal or destructive behavior are much harder to fool. Learn how to put the right countermeasures in place and vastly reduce the threat posed by insiders.

Download now »
White Paper - A Powerful Platform for Virtualization

White Paper

A Powerful Platform for Virtualization

Examine the 5 unique requirements that virtualization imposes on hardware, and discover how the next generation of HP's ProLiant server line can deliver virtualized, efficient data centers, rapid ROI and lower operational expenses.

Download now »
White Paper - Backup Best Practices for HP EVA and VMware

White Paper

Backup Best Practices for HP EVA and VMware

Address the backup and restore challenges created by virtualized server environments by following these technical recommendations. Learn how VMware Consolidated Backup in conjunction with HP Data Protector can realize a VMware ESX backup that surpasses the 1 TB/h performance threshold, while minimizing storage resources overhead.

Download now »
cmaurand 2-Nov-09 2:22pm
As far as having Exchange server in the MTA mix, most people put something else in front of it to process spam and viruses so the MTA agent may not show up as Exchange which will skew that statistics. I know I always put a box running Postfix, Amavisd-new, Spamassassin with fuzzy-ocr, ClamAV in front of any exchange server. I also am happy to filter mail on my servers for any of my clients who run Exchange or Small business server for $50.00 per month.
mvip 3-Nov-09 8:23am

You mention migration headaches. I've been in similar situations myself, and I feel your pain. Perhaps not suitable for internal email migrations, but there's a tool called Yippiemove, which is an SaaS for email migration. If you're looking to simplify email migrations, this tool can definitely save you time.

Granted, it's not free, but IMHO it's well worth the money. I've used other open source tools such as imapsync, and imapcopy, but they don't come close. In particular if you're on a busy schedule.

Today's Headlines: First Look Newsletter

Find out what will be news for the day, with our first-thing-in-the-morning briefing.

©1994-2010 Infoworld, Inc.