james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <n...@devtech.com>
Subject RE: Mystery: Unknown SMTP host exception for a known host
Date Fri, 07 Mar 2003 19:53:41 GMT

OK, this may explain for Sun the difference in platform behavior.  I'll
leave JavaMail on this reply to clarify that it is NOT dnsjava, but a
mis-configured DNS zone file to blame.  After this, though, let's take
JAVAMAIL-INTEREST off the recipient list, since this is rapidly drifting OT
for them.  Just reply to the James developers list.

Your reply clarifies the situation nicely.  The target domain is
game.mtonline.org.  If I do an nslookup for the MX records on Windows vs
linux, I get different results.  dig and dnsjava dig show the correct (bad)
results on both platforms.  Bottom line is everything except for Windows
nslookup shows:

  game.mtonline.org.      IN      MX      1

Windows hides the '.' in nslookup  Attempting to connect to that result
gives the UHE on linux, but not on Windows.  I concur with you that it is a
broken DNS zone file, both because of the trailing '.', and because an IP
address in an MX record violates RFC 1035, 3.3.9.  But it is the '.' that
causes the exception.

Thanks Brian.  :-)  Let us know what you think, after you look at it (again,
let's take JavaMail Interest off the recipient list).

	--- Noel

-----Original Message-----
From: Brian Wellington [mailto:bwelling@xbill.org]
Sent: Friday, March 07, 2003 13:17
To: Noel J. Bergman
Cc: James Developers List; JAVAMAIL-INTEREST
Subject: RE: Mystery: Unknown SMTP host exception for a known host

[clipped quoted material]

dnsjava does not add a trailing dot to the result of an MX lookup; it adds
a trailing dot to all absolute domain names.  The mail host in an MX
record will have a trailing dot, and the IP address in an A record will
not (as it's not a domain name).  If there's a situation where an MX
record points to an IP address instead of a domain name, it won't work,
but it's a broken configuration and shouldn't work.

Adding a trailing dot to an IP address shouldn't work, as it's no longer a
valid IP address.

I don't think this is a problem with dnsjava, but if you think so, give me
specific examples of the failure and I'll look into it.


To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org

View raw message