<?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>Involution &#187; Email</title>
	<atom:link href="http://involution.com/category/email/feed/" rel="self" type="application/rss+xml" />
	<link>http://involution.com</link>
	<description>Tony Perrie&#039;s Weblog</description>
	<lastBuildDate>Tue, 15 May 2012 20:48:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Breaking the Law (of Hostname Canonicalization)</title>
		<link>http://involution.com/2006/06/09/breaking-the-law-of-hostname-canonicalization/</link>
		<comments>http://involution.com/2006/06/09/breaking-the-law-of-hostname-canonicalization/#comments</comments>
		<pubDate>Fri, 09 Jun 2006 23:40:50 +0000</pubDate>
		<dc:creator>Tony Perrie</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Sendmail]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://involution.com/2006/06/09/breaking-the-law-of-hostname-canonicalization/</guid>
		<description><![CDATA[Mailman is a great little program written in Python that lets you manage mailing lists. I was tasked with installing it on a new machine last week, and I got to learn about canonicalization the hard way. All of the emails sent by our server out to the mailing lists were using the host name [...]]]></description>
			<content:encoded><![CDATA[<p>Mailman is a great little program written in Python that lets you manage mailing lists.  I was tasked with installing it on a new machine last week, and I got to learn about canonicalization the hard way.  All of the emails sent by our server out to the mailing lists were using the host name instead of the DNS A record for the Mailman VirtualHost.  I tried for days to fix this and eventually got the feeling that it was DNS related.  However,  I still couldn&#8217;t see why Sendmail would force the To-header back to the canonical name when Mailman was setting it correctly.</p>
<p>Eventually, I happened across this <a href="http://mail.python.org/pipermail/mailman-developers/1998-August/004971.html">email</a> on Mailman&#8217;s dev list that solved the problem by removing one of sendmail.cf&#8217;s canonicalization rules.  I&#8217;m sure this violates some RFC.  Although, the hack does indeed solve the problem.  The actual wizardry was to comment out the following line in sendmail.cf.  </p>
<p>
<pre>
# pass to name server to make hostname canonical
# R$* $| $* < @ $* > $*         $: $2 < @ $[ $3 $] > $4
</pre>
</p>
<p>It&#8217;s absolutely wrong to do this because if you edit sendmail.mc, and restart sendmail, the cf file gets regenerated automatically which obliterates the change.  Is there a better way to fix this without violating RFCs and changing sendmail rulesets?  Note: I don&#8217;t have access to the DNS server.</p>
]]></content:encoded>
			<wfw:commentRss>http://involution.com/2006/06/09/breaking-the-law-of-hostname-canonicalization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

