Why Standards Matter
for Email
and other amusements
Steven Champeon

CTO, hesketh.com/inc.

Delivered May 26, 2006
at Webstock, Wellington NZ
http://www.webstock.org.nz

Permanently archived at:
http://hesketh.com/publications/webstock/2006/email_standards/

Premise: Standards Matter

Just as with the Web, standards (as well as widely-accepted conventions) are vital to the continued success of email as a medium.

Many of the threats to email as a medium are rooted in a laxity and tolerance for failures to observe standards, or failures of, or weaknesses in, the protocol-defining standards themselves.

By enforcing and enhancing existing standards, fixing the existing holes in those standards, and introducing various new standards, we can fix email.

Basic overview of an SMTP session

connect (and wait for banner)
<- banner
-> HELO hostname
<- 220 OK
-> MAIL FROM: <foo@example.com>
<- 220 OK
-> RCPT TO: <local@user>
<- 220 OK
-> DATA
-> (headers)
-> (message body)
-> .
<- 220 Message accepted for delivery
-> QUIT
disconnect

Any of the green bits can provide reason to refuse the message.

Some standards for email

Standards for email continue to evolve, with DKIM in Internet-Draft stages of becoming an RFC.

How many mail systems get it wrong

Why does it matter?

Example in detail #1: Gmail

Example in detail #2: "helimore"

Example in detail #3: MyDoom, others

Example in detail #4: Chase

Example in detail #5: Qmail

Example in detail #6: NYTimes

Example in detail #7: ebay/paypal

http://pages.ebay.com/education/spooftutorial/spoof_4.html#learn_more

Example in detail #8: amazon/apple

Example in detail #9: ATT/comcast/algx

Example in detail #10: Earthlink

Example in detail #11: Verizon

Example in detail #12: "woodpeckers"

Example in detail #13: Mobster I. Syphilitic

Example in detail #14: HELO, me

Example in detail #15: Traps and their uses

Example in detail #16: "b0rk3n"

Some spamware is laughably broken.

It'd be funny if it weren't so stupid.

Example in detail #17: SURBL/URIBL

To summarize: strictness is a great defense

If widespread strictness were the rule, we could reject the following types of spam and abuse at connect time. (Some of us do anyway, and it's very effective).

That's without even analyzing for content (save URIs). Spam loads differ from host to host and account to account, but in my experience that will catch more than four fifths of all the spam we see.

What doesn't this solve?

So, how do we tighten things up?

Questions? Answers? Comments?

Also come see me on the panel session this evening, where they will not ask me "how do you like New Zealand?" :)

Thanks to the kind folks at Webstock for inviting me to speak, and to the folks at Signify for sponsoring me.