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, [EMAIL PROTECTED] wrote:
> > exec /bin/upas/smtp -d -h crn.mteege.de 'net!$smtp' mtg [EMAIL PROTECTED]
> > 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 
> [EMAIL PROTECTED]
>       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

Reply via email to