From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1ce6eebbc3d317dc6bbc8559d66eef12@coraid.com> From: erik quanstrom Date: Tue, 16 Jan 2007 13:31:43 -0500 To: 9fans@cse.psu.edu Subject: Re: [9fans] $smtp dns failure In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 04a2844a-ead2-11e9-9d60-3106f5b1d025 there is an interesting case with mxlookup1() in mxdial.c. if a dns /failure/ is reported for the mx lookup, then mxdial doesn't try a/cname records. i've had trouble in the past with mx failures when the a record looks up just fine. i'm not sure if the standard says one must quit on dns failure. - erik On Tue Jan 16 13:25:49 EST 2007, steve@quintile.net wrote: > > exec /bin/upas/smtp -d -h crn.mteege.de 'net!$smtp' mtg mteege@gmail.com > > expanding /net!$smtp > > sending /net/dns '192.168.0.22 mx' > > dns: dns: dns failure > > > There is no mx record for 192.168.0.22. If I use 'mteege.de', which > > has a mx record (192.168.0.22), sending mail works. > > Strange, where does it get this IP address from? > do you have smtp=192.168.0.22 in /lib/ndb/local? > > The smtp= should point to a FQDN rather than an IP address > to allow upas/smtp to look up the MX and then A RRs. > > I get this: > > exec /bin/upas/smtp -d -g 'net!$smtp' -h quintile.net 'net!$smtp' steve steve.simon@mywork.com > expanding /net!$smtp > sending /net/dns 'smtp.myisp.com mx' > dns: dns: resource does not exist > mxdial trying /net/net!smtp.myisp.com!smtp > 220 ESMTP server ready > > -Steve