Hi,
Took me a bit of time to figure out that I need to point James to the
apropriate dns server (default is localhost).  The nameservers are set
correctly (I am using yahoo's namesservers currently).

The emails seem to be going out from James:

10/11/03 20:21:50 INFO  James.Mailet: RemoteDelivery: Attempting
delivery of Mail1068513709624-10-to-yahoo.com to host
mx1.mail.yahoo.com. to addresses [EMAIL PROTECTED]
10/11/03 20:21:51 INFO  James.Mailet: RemoteDelivery: Mail
(Mail1068513709624-10-to-yahoo.com) sent successfully to
mx1.mail.yahoo.com.

However, they still don't show up at my yahoo address.  Any pointers on
where I could start digging?
Thanks
Chandru

-----Original Message-----
From: Richard O. Hammer [mailto:[EMAIL PROTECTED] 
Sent: Saturday, October 11, 2003 10:31 PM
To: James Developers List
Subject: Re: Problems with outgoing email


Chandru wrote:
> I have a similar issue where the connection times out trying to 
> contact yahoo.com (exception below).  Shoudn't james be trying to 
> contact the mail server (mx?.mail.yahoo.com) instead?

This reminds me of something I've seen in the finally block in 
org.apache.james.dnsserver.DNSServer.findMXRecords(hostname).  You can 
see the code below.  If the DNS lookup fails to find MX records, then 
findMXRecords may return simply the hostname from the email address.

So possibly your MX lookup is not working.  I would check first to 
confirm that you have the nameservers configured correctly.

Rich Hammer



        } finally {
             //If we found no results, we'll add the original domain 
name if
             //it's a valid DNS entry
             if (servers.size () == 0) {
                 StringBuffer logBuffer =
                     new StringBuffer(128)
                             .append("Couldn't resolve MX records for 
domain ")
                             .append(hostname)
                             .append(".");
                 getLogger().info(logBuffer.toString());
                 try {
                     InetAddress.getByName(hostname);
                     servers.add(hostname);
                 } catch (UnknownHostException uhe) {
                     // The original domain name is not a valid host,
                     // so we can't add it to the server list.  In this
                     // case we return an empty list of servers
                     logBuffer = new StringBuffer(128)
                                 .append("Couldn't resolve IP address 
for host ")
                                 .append(hostname)
                                 .append(".");
                     getLogger().error(logBuffer.toString());
                 }
             }
         }




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to