I'm a new user to James and having been having a few problems recently...
I'm receiving email just fine, and for some email addresses, i'm able to send email
just fine.
But for a fair amount of email addresses i'm getting a message like this one from the
mailet.log
06/02/03 21:56:37 INFO James.Mailet: RemoteDelivery: Temporary exception delivering
mail (Mail1044597170060-1-to-hotmail.
com: javax.mail.MessagingException: There are no DNS entries for the hostname
hotmail.com. I cannot determine where to se
nd this message.
at
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:185)
at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:593)
at java.lang.Thread.run(Thread.java:536)
Before going further, i'll mention that i've added appropriate dns servers to the
config.xml, and the DNSServer class (org.apache.james.dnsserver.DNSServer) is properly
using them via the ExtendedResolver.
So, i dug into the code, and saw that james uses the javadns library at
http://sourceforge.net/projects/dnsjava.
Next, i ran a little test harness included with the dnsjava distribution that mimics
the 'dig' utility and by querying for hotmail with one of my configured dns servers,
the following output was generated:
;; ->>HEADER<<- opcode: STATUS, status: NOERROR, id: 6141
;; flags: qr rd ; qd: 1 an: 0 au: 4 ad: 4
;; QUESTIONS:
;; hotmail.com., type = MX, class = IN
;; ANSWERS:
;; AUTHORITY RECORDS:
hotmail.com. 172800 IN NS ns1.hotmail.com.
hotmail.com. 172800 IN NS ns3.hotmail.com.
hotmail.com. 172800 IN NS ns2.hotmail.com.
hotmail.com. 172800 IN NS ns4.hotmail.com.
;; ADDITIONAL RECORDS:
ns1.hotmail.com. 172800 IN A 216.200.206.140
ns3.hotmail.com. 172800 IN A 209.185.130.68
ns2.hotmail.com. 172800 IN A 216.200.206.139
ns4.hotmail.com. 172800 IN A 64.4.29.24
As you can see, there are no Answers (in this case MX records), but there are
authority records that could be further queried to obtain those Answers (MX records).
Next, i attached with a remote debugger to see if James would ever follow up a query
with a further query to the authority records...(BTW: I'm using James2.1) It doesn't,
and as a result, there are a lot of email addresses that i currently can't send email
to.
What important piece am i missing in order for these email addresses to get resolved?
Regards,
--Mark Imel