Hi Jerry;

On Dec 13, 2007 10:52 AM, Jerry M <[EMAIL PROTECTED]> wrote:
> I never received any response to this.  It's getting more serious.  I
> have a Tomcat application on the same server (i.e. smtp server is
> localhost) that sends out a couple of hundred individual emails in a
> loop.  It's been working for a couple of years without problems.  Last
> night, it got halfway through the list and then started failing on each
> SMTP call with "Connection Reset" messages.  This is from my Tomcat log:
>
> SMTPClient.sendMail() exception: javax.mail.MessagingException:
> Exception reading response;
>   nested exception is:
>         java.net.SocketException: Connection reset

We were seeing this too -- after a bit of research and investigation,
we discovered that some outsourced MX providers were resetting
connections for "load balancing" purposes -- they claimed that the RFC
stated that when this happened, that James was to try to look for
another MX host and to redeliver the message there.  We also
discovered that our implementation of James didn't re-lookup the MX
host after the message had been requeued for delivery failure.

Unfortunately, we were unable to actually get a good resolution to
this with James, so we set up another MTA Behind James to handle some
of the outbound MX fu for these problematic hosts via different
entries in the config.xml file.

Hope this helps;

Ian
-- 
Ian Wilson
[EMAIL PROTECTED]
http://ianwilson.org || http://www.ians-blog.com

Solving site load issues with database replication is a lot like
solving your own personal problems with heroin -- at first, it sorta
works, but after a while things just get out of hand.

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

Reply via email to