<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Word to the Wise &#187; steve</title>
	<atom:link href="http://blog.wordtothewise.com/author/steve/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.wordtothewise.com</link>
	<description>Email, Delivery, Spam and more</description>
	<lastBuildDate>Tue, 07 Feb 2012 23:24:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Don&#8217;t spam filter your role accounts</title>
		<link>http://blog.wordtothewise.com/2011/12/dont-spam-filter-your-role-accounts/</link>
		<comments>http://blog.wordtothewise.com/2011/12/dont-spam-filter-your-role-accounts/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 16:37:01 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[abacus]]></category>
		<category><![CDATA[abuse]]></category>
		<category><![CDATA[filtering]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=3698</guid>
		<description><![CDATA[A variety of &#8220;amazon.com order confirmations&#8221; showed up in my inbox this morning. They were quite well done, looking pretty close to real Amazon branding, so quite a few people will click on them. And they funnel people who do click to websites that contain hostile flash apps that&#8217;ll compromise their machines (and steal their [...]]]></description>
			<content:encoded><![CDATA[<p>A variety of &#8220;amazon.com order confirmations&#8221; showed up in my inbox this morning. They were quite well done, looking pretty close to real Amazon branding, so quite a few people will click on them. And they funnel people who do click to websites that contain hostile flash apps that&#8217;ll compromise their machines (and steal their private data, login and banking credentials then add them to botnets to attack other sites and so on).</p>
<p>Not good. Just the sort of urgent, high-risk issue that ISP abuse desks really want to hear about. I sent email about it to the ISPs involved, including a copy of the original email. One of them went to iWeb, a big (tens of thousands of servers) hosting company.</p>
<p>This was the response:</p>
<blockquote><p>&lt;abuse@noc.privatedns.com&gt;: host mott.privatedns.com[174.142.252.34] said: 554 rejected due to spam content (in reply to end of DATA command)</p></blockquote>
<p>That&#8217;s iWeb&#8217;s main abuse address for their address space, as registered with ARIN. They even have a comment in their network registration that says &#8220;Please use abuse@noc.privatedns.com for abuse issues&#8221;.</p>
<p>For email related abuse (spam, malware email, botnets, phishing, viruses, &#8230;) almost all valid, actionable abuse reports will include a copy of the email involved. And that&#8217;s exactly the sort of content that content-based spam filters do their best to block. That means that putting content-based spam filters on your abuse or security role addresses will prevent you seeing most reports about abusive traffic coming from your network.</p>
<p>There are some companies that have an intentional policy of rejecting most spam reports sent to them so that their abuse metrics look better, and they don&#8217;t have to pay for abuse desk staff to handle the high volumes of abuse reports their customers provoke. &#8220;Mistakenly&#8221; putting spam filters on their abuse alias is one way of doing that &#8211; others include using non-standard abuse aliases, demanding reports come in only via web forms, requiring abuse reports be sent in non-human-writable formats while discarding all others, and many more. If you don&#8217;t want to behave responsibly it&#8217;s easy enough to dodge those reports.</p>
<p>Legitimate companies really want to know about abusive traffic sooner rather than later, so they can shut it down and mitigate the damage as quickly as possible. Email systems are complex, though, and it&#8217;s quite easy for an upgrade to spam filtering at a companies main mailserver to mistakenly by applied to abuse@ and security@ aliases &#8211; especially when spam filtering or email services are outsourced. And if you&#8217;re a company that uses dozens of domains it&#8217;s easy to lose track of where mail to abuse@ some of those domains ends up.</p>
<p>If you&#8217;re responsible for email, abuse or security at your organization it&#8217;s worth occasionally checking that your role accounts actually work. Find yourself a fairly obvious bit of spam, then forward it to your abuse@ role address (with a sentence or two telling your abuse desk that you&#8217;re just testing, and can they reply to your mail so you know they received it).</p>
<p>Real spam sent directly to abuse@ role addresses can be a severe problem, but content-based filtering is not the way to deal with it. One approach that we suggest to our <a href="http://wordtothewise.com/products/abacus.html">Abacus</a> users is to prioritize reports that mention a URL or an IP address on your network, so that legitimate, actionable reports will &#8220;bubble up&#8221; above any spam.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/12/dont-spam-filter-your-role-accounts/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Cyber Monday</title>
		<link>http://blog.wordtothewise.com/2011/12/cyber-monday/</link>
		<comments>http://blog.wordtothewise.com/2011/12/cyber-monday/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 21:36:14 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Industry]]></category>
		<category><![CDATA[cyber monday]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=3670</guid>
		<description><![CDATA[There seemed to be a surge of email marketing trumpting Cyber Monday Sales in big, glossy lettering in the week before Cyber Monday &#8211; so much so that I was bored of the whole thing long before the sales actually started. I wondered whether there actually was a big increase in volume of mail, or [...]]]></description>
			<content:encoded><![CDATA[<p>There seemed to be a surge of email marketing trumpting Cyber Monday Sales in big, glossy lettering in the week before Cyber Monday &#8211; so much so that I was bored of the whole thing long before the sales actually started. I wondered whether there actually was a big increase in volume of mail, or whether it was just louder, pushier and more noticeable.</p>
<p>So I went through my inbox and categorized the legitimate email I received, pulling out the consumer adverts from the personal mail, work-related commercial mail and so on, and charted it for the past couple of months, broken down into adverts for books, software, &#8220;tech&#8221; &#8211; consumer electronics / computer equipment / software etc., and everything else.</p>
<p><a href="http://blog.wordtothewise.com/wp-content/uploads/2011/12/cybermonday.png" target="_blank"><img class="aligncenter size-medium wp-image-3671" title="cybermonday" src="http://blog.wordtothewise.com/wp-content/uploads/2011/12/cybermonday-300x253.png" alt="" width="300" height="253" /></a>The vertical grid marks each Monday, including the obvious spike on Cyber Monday, November 28th. The regular cycle of junk mail early in the work week, followed by quiet over the weekend is pretty clear. And sure enough, there&#8217;s a significant increase on Cyber Monday and the few days beforehand, dominated by consumer goods, tech and otherwise.</p>
<p>Excluding high traffic discussion lists, the mail I was sent over the period of this chart was:</p>
<p style="padding-left: 30px;">2.6% Consumer-targeted, opt-in commercial bulk email (as shown in the chart)</p>
<p style="padding-left: 30px;">7.1% Other legitimate email (1:1, social media notifications, business-related mail, some discussion lists)</p>
<p style="padding-left: 30px;">90.3% Spam</p>
<p>And, no, I didn&#8217;t buy anything on Cyber Monday.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/12/cyber-monday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>About that Junk Folder</title>
		<link>http://blog.wordtothewise.com/2011/11/about-that-junk-folder/</link>
		<comments>http://blog.wordtothewise.com/2011/11/about-that-junk-folder/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 00:12:25 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Delivery Improvement]]></category>
		<category><![CDATA[bulk folder]]></category>
		<category><![CDATA[engagement]]></category>
		<category><![CDATA[relevance]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=3631</guid>
		<description><![CDATA[I use a pretty standard mail filtering setup &#8211; a fairly vanilla SpamAssassin setup on the front end, combined with naive bayesian content filters in my mail client. So I don&#8217;t reject any mail, it just ends up in one of my inboxes or a junk folder. And I have a mix of normal consumer [...]]]></description>
			<content:encoded><![CDATA[<p>I use a pretty standard mail filtering setup &#8211; a fairly vanilla SpamAssassin setup on the front end, combined with naive bayesian content filters in my mail client. So I don&#8217;t reject any mail, it just ends up in one of my inboxes or a junk folder. And I have a mix of normal consumer mail &#8211; facebook, twitter, lots of commercial newsletters, mail from friends and colleagues and spam. (As well as that I have a lot of high traffic industry mailing lists, but overall it&#8217;s a fairly normal mix.)</p>
<p>My bayesian filter gets trained mostly by me hitting &#8220;this is spam&#8221; when spam makes it to my inbox. If I&#8217;m expecting an email &#8220;immediately&#8221; &#8211; something like a mailing list COI confirmation or email as part of buying something online &#8211; I&#8217;ll check my spam filter and move the mail to my inbox in the rare case it ended up there. Other than that I let it and spamassassin chug along with no tweaking.</p>
<p>I&#8217;m starting a data analysis project, based on my own inboxes, and as part of that I&#8217;m using some tools to look for false positives in my junk folders, and manually fixing anything that&#8217;s misclassified. I&#8217;ve been doing this for a couple of hours now, and I&#8217;ve found some interesting things.</p>
<ol>
<li>Simple content filters work remarkably well out of the box, at least for my mail stream. Spectacularly well. There&#8217;s very little in the way of false positives. Very, very little.</li>
<li>Of those false positives there&#8217;s nothing I&#8217;d have been bothered about. It&#8217;s generic, unexciting junk mail.</li>
<li>Most of the systemic false positives seem to be correlated with the senders doing something bad. Heathrow Express, for instance, sent me mail every two weeks or so since I&#8217;d signed up. Then for no obvious reason they stopped sending for three months, then started sending again. Every mail they sent after that pause ended up in the junk folder, and I never missed them.</li>
<li>I get regular newsletters from ThinkGeek. Every one of those goes to the inbox. I occasionally get mails from them about my account (&#8220;you&#8217;ve got 420 geek points left&#8221;) that are kinda transactional, but not something I expect to see &#8211; and they all end up in the junk folder. Several other senders do the same thing, and get the same result.</li>
<li>Several companies have used tagged addresses to send me newsletters for a while, and also used them to send unsolicited facebook invites (to the tagged address, from facebook servers). The regular newsletters all go to the inbox, while the facebook invites all go to the junk folder. &#8220;Legitimate&#8221; facebook mail, meanwhile, keeps going to the inbox.</li>
<li>Apple send me a lot of newsletters &#8211; I&#8217;m a Mac and iPhone developer, I get their consumer newsletters, transactional stuff from our local store &#8211; lots and lots of newsletters. They all made it to the inbox except for one. The one that ended up in the junk folder was a one-off about recycling, and it wasn&#8217;t up to their usual design standards &#8211; it had ugly big green &#8220;call to action&#8221; headlines in it, very different to their usual clean design.</li>
<li>Just one sender hit the junk folder every time. The distinctive thing about their messages (apart from them not being something I missed) was that the plain text part of them was dreadful, just a bad lynx dump of the html section. Even a &#8220;No plain text for you! Go to this link!&#8221; would have been better.</li>
</ol>
<p>I was surprised at how effective this simple content-based filtering setup had worked with little tuning other than hitting the this-is-spam button &#8211; both in it&#8217;s accuracy at removing spam while keeping a very low false positive rate, but also how well the false positives matched my judgement of &#8220;Meh. This mail isn&#8217;t interesting.&#8221;.</p>
<p>We spend a lot of time talking about the things you should do to make the mail relevant to the recipient &#8211; compelling content, consistent, predictable delivery schedules, clear consistent branding, use of a single consistent mail stream to communicate with a recipient rather than several different streams. Until I went through this exercise it wasn&#8217;t clear to me how much of an effect those things <em>also</em> have on fairly simple recipient-trained filters.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/11/about-that-junk-folder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Does it look like you&#8217;re spamming?</title>
		<link>http://blog.wordtothewise.com/2011/11/does-it-look-like-youre-spamming/</link>
		<comments>http://blog.wordtothewise.com/2011/11/does-it-look-like-youre-spamming/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 17:06:01 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[TWSD]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=3578</guid>
		<description><![CDATA[There are lots of terribly complicated rules in email marketing and retention. &#8220;Only send email to people who opted-in&#8221;, &#8220;Never use a pink background&#8221;[1], &#8220;Have a working unsubscription link&#8221;, &#8220;Don&#8217;t put FREE in the subject line&#8221;[1]. Another one should be &#8220;How does what you&#8217;re doing look to a typical recipient?&#8221;. I&#8217;ve received several pieces of [...]]]></description>
			<content:encoded><![CDATA[<p>There are lots of terribly complicated rules in email marketing and retention. &#8220;Only send email to people who opted-in&#8221;, &#8220;Never use a pink background&#8221;[1], &#8220;Have a working unsubscription link&#8221;, &#8220;Don&#8217;t put FREE in the subject line&#8221;[1].</p>
<p>Another one should be &#8220;How does what you&#8217;re doing look to a typical recipient?&#8221;.</p>
<p>I&#8217;ve received several pieces of spam recently from senders who were ticking quite a lot of the &#8220;email best practices&#8221; checkboxes, but who completely blew it by not looking at it from the recipients point of view. The mistakes they&#8217;ve made, and the things to learn from them, and much the same, so I&#8217;ll just give one example.</p>
<p><strong>&#8220;Likes Music&#8221; is not the same as &#8220;Likes Groupon Clones&#8221;</strong></p>
<p>I&#8217;ve been a subscriber to our local radio station&#8217;s mailing list for years &#8211; promos KFOG is running, local gigs, that sort of thing, all in a newsletter sort of format. They recently sent out an ad for a Groupon clone called &#8220;SweetJack&#8221; &#8211; on it&#8217;s own, not as part of a newsletter. I&#8217;m not interested, and I think it&#8217;s a fairly poor pitch and won&#8217;t work well for their demographic, but fair enough. A couple of weeks later I start getting spam from SweetJack, thanking me for signing up &#8211; to the tagged email address I&#8217;d only given to KFOG. And no mention of KFOG at all.</p>
<p>Most recipients are just going to see this as spam out of the blue from SweetJack, and hammer on the &#8220;This is Spam&#8221; button until it goes away. That&#8217;s dreadful for SweetJack&#8217;s reputation, and is going to hurt their delivery.</p>
<p>Recipients paying more attention are going to notice that the first they heard of SweetJack was an out of the ordinary promo by KFOG, and then they start getting spam from SweetJack. They&#8217;re likely to assume that KFOG sold their email addresses to SweetJack &#8211; and that they&#8217;re sending their spam to an email address that only KFOG has in my case confirms that. That&#8217;s going to be dreadful for SweetJack&#8217;s reputation <em>and</em> going to damage the relationship between KFOG and their existing subscribers. A dreadful idea.</p>
<p>Digging down deeper, it seems that while KFOG being bought out by media behemoth Cumulus Media a few years back didn&#8217;t damage their on-air content, it did change the amount of respect they have for their subscribers. SweetJack is a new Groupon clone started by Cumulus Media. They did have legitimate access to the KFOG mailing lists, sorta. It&#8217;s probably not an AUP or privacy violation. It&#8217;s just the sort of thing an eager marketing guy at the corporate owners would think was a great idea, to leverage the value of their existing subscribers.</p>
<p>But it would have been a pretty bad idea had they carried it out perfectly, with clear messaging and transparency to the recipients. And they blew their one opportunity to do it well, and I&#8217;m betting that most of the recipients have SweetJack categorized as &#8220;spammers&#8221;, both mentally and in their mail clients.</p>
<p>1. Not a real email marketing rule.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/11/does-it-look-like-youre-spamming/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Social Side of Advertising</title>
		<link>http://blog.wordtothewise.com/2011/10/the-social-side-of-advertising/</link>
		<comments>http://blog.wordtothewise.com/2011/10/the-social-side-of-advertising/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 17:46:34 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Industry]]></category>
		<category><![CDATA[real people]]></category>
		<category><![CDATA[value]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=3567</guid>
		<description><![CDATA[Most of the time when you&#8217;re sending bulk email you&#8217;re sending to a fairly anonymous list of email addresses. If you&#8217;re a good email marketer you&#8217;ve got a fairly good idea of their demographics, where the email addresses came from and maybe that they&#8217;ve purchased things from you in the past. But they&#8217;re still strangers [...]]]></description>
			<content:encoded><![CDATA[<p>Most of the time when you&#8217;re sending bulk email you&#8217;re sending to a fairly anonymous list of email addresses. If you&#8217;re a good email marketer you&#8217;ve got a fairly good idea of their demographics, where the email addresses came from and maybe that they&#8217;ve purchased things from you in the past. But they&#8217;re still strangers &#8211; a &#8220;pre-existing business relationship&#8221; is not a relationship.</p>
<p>What would you do differently if all those recipients were people you knew? Friends, colleagues, family &#8211; people with faces and names and stories and real relationships with you, rather than a database query or a spreadsheet full of addresses? Would you send the same emails if you expected to be meeting some of the recipients for a drink after work the next day, or handing out candy with them this evening?</p>
<p>And on the flip-side of that&#8230; if a company wanted you to send a typical junk message to everyone you know &#8211; coming from &#8220;you&#8221; directly to the inboxes of all your friends, associates, colleagues and family &#8211; would you do it? If you would, how much cold, hard cash would you want to be paid for each message sent?</p>
<p>I really want to know what you think. Leave me a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/10/the-social-side-of-advertising/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DKIM is Done</title>
		<link>http://blog.wordtothewise.com/2011/09/dkim-is-done/</link>
		<comments>http://blog.wordtothewise.com/2011/09/dkim-is-done/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 23:32:13 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Industry]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[adsp]]></category>
		<category><![CDATA[DKIM]]></category>
		<category><![CDATA[dkimcore]]></category>
		<category><![CDATA[ietf]]></category>
		<category><![CDATA[spf]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=3444</guid>
		<description><![CDATA[This was posted to the IETF DKIM Working Group mailing list this morning: The dkim working group has completed its primary charter items, and is officially closing. The mailing list will be retained for future discussions involving dkim. The list archive will also be retained. The dkim working group was primarily focused on DomainKeys Identified [...]]]></description>
			<content:encoded><![CDATA[<p>This was posted to the IETF DKIM Working Group mailing list this morning:</p>
<blockquote><p>The <a href="http://www.ietf.org/dyn/wg/charter/dkim-charter" target="_blank">dkim working group</a> has completed its primary charter items, and is officially closing. The <a href="http://mipassoc.org/mailman/listinfo/ietf-dkim" target="_blank">mailing list</a> will be retained for future discussions involving dkim. The <a href="http://mipassoc.org/pipermail/ietf-dkim/" target="_blank">list archive</a> will also be retained.</p>
<p>The dkim working group was primarily focused on DomainKeys Identified Mail (DKIM) Signatures and DomainKeys Identified Mail (DKIM) Author Domain Signing Practices (ADSP) (<a href="http://www.faqs.org/rfcs/rfc5617.html" target="_blank">RFC 5617</a>). We applaud the working group for progressing DomainKeys Identified Mail (DKIM) Signatures from proposed standard (<a href="http://www.faqs.org/rfcs/rfc4871.html" target="_blank">RFC 4871</a>) to Draft Standard (<a href="http://www.faqs.org/rfcs/rfc6376.html" target="_blank">RFC 6376</a>). The working group also produced the following Informational RFCs: Analysis of Threats Motivating DomainKeys Identified Mail (DKIM) (<a href="http://www.faqs.org/rfcs/rfc4868.html" target="_blank">RFC 4868</a>), DomainKeys Identified Mail (DKIM) Service Overview (<a href="http://www.faqs.org/rfcs/rfc5585.html" target="_blank">RFC 5585</a>), Requirements for a DomainKeys Identified Mail (DKIM) Signing Practices Protocol (<a href="http://www.faqs.org/rfcs/rfc5016.html" target="_blank">RFC 5016</a>), and DomainKeys Identified Mail (DKIM) Development, Deployment, and Operations (<a href="http://www.faqs.org/rfcs/rfc5863.html" target="_blank">RFC 5863</a>). The proposed standard DKIM And Mailing Lists (<a href="http://www.faqs.org/rfcs/rfc6737.html" target="_blank">RFC 6737</a>) was the final RFC produced by the working group.</p></blockquote>
<p><strong>What does this mean for DKIM-the-protocol?<br />
</strong></p>
<p>DKIM as a protocol is finished and stable. It&#8217;s possible that there could be an incompatible &#8220;DKIM version 2&#8243; in the future, but it&#8217;s fairly unlikely. It&#8217;s also possible that there&#8217;ll be a clarification of the existing spec in the future, if someone flushes out some bugs or inconsistencies while they&#8217;re implementing it, but that won&#8217;t break any existing usage.</p>
<p>If you want to attach an identifier to mail you send, or you want to use those identifiers to handle whitelisting or reputation-tracking or to drive domain-based feedback loops for mail you receive, DKIM is the way to do it.</p>
<p><strong>What&#8217;s left to do?</strong></p>
<p><strong>DomainKeys Must Go</strong></p>
<p>DomainKeys was the forerunner to DKIM. It&#8217;s been obsolete for several years and at this point nobody should be signing with it (or paying any attention to DomainKeys signatures). I&#8217;ve seen several cases recently where attempting to support both DomainKeys and DKIM lead to operational problems with the DKIM signing. It&#8217;s dead, let it go.<strong><br />
</strong></p>
<p><strong>Good operational practices for signing with DKIM</strong></p>
<p>This is the big bit of work left to do. While verifying a DKIM message and extracting the d= identifier from it is very well-defined, how best to <em>sign</em> with DKIM &#8211; including how best to do key management, key delegation and what DKIM options to use when signing &#8211; still hasn&#8217;t crystallized. Our suggestions for that are here: <a title="DKIMCore" href="http://dkimcore.org/" target="_blank">www.dkimcore.org</a></p>
<p><strong>Configuration API support in smarthosts</strong></p>
<p>While messages can be signed with DKIM anywhere in the mail pipeline they&#8217;re almost always signed at the sender smarthost. Many of the smarthosts added DKIM support by evolving the code they already had to sign with DomainKeys, which was a good engineering decision at the time. But DKIM is a much more flexible protocol than DomainKeys was, yet I&#8217;m told some of the smarthosts haven&#8217;t evolved far enough and only really support a &#8220;DomainKeys-like subset&#8221; of DKIM. Limited APIs like that reduce your flexibility in how you deploy DKIM, and will mean you can&#8217;t even try some of the smarter ways to use it.</p>
<p>As a minimum, your smarthost should be able to sign a message with any arbitrary private key / d= value pair rather than being tied to any email address or domain in the email headers. If it can&#8217;t do that, it&#8217;s not really supporting DKIM. If it can sign a message twice or three times efficiently &#8211; while processing the body of the message just once &#8211; that&#8217;s a DKIM feature that&#8217;s likely to be useful for ESPs.</p>
<p>Some sort of API to allow key management automation (deployment, delegation, rotation and invalidation) would make rich DKIM use much easier to deploy at scale, but I don&#8217;t know if anyone has looked at that sort of support in smarthosts yet. Anyone know?</p>
<p><strong>Semantics</strong></p>
<p>There&#8217;s still some misunderstanding about what some elements of DKIM <em>mean</em>.</p>
<p>What is the identity that DKIM conveys? (Usually the &#8220;d=&#8221; field, though the additional information in the &#8220;i=&#8221; field might sometimes be part of that too).</p>
<p>What does the selector mean? (Absolutely nothing! If you try and claim it does, you&#8217;re doing it wrong. It&#8217;s intended for key rotation and key delegation, and attempting to use it for anything else will make key management harder, and likely end up making the signature less secure).</p>
<p>What do multiple signatures mean? (That it was signed by each of those domains. None is more important than the others, and there&#8217;s no &#8220;primary&#8221; signing domain. What you do with that information is a whole other thing, though).</p>
<p><strong>What about ADSP?</strong></p>
<p>ADSP is effectively dead. The discussions that happened as part of it&#8217;s development, and the results (both good and bad) of limited testing with it will probably lead to something with similar goals in the near future &#8211; more limited in scope, probably, but less fundamentally flawed.</p>
<p><strong>Whence SPF?</strong></p>
<p>SPF isn&#8217;t dead, by any means. I expect some mail recipients will check both DKIM and SPF for the near future (though I&#8217;ve heard some interesting discussion about receivers keeping a local cache of DKIM results correlated with sending IP which may end up replacing one common SPF-based performance hack).</p>
<p><strong>And what&#8217;s next?</strong></p>
<p>Thanks to everyone involved in the DKIM specification process for creating this unobtrusive, robust way of attaching an identity to an email!</p>
<p>It&#8217;s going to be interesting to see what features people build on top of the DKIM foundation.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/09/dkim-is-done/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to respond to an abuse complaint</title>
		<link>http://blog.wordtothewise.com/2011/08/how-to-respond-to-an-abuse-complaint/</link>
		<comments>http://blog.wordtothewise.com/2011/08/how-to-respond-to-an-abuse-complaint/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 17:05:28 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[abuse desk]]></category>
		<category><![CDATA[mailchimp]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=3358</guid>
		<description><![CDATA[There&#8217;s a lot of variation in how ESPs respond to a report of one of their customers sending spam. Almost all ESPs will suppress future email to the recipient. Most will also note that there was a complaint about the sender, and use a count of those complaints for reporting, triage and escalation of problems. [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a lot of variation in how ESPs respond to a report of one of their customers sending spam. Almost all ESPs will suppress future email to the recipient. Most will also note that there was a complaint about the sender, and use a count of those complaints for reporting, triage and escalation of problems. Beyond that, though, there&#8217;s little consistency.</p>
<p>I sent a spam report to abuse@mailchimp last week. The spam was nothing special &#8211; it was an advert about bouncy castles from a small company local to me sent to a tagged address used to register a domain that expired several years ago, so I knew someone had purchased a &#8220;targeted&#8221; list. The mail I sent to mailchimp was just one line, mentioning where the email address had come from and a full copy of the email with headers &#8211; again, nothing special.</p>
<p>The response I got back from Meredith was particularly good, so I thought I&#8217;d share it.</p>
<blockquote><p>Hi Steve!</p>
<p>Thank you for getting in touch with us with the info on the sender. I found the account and turns out they were already suspended for excessive bounces. The account is permanently banned going forward and we&#8217;ll do everything we can to ensure this doesn&#8217;t happen again!<cite> Meredith @ MailChimp Abuse</cite></p></blockquote>
<p>I received that less than 90 minutes after sending in the report. In less than fifty words it tells me an awful lot about MailChimp and their abuse policies and procedures.</p>
<ul>
<li>MailChimp have an abuse desk</li>
<li>They actually look at each report, rather than handling them entirely automatically</li>
<li>They have the time to send what looks like a hand-written reply</li>
<li>They&#8217;re staffed at an appropriate level for the level of spam reports they receive and/or have good automation</li>
<li>&#8230; all of which means that they must run a pretty clean ship &#8211; ESPs who don&#8217;t can drown in many thousands of reports a day</li>
<li>They understand that the information about where an email address was acquired from is important, which means they&#8217;re really a competent <em>abuse desk</em>, not just tier one customer support</li>
<li>They have automation in place to detect and shut down bad customers even before getting complaints</li>
<li>They&#8217;re taking appropriate action against the customer to stop the spam (sometimes getting rid of the customer is appropriate, sometimes educating them is)</li>
<li>They&#8217;re humble enough to know that even if they&#8217;re handling things well, there&#8217;s always room for improvement</li>
</ul>
<p>We&#8217;ve worked with MailChimp in the past, so it&#8217;s quite possible Meredith recognized my name, despite it being sent from my personal account to their abuse role account. Even so, it tells a strong story &#8211; and if an abuse desk is aware enough of people in the industry and paying enough attention to notice them in the incoming abuse@ mail stream without cues, that&#8217;s something in itself.</p>
<p>How an ESP responds to a complaint tells a much stronger story about  their attitude to bad behaviour by their customers than a dozen webpages  of policy and claims of zero tolerance. If that sort of response were sent to ISP postmaster or NOC staff, a blacklist staffer or some  other filter operator it would have a direct effect, but consistently good  responses to reports of spam also builds a reputation within the  legitimate email industry &#8211; and that reputation can affect how others  will work with you when you need them to.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/08/how-to-respond-to-an-abuse-complaint/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Evil weasels and random monkeys</title>
		<link>http://blog.wordtothewise.com/2011/08/evil-weasels-random-monkeys/</link>
		<comments>http://blog.wordtothewise.com/2011/08/evil-weasels-random-monkeys/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 23:48:53 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Confirmed (double) opt-in]]></category>
		<category><![CDATA[monkey]]></category>
		<category><![CDATA[weasel]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=3307</guid>
		<description><![CDATA[I&#8217;m doing testing on a new release of Abacus at the moment, so I&#8217;m in a software QA (Quality Assurance) frame of mind. One of the tenets of software QA is &#8220;Assume users are malicious&#8221;. That&#8217;s also one of the tenets of security engineering, but in a completely different way. A security engineer treats users [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m doing testing on a new release of Abacus at the moment, so I&#8217;m in a software QA (Quality Assurance) frame of mind.</p>
<p>One of the tenets of software QA is &#8220;Assume users are malicious&#8221;. That&#8217;s also one of the tenets of security engineering, but in a completely different way.</p>
<p>A security engineer treats users as malicious, as the users he or she is most concerned about are crackers trying to compromise their system, so they really are malicious. A QA engineer knows that if you have enough users in the field, making enough different mistakes or trying to do enough unusual things, they&#8217;ll find all the buggy little corners of your application eventually &#8211; and crash it or corrupt data more reliably than a genuinely malicious user.</p>
<p>As a QA engineer it&#8217;s easier to personify the forces of chaos you&#8217;re defending against as a single evil weasel than a million random monkeys.</p>
<p>In the bulk email world the main points where you interact with your users are signup, confirmation, unsubscription and click-throughs. Always think about what the evil weasel will do at that point.</p>
<p><strong>Signup</strong></p>
<ul>
<li>The weasel will enter an invalid email address &#8211; check it at signup time</li>
<li>The weasel will enter a valid email address that belongs to someone else &#8211; there are many ways to defend against that, none of them clearly the best</li>
<li>The weasel will enter leading or trailing spaces &#8211; strip &#8216;em off</li>
<li>The weasel will enter non-ASCII characters in their name &#8211; and that&#8217;s OK unless it breaks your data handling</li>
<li>The weasel will enter non-ASCII characters in their email address &#8211; and that&#8217;s probably not OK, not yet, anyway</li>
<li>If you treat a character as &#8220;magic&#8221; anywhere in your data flow (whether that be a quote, a comma, tab or even a newline) your weasel will sneak it in to their data somewhere &#8211; always sanitize your inputs as soon as possible</li>
<li>If you rely on client-side validation to ensure clean data, your weasel will turn off javascript &#8211; always validate server-side, even if you&#8217;re validating client-side</li>
<li>The weasel will sign up multiple times, in different places &#8211; yet they don&#8217;t really want multiple emails</li>
<li>The weasel has a million email addresses, and will sign them all up if you send him a million tchotchkes to do that &#8211; don&#8217;t incentivize that sort of behaviour</li>
<li>The weasel has, inexplicably, a thousand friends and will sign them all up if you send him a thousand tchotchkes to do so &#8211; which could conceivably be what you want, but be very, very sure before incentivizing for it</li>
<li>The weasel surely has the email addresses of 100,000 strangers who he&#8217;ll tell you are his friends &#8211; be very careful about offering incentives for signups, as the weasel will happily have you send 99,999 pieces of unwanted spam so that he gets his nickel for the one recipient who buys from you</li>
</ul>
<p><strong>Confirmation</strong></p>
<ul>
<li>The weasel will run antivirus software that automatically prefetches everything in the email &#8211; either have your &#8220;yes I want to subscribe&#8221; link go to a page that requires additional action, or have a &#8220;hidden&#8221; link in the email that invalidates the opt-in link if it&#8217;s followed</li>
<li>The weasel will visit the confirmation link multiple times, and will complain if it welcomes them to the list each time &#8211; consider &#8220;You&#8217;re already subscribed to&#8230;&#8221; type language, if they&#8217;re already subscribed</li>
<li>The weasel will edit the URL the opt-in link goes to, changing the email address embedded in it &#8211; so make sure that it&#8217;s an opaque token or cryptographically signed</li>
<li>If the opt-in link contains the number 10237, the weasel will also go to the same URL with the number 10236 or 10238 &#8211; make sure that they can&#8217;t affect other peoples signups that way</li>
<li>The weasel will sign up for your list, then unsubscribe, then six months later find the old confirmation email and click on the opt-in link &#8211; make sure that doesn&#8217;t work, instead routing them to a signup page, perhaps</li>
</ul>
<p><strong>Unsubscription</strong></p>
<ul>
<li>Your weasel doesn&#8217;t know their email address &#8211; make sure they don&#8217;t need to know it to unsubscribe</li>
<li>Your weasel does know other peoples email addresses &#8211; make sure they need to know more than that to unsubscribe other people</li>
<li>The weasel will run antivirus software that prefetches URLs in the email &#8211; so either require them to hit a button on the destination webpage or have a &#8220;hidden&#8221; link in the email that invalidates the opt-out link if it&#8217;s followed</li>
<li>The weasel will hit the &#8220;this is spam&#8221; link to unsubscribe &#8211; make sure that doing that does suppress mail to them</li>
<li>The weasel will appear almost intentionally stupid in their inability to navigate the complexities of your unsubscription mechanism &#8211; make sure that they can contact a human, and that that human has the power to suppress mail to them</li>
<li>The weasel will share the email you send them with other people, who&#8217;ll then click on the unsubscription link &#8211; give them the email address on the unsubscription page, so they&#8217;re less likely to inadvertently unsubscribe the original weasel</li>
</ul>
<p><strong>Click-throughs</strong></p>
<ul>
<li>The weasel won&#8217;t remember their username or password &#8211; so don&#8217;t make them log in to see the content you link to from the email</li>
<li>The weasel will forward your email on to other people &#8211; so make sure the other people can&#8217;t see any of the weasel&#8217;s PII or spend the weasel&#8217;s money without more authentication</li>
<li>The weasel will click on the links in the email repeatedly &#8211; so make sure that&#8217;s OK</li>
<li>The weasel will suddenly find email you sent them three years ago, and expect the links to still work</li>
<li>The weasel will try to copy and paste URLs from the text part of your email &#8211; so try and keep them under 70 characters or so</li>
</ul>
<p>There are countless other things the evil weasel and the random monkeys will do to throw a spanner into your systems. Bear them in mind when you&#8217;re putting infrastructure, or a campaign, or policies together.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/08/evil-weasels-random-monkeys/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>A Disturbing Trend</title>
		<link>http://blog.wordtothewise.com/2011/08/a-disturbing-trend/</link>
		<comments>http://blog.wordtothewise.com/2011/08/a-disturbing-trend/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 18:11:30 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Industry]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[spam filters]]></category>
		<category><![CDATA[spamtraps]]></category>
		<category><![CDATA[trend]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=3264</guid>
		<description><![CDATA[Over the last year or so we&#8217;ve been hearing some concerns about some of the blacklisting policies and decisions at Trend Micro / MAPS. One common thread is that the ESP customers being listed aren&#8217;t the sort of sender who you&#8217;d expect to be a significant source of abuse. Real companies, gathering addresses from signup [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last year or so we&#8217;ve been hearing some concerns about some of the blacklisting policies and decisions at Trend Micro / MAPS.</p>
<p>One common thread is that the ESP customers being listed aren&#8217;t the sort of sender who you&#8217;d expect to be a significant source of abuse. Real companies, gathering addresses from signup forms on their website. Not spammers who buy lists, or who harvest addresses, or who are generating high levels of complaints &#8211; rather legitimate senders who are, at worst, being a bit sloppy with their data management. When Trend blacklist an IP address due to a spamtrap hit from one of these customers the actions they are demanding before delisting seem out of proportion to the actual level of abuse seen &#8211; often requiring that the ESP terminate the customer or have the customer reconfirm the entire list.</p>
<p>&#8220;Reconfirming&#8221; means sending an opt-in challenge to every existing subscriber, and dropping any subscriber who doesn&#8217;t click on the confirmation link. It&#8217;s a very blunt tool. It will annoy the existing recipients and will usually lead to a lot of otherwise happy, engaged subscribers being removed from the mailing list. While reconfirmation can be a useful tool in cleaning up senders who have serious data integrity problems, it&#8217;s an overreaction in the case of a sender who doesn&#8217;t have any serious problems. &#8220;Proportionate punishment&#8221; issues aside, it often won&#8217;t do anything to improve the state of the email ecosystem. Rather than staying with their current ESP and doing some data hygiene work to fix their real problems, if any, they&#8217;re more likely to just move elsewhere. The ESP loses a customer, the sender keeps sending the same email.</p>
<p>If this were all that was going on, it would just mean that the MAPS blacklists are likely to block mail from senders who are sending mostly wanted email.</p>
<p><em>It&#8217;s worse than that, though.</em></p>
<p>The other thread is that we&#8217;re being told that Trend/MAPS are blocking IP addresses that only send confirmed, closed-loop opt-in email, due to spamtrap hits &#8211; and they&#8217;re not doing so accidentally, as they&#8217;re not removing those listings when told that those addresses only emit COI email. That&#8217;s something it&#8217;s hard to believe a serious blacklist would do, so we decided to dig down and look at what&#8217;s going on.</p>
<p>Trend/MAPS have registered upwards of 5,000 domains for use as spamtraps. Some of them are the sort of &#8220;fake&#8221; domain that people enter into a web form when they want a fake email address (&#8220;fakeaddressforyourlist.com&#8221;, &#8220;nonofyourbussiness.com&#8221;, &#8220;noneatall.com&#8221;). Some of them are the sort of domains that people will accidentally typo when entering an email address (&#8220;netvigattor.com&#8221;, &#8220;lettterbox.com&#8221;, &#8220;ahoo.es&#8221;). Some of them look like they were created automatically by flaky software or were taken from people obfuscating their email addresses to avoid spam (&#8220;notmenetvigator.com&#8221;, &#8220;nofuckinspamhotmail.com&#8221;, &#8220;nospamsprintnet.com&#8221;). And some are real domains that were used for real websites and email in the past, then acquired by Trend/MAPS (&#8220;networkembroidery.com&#8221;, &#8220;omeganetworking.com&#8221;, &#8220;sheratonforms.com&#8221;). And some are just inscrutable (&#8220;5b727e6575b89c827e8c9756076e9163.com&#8221; &#8211; it&#8217;s probably an MD5 hash of something, and is exactly the sort of domain you&#8217;d use when you wanted to be able to prove ownership after the fact, by knowing what it&#8217;s an MD5 hash of).</p>
<p>Some of these are good traps for detecting mail sent to old lists, but many of them (typos, fake addresses) are good traps for detecting mail sent to email addresses entered into web forms &#8211; in other words, for the sort of mail typically sent by opt-in mailers.</p>
<p>How are they listing sources of pure COI email, though? That&#8217;s simple &#8211; Trend/MAPS are taking email sent to the trap domains they own, then they&#8217;re clicking on the confirmation links in the email.</p>
<p>Yes. Really.</p>
<p>So if someone typos their email address in your signup form (&#8220;steve@netvigattor.com&#8221; instead of &#8220;steve@netvigator.com&#8221;) you&#8217;ll send a confirmation email to that address. Trend/MAPS will get that misdirected email, and may click on the confirmation link, and then you&#8217;ll &#8220;know&#8221; that it&#8217;s a legitimate, confirmed signup &#8211; because Trend/MAPS did confirm they wanted the email. Then at some later date, you&#8217;ll end up being blacklisted for sending that 100% COI email to a &#8220;MAPS spamtrap&#8221;. Then Trend/MAPS require you to reconfirm your entire list to get removed from their blacklist &#8211; despite the fact that it&#8217;s already COI email, and risking that Trend/MAPS may click on the confirmation links in that reconfirmation run, and blacklist you <em>again</em> based on the same &#8220;spamtrap hit&#8221; in the future.</p>
<blockquote><p>We have been in a pretty lengthy back and forth with  maps.  Its just a disaster all around.  We cleaned up around 200+  accounts, but they are still seeing trap hits.  I finally got fed up and  we just asked them outright &#8220;we cleaned up 200+ customers lists, and are still hitting traps?  any chance you guys are clicking links?&#8221;.  At this point they have a substantial amount of our IP space listed and are just making this painful.  They haven&#8217;t had time to respond to our  question, but at this point maps seems to be the new SORBS.<cite>An ESP&#8217;s take on the issue</cite></p></blockquote>
<p>We (Word to the Wise) aren&#8217;t an ESP &#8211; if we were then the risk of damage to our business due to publicly criticizing a blacklist would mean we wouldn&#8217;t be able to do it &#8211; so we don&#8217;t have first-hand experience of this behaviour. We have been told by six ESPs and an infrastructure company that Trend/MAPS has ongoing issues with inaccurate listings. Four of them have said that Trend/MAPS is clicking on links in email they&#8217;re sending, in some cases confirmation links. We&#8217;ve been provided data, including web access logs showing clicks on confirmation links in email sent to &#8220;trap&#8221; domains registered by Trend from anonymous Taiwanese consumer IP addresses. Many of the &#8220;trap&#8221; domains are registered by a Director of &#8220;Core Tech&#8221; at Trend Micro, at a Taiwanese address.</p>
<p>These email addresses were confirmed over the past several years, and have been used to justify aggressive blacklisting of ESPs since. MAPS representatives also confirmed to two ESP representatives that they did sometimes click on links in email sent to their trap addresses during investigations &#8211; and that matches data provided to us by another ESP that suggests Trend/MAPS will sometimes go through and click on many of the links in a batch of emails, possibly including any confirmation or reconfirmation links in those emails.</p>
<p>So, it seems that the Trend/MAPS blacklists are being run in a way that will sometimes blacklist sources of 100% COI wanted email, as well as sources of likely wanted email that&#8217;s not entirely COI. Conversely, it&#8217;s pretty easy to identify or block the trap domains they&#8217;re using (a simple google search will find thousands of them, and null-routing the five or so MXes they use would block all email to them) so any moderately smart spammer could easily avoid being listed by them. That suggests the data quality is probably poor.</p>
<p><em>It&#8217;s even worse than that, though.</em></p>
<p>Trend/MAPS don&#8217;t only run their own spamtrap domains. They also are fed data by spamtraps run by consumer ISPs, including Comcast. There&#8217;s data from the ESPs we&#8217;ve been talking to that show that senders that have been blacklisted by Trend/MAPS for &#8220;spamtrap hits&#8221; are sending email to @comcast.net addresses that had previously been confirmed by the same anonymous Taiwanese consumer IP address as was found clicking on confirmation links. So it&#8217;s likely that Trend/MAPS habit of clicking confirmation links in mail sent to &#8220;spamtraps&#8221; is poisoning ISPs independent spamtrap data, as well as their own published blacklists.</p>
<p>ESP representatives have been asking Trend Micro about these issues for months. On Wednesday we invited a MAPS rep to comment on the issue as we were planning on writing about it, but didn&#8217;t hear anything back beyond a request for specific examples. We declined to provide that for several reasons &#8211; it&#8217;s not our data to share, doing so would reveal which ESPs provided it to us, and it&#8217;s all been provided to Trend/MAPS by the ESPs concerned so they already have the data and are aware of the issues.</p>
<p>Trend/MAPS are tainting the spamtraps they use, by setting them up such that they&#8217;re likely to catch sources of mostly wanted email, including sources of 100% COI email. If they were doing that as part of a survey or research project, that would be OK, though the data would likely not be of much value. Instead, though, they&#8217;re accusing the senders of this mail of spamming, listing them on their blacklist and making unreasonable demands of the senders before they&#8217;ll remove their listing. <del>As MAPS are also selling this data to large US consumer ISPs who use it to block email, the senders don&#8217;t have much choice but to comply with those unreasonable demands</del>. (<strong>Update 8/9/11</strong>: A sender who was listed by MAPS in the  last few days is seeing inbox delivery at the major US ISPs we believed were Trend/MAPS customers. It appears that our data on MAPS usage is out  of date.) I also wonder how accurate Trend/MAPS are in how they represent their spam filtering services and blacklist data to those ISPs who use them &#8211; I doubt those ISPs are intending to buy a blacklist service that blocks wanted, COI email.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/08/a-disturbing-trend/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Authentication Cheat Sheet</title>
		<link>http://blog.wordtothewise.com/2011/07/authentication-cheat-sheet/</link>
		<comments>http://blog.wordtothewise.com/2011/07/authentication-cheat-sheet/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 22:34:33 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[cheat]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=3194</guid>
		<description><![CDATA[There are a several approaches to authenticating email, and the different authentication methods have a lot of different settings to choose from (sometimes because they&#8217;re useful, other times just because they were designed by committee). It&#8217;s nice that they have that flexibility for the complex situations that might benefit from them, but almost all the [...]]]></description>
			<content:encoded><![CDATA[<p>There are a several approaches to authenticating email, and the different authentication methods have a lot of different settings to choose from (sometimes because they&#8217;re useful, other times just because they were designed by committee). It&#8217;s nice that they have that flexibility for the complex situations that might benefit from them, but almost all the time you just want to choose a good, default authentication approach.</p>
<p>So here&#8217;s some short prescriptive advice in no particular order for &#8220;how to do email authentication at an ESP well&#8221; without the long discussions of alternative approaches and justification of each piece of advice.</p>
<ol>
<li>Remove every trace of DomainKeys from your email flow</li>
<li>Sign all your email with DKIM</li>
<li>Publish SPF records</li>
<li>Have your SPF records finish with ~all, not -all</li>
<li>Ignore SenderID, unless you have delivery problems at Hotmail (and even then measure results rather than just assuming it will help)</li>
<li>Don&#8217;t publish ADSP records</li>
<li>Have the customer pick a single domain to tie their reputation to &#8211; ideally their &#8220;main&#8221; domain, but if that&#8217;s not possible then a customer-specific domain owned by the ESP is the next best thing (i.e. &#8220;customer.com&#8221; is ideal, but &#8220;customer.esp.com&#8221; is much better than just &#8220;esp.com&#8221;)
<ol style="list-style-type: lower-alpha;">
<li>Use that domain as the d= field when signing email (&#8220;d=customer.com&#8221;)</li>
<li>Use that domain, or a sub-domain of it, in the From: field of the email (&#8220;From: Someone &lt;someone@customer.com&gt;&#8221; or &#8220;From: Someone &lt;someone@fooble.customer.com&gt;&#8221;)</li>
</ol>
</li>
<li>Pick a good email address to use in the From: field, don&#8217;t change it lightly</li>
<li>Use two-part selectors for DKIM, one specific to you, the ESP, on the right and one for key rotation on the left (<a title="DKIM Core" href="http://dkimcore.org/deployment/esp.html" target="_blank">why do this?</a>)</li>
<li>Use just what&#8217;s needed for DKIM &#8211; don&#8217;t use i=, l=, q=, x= or z= in the signature, don&#8217;t use g= or s= in the published key
<ol style="list-style-type: lower-alpha;">
<li><a title="DKIM Core" href="http://dkimcore.org/" target="_blank">dkimcore.org</a> has more specific advice about which subset of DKIM to sign with</li>
</ol>
</li>
<li>Make sure your SPF records are valid</li>
<li>TLS/SSL isn&#8217;t useful for authenticating mail (it&#8217;s great for connecting to a smarthost from a mail client, but not for connections from the smarthost)</li>
<li>None of SPF, DKIM or TLS are really designed to protect or hide the contents of a message
<ol style="list-style-type: lower-alpha;">
<li>Customers who really want that could look at S/MIME or PGP</li>
<li>&#8230; but better to design their business model such that they don&#8217;t need to, as client support is spotty at best</li>
</ol>
</li>
<li>Empirical evidence that doing something will make a customer happy trumps any of the above
<ol style="list-style-type: lower-alpha;">
<li>maybe because there&#8217;s evidence SenderID or ADSP or somesuch really helps that customer</li>
<li>or maybe because the customer just wants it, even if there&#8217;s no evidence it would help</li>
</ol>
</li>
</ol>
<p>Mail client use of authentication data is still in flux, so it&#8217;s likely that some of this may change slightly (interaction between SPF and DKIM d= domains, for example) but it&#8217;s a pretty good base to start with today.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/07/authentication-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

