A peak into how SpamAssassin works, and how to test e-mail before you send.
Reputation, accreditation, and authentication are the newest weapons in the war on spam, but ISPs and companies still rely primarily on anti-spam filters to determine if they deliver email messages to the inbox, bulk folder, or infamous black hole.
Filters were the first defense against spam although crude and ineffective. Some of those one-strike-you're-out programs are still around, especially on business mail servers. Filtering has since evolved into more sophisticated programs. They use a complex collection of tests to measure the probability a message is spam, rather than trash it at the first offense.
One well-known application is SpamAssassin, an open-source project of the Apache Software Foundation. In a corporate setting, usually small to midsized businesses and ISP mail servers, it runs each email message through hundreds of tests that analyze headers, text, and HTML coding and checks domains and IP addresses against DNS (define) blocklists and filtering databases.
When a message flunks a test, it scores anywhere from a fraction of a point to multiple points. If a message scores too many points, SpamAssassin rejects it. But the message can also receive negative points (a good thing) that help offset the unwanted positive points. Check out the list of tests to get a basic understanding of what SpamAssassin checks for.
Though it can reject permission-based messages, SpamAssassin has many positives:
A couple negatives, besides the rejection potential: End users, whether individuals or corporations, can set the maximum score as high or low as they want, although a score of 5 or so is most common. They can also decide which tests to apply. The scores vary according to how SpamAssassin is configured, and users can boost or reduce them if they want.
Also, SpamAssassin penalizes messages more heavily for factors you might not control, such as using open relays or blacklisted IP addresses, or using malformed HTML or MIME (define) coding. If you flunk one of those tests, notify your HTML designer or email service provider (ESP), pronto.
This Is a Test...
Most SpamAssassin tests target obvious spammer tricks, such as misspelling potentially offensive words and forging domains or dates.
Other tests seem innocuous but could cost you, such as "g a p p y t e x t" (0.5 points), and the subject or body IN ALL CAPS (0.3 points).
Below is a sample list of 10 tests (the point values vary depending on how the end user configures SpamAssassin):
Check Your Content Before Sending
A message content checker can help target potential problems prior to distribution. It runs your receiver and sender addresses, subject line, and message content past a collection of SpamAssassin rules. It then reports how your message fared and whether it's likely to be filtered. Most checkers suggest a score of 5.0 will get your email sent to the spam scrap heap.
All the major delivery monitoring companies include a content checker in their offerings, as do many ESPs. One of our favorite free checkers is the Lyris' Content Checker (full disclosure: Lyris and EmailLabs are now sister companies, both having been acquired by J.L. Halsey). It delivers a more complete analysis and doesn't give you a sales pitch. Just fill in the blanks, including your email text or the full HTML coding, and submit it. You'll get an instant score on the next screen and a more detailed report by return email.
Filters will probably always be with us, whether they remain primarily anti-spam tools or evolve into mechanisms that evaluate trustworthiness. At least the playing field is more level now than it was when filters trashed your messages for a single offense.
Next, we'll look at some sample email messages that failed the SpamAssassin test, what drove the score up, and how the messages scored after making some simple changes.
Check your content, and keep on deliverin'!
Want more email marketing information? ClickZ E-Mail Reference is an archive of all our email columns, organized by topic.
Twitter Canada MD Kirstine Stewart to Keynote Toronto
ClickZ Live Toronto (May 14-16) is a new event addressing the rapidly changing landscape that digital marketers face. The agenda focuses on customer engagement and attaining maximum ROI through online marketing efforts across paid, owned & earned media. Register now and save!
As director of ISP relations and delivery, Kirill Popov creates and enforces strict usage and anti-spam policies, maintains ISP and community relations, and oversees all abuse and policy investigations and inquiries for EmailLabs clients. Kirill works with clients on best practices, content, design, and list hygiene to minimize potential delivery issues. He's a registered member of the SpamCon foundation and representsEmailLabs on AIM's Council for Responsible E-Mail.
Loren McDonald is vice president of marketing at e-mail marketing automation company EmailLabs, overseeing corporate marketing activities and client consulting services. He has 20 years experience in marketing, consulting and strategic planning. Earlier, Loren was founder and president of Intevation, an e-marketing services firm specializing in e-mail and SEM. He's held executive marketing positions at companies including USWeb/CKS (marchFIRST), NetStruxr, and Arthur Andersen.
9 Strategies to Engage Your Consumers
Online marketing apps are highly engaging - taking visitors on short, but effective, conversion-focused journeys. This white paper illustrates 9 strategies to engaging consumers through app-like experiences.
Redefining 'Mobile-Only' Users: Millions Selectively Avoid the Desktop
A new breed of selective mobile-only consumers has emerged. What are the demos of these users and how and where can marketers reach them?
March 19, 2014