From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Tue, 16 Jan 2007 14:30:12 -0500 From: "Russ Cox" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] $smtp dns failure In-Reply-To: <0bfd32bfe8981a44d7e61aa8de388107@coraid.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <0bfd32bfe8981a44d7e61aa8de388107@coraid.com> Topicbox-Message-UUID: 04cf24d2-ead2-11e9-9d60-3106f5b1d025 > =A75 of rfc 2821 spells out how to do the lookup. smtpd should do that. > if there are any huristics to apply while running the lookup, it > would make sense to me to do as sendmail/postifix/qmail do. > smtp is an interface to the world. being different isn't a virtue > in this case. Until you explain precisely which part of rfc 2821 you claim that smtp.c does not follow and which part of smtp.c is not following it, I don't see a point to continuing this conversation. The particular case that I was talking about is when dns returns "dns: dns failure", meaning that looking up the MX record produced an error (like maybe the DNS server choked on the request), not that the lookup returned "there are no MX records". My reading of the RFC is that it does not cover this case. Russ