none
SMTP mail delivery to only the first 100 recipients RRS feed

  • Question

  • Hi All,

    We have implemented a simple mail solution through SMTP(no other mail software). We are facing a strange issue. when the application servers are sending the mails through our relay servers, the mails are getting delivered for the first 100 recipients but it gets failed for the 101th recipient. We have changed the below settings on both the relay servers:

    Limit the number of connections per domain to 150,

    Limit the number of messages perconnection to 150 & increased the connection timeout to 25 mins from 10 mins. also we have restarted the smtp relay servers after changing the settings. but still we are facing the same issue. Please somebody help us on this issue.

    all the servers in the discussion are 2008 R2 servers and the SMTP is implemented through IIS 6.

    Tuesday, September 14, 2010 6:37 PM

All replies

  • Pasting the relevant logs:

    RCPT TO:arthasvr@gmail.com\par
    DEBUG SMTP: exception reading response: java.net.SocketException: Connection reset\par
    javax.mail.MessagingException: Exception reading response;\par
      nested exception is:\par
            java.net.SocketException: Connection reset\par
            at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462)\par
            at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1022)\par
            at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)\par
            at javax.mail.Transport.send0(Transport.java:169)\par
            at javax.mail.Transport.send(Transport.java:120)\par
            at com.liferay.util.mail.MailEngine._send(MailEngine.java:478)\par
            at com.liferay.util.mail.MailEngine.send(MailEngine.java:372)\par
            at com.liferay.util.mail.MailEngine.send(MailEngine.java:116)\par
            at com.liferay.mail.messaging.MailMessageListener.doMailMessage(MailMessageListener.java:76)\par
            at com.liferay.mail.messaging.MailMessageListener.doReceive(MailMessageListener.java:87)\par
            at com.liferay.mail.messaging.MailMessageListener.receive(MailMessageListener.java:49)\par
            at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:70)\par
            at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:57)\par
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)\par
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)\par
            at java.lang.Thread.run(Thread.java:619)\par
    Caused by: java.net.SocketException: Connection reset\par
            at java.net.SocketInputStream.read(SocketInputStream.java:168)\par
            at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)\par
            at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)\par
            at java.io.BufferedInputStream.read(BufferedInputStream.java:237)\par
            at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)\par
            at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440)\par
            ... 15 more\par
    QUIT\par
    09-13-2010 02:41:27339 WARN  [MailEngine:488] Failed to connect to a valid mail server. Please make sure one is properly configured. Can't send command to SMTP host\par
    }
     

    Tuesday, September 14, 2010 6:45 PM
  • Did you ever find a solution for this? Is there a way to increase the number of connections per domain?
    Wednesday, March 9, 2011 4:58 PM