<?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>The Error Log &#187; gmail</title>
	<atom:link href="http://www.errorlog.dk/tag/gmail/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.errorlog.dk</link>
	<description>Problems I&#039;ve found solutions for.</description>
	<lastBuildDate>Thu, 20 Nov 2008 11:43:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TEMP_FAILURE: The recipient server did not accept our requests to connect. Learn more at http://mail.google.com/ support/bin/answer.py?answer=7720</title>
		<link>http://www.errorlog.dk/2008/08/28/temp_failure-the-recipient-server-did-not-accept-our-requests-to-connect-learn-more-at-httpmailgooglecomsupportbinanswerpyanswer7720/</link>
		<comments>http://www.errorlog.dk/2008/08/28/temp_failure-the-recipient-server-did-not-accept-our-requests-to-connect-learn-more-at-httpmailgooglecomsupportbinanswerpyanswer7720/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 23:00:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[failure]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[sendmail]]></category>
		<category><![CDATA[tcpdump]]></category>

		<guid isPermaLink="false">http://www.errorlog.dk/?p=19</guid>
		<description><![CDATA[Problem
Mail sent from gmail to accounts on my mail servers never got through and the sender got an error message saying:
Technical details of permanent failure:
TEMP_FAILURE: The recipient server did not accept our requests to connect. Learn more at http://mail.google.com/support/bin/answer.py?answer=7720
This was a bit confusing as mail from everyone else got through without problems.

Cause
I had to use [...]]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>Mail sent from gmail to accounts on my mail servers never got through and the sender got an error message saying:</p>
<blockquote><p>Technical details of permanent failure:<br />
TEMP_FAILURE: The recipient server did not accept our requests to connect. Learn more at <a href="http://mail.google.com/support/bin/answer.py?answer=7720" target="_blank">http://mail.google.com/support/bin/answer.py?answer=7720</a></p></blockquote>
<p>This was a bit confusing as mail from everyone else got through without problems.</p>
<h4><span id="more-19"></span></h4>
<h2>Cause</h2>
<p>I had to use tcpdump to finally figure out why no mail from gmail was getting through to my mail server.</p>
<p>After trying myself while looking at the actual communication I could see that the connection actually got started correctly but all packets from the Gmail server had a tcp window of 90 bytes and, that if the first packet from my server didn&#8217;t include the CRLF (because it was too long) then the next packet from the Gmail server wasn&#8217;t an ack, but an rst in response to a resent packet, indicating the Gmail server dropped the connection without closing it, possibly because the connecting process died.</p>
<p>I confirmed the diagnosis by reconfiguring my mail server to start with a shorter greeting after which Gmail got through without any problems.</p>
<p>Note here that a limit of 88 characters for the &#8220;220 &#8221; greeting is very far from the 512 bytes RFC2882 requires a standard compliant application to accept, so I&#8217;m considering this posting to be a bug report on a problem that&#8217;s likely to affect many, but is likely to be hard to solve for most because of the misleading error message.</p>
<h2>Solution (temporary)</h2>
<p>I reconfigured sendmail on the servers to use a shorter greeting by adding the following line to the .mc file:</p>
<p><code>define(`confSMTP_LOGIN_MSG', `$j Sendmail $b')</code></p>
<h2>Solution (permanent)</h2>
<p>The permanent solution would be to get Google to fix their mail servers, but so far I haven&#8217;t been able to figure out how to get in touch with the actual tech people at Gmail.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.errorlog.dk/2008/08/28/temp_failure-the-recipient-server-did-not-accept-our-requests-to-connect-learn-more-at-httpmailgooglecomsupportbinanswerpyanswer7720/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
