james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandru" <chan...@bobcat.ent.ohiou.edu>
Subject Problems with outgoing email
Date Sun, 12 Oct 2003 00:08:53 GMT
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?

Any thoughts? I've tried cranking up the connectiontimeout already.

# tail -30f logs/mailet-2003-10-11-16-06.log
11/10/03 16:10:19 INFO  James.Mailet: RemoteDelivery: Attempting
delivery of Mail1065902958277-0-to-yahoo.com to host yahoo.com to
addresses [chandru@yahoo.com]
11/10/03 16:14:04 INFO  James.Mailet: RemoteDelivery: Temporary
exception delivering mail (Mail1065902958277-0-to-yahoo.com:
javax.mail.MessagingException: Could not connect to SMTP host:
yahoo.com, port: 25;
  nested exception is:
        java.net.ConnectException: Connection timed out
        at javax.mail.Service.connect(Service.java:233)
        at javax.mail.Service.connect(Service.java:134)
        at javax.mail.Service.connect(Service.java:86)
        at java.lang.Thread.run(Thread.java:536)

11/10/03 16:14:04 INFO  James.Mailet: RemoteDelivery: Storing message
Mail1065902958277-0-to-yahoo.com into outgoing after 0 retries
11/10/03 16:15:04 INFO  James.Mailet: RemoteDelivery: Attempting
delivery of Mail1065902958277-0-to-bobcat.ent.ohiou.edu to host
bobcat.ent.ohiou.edu to addresses [chandru@bobcat.ent.ohiou.edu]
11/10/03 16:15:11 INFO  James.Mailet: RemoteDelivery: Mail
(Mail1065902958277-0-to-bobcat.ent.ohiou.edu) sent successfully to

-----Original Message-----
From: Phillip Hudson [mailto:Phillip@prhudson.fsnet.co.uk] 
Sent: Saturday, October 11, 2003 5:06 AM
To: James Developers List
Subject: Please Help!

Hello everyone.
Remember the e-mail I sent earlier this week about not being able to
send external mail?
Seems the solution is a much simpler one than anyone might expect.
The problem I was having was that all e-mail I sent externally, was
returned with the message : Could not connect to SMTP host.
After a quick Google search for this text I found the answer at The Mail
Seems the problem is that the connection to the remote SMTP server times
out before the mail has time to be sent to it. Setting the
<connectiontimeout> interval of the SMTP server in config.xml to
something silly like 6000000 seems to improve the situation. I can now
send mail to most of the addresses I have tried so far. I have set up a
couple of web mail addresses at Yahoo Mail and Netscape Mail. Still
struggling to send the Netscape mail address {user}@Netscape.net but all
others appear to be working fine.
My thanks go to Aristeo Sanchez, Noel J Bergman and Danny Angus for
communicating the problem on The Mail Archive. Special thanks to Carlos
Cortes del Valle for your personal assistance.
Phillip Hudson.

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

View raw message