1 Reply Latest reply on Apr 21, 2010 4:17 PM by Paul Seager-Smith

    SMTP Server Configuration

    Paul Seager-Smith

      We have setup SMTP interaction in an 8.0 Application Server and have an open Mercury SMTP gateway configured to receive the emails.


      However, every time that the App Server sends an email, it gets the following error:


      Caused by: javax.mail.MessagingException: 554 Shunned connection - only the QUIT

      command will be accepted.


              at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1363)

              at com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:836)

              at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:37


              at javax.mail.Service.connect(Service.java:275)

              at javax.mail.Service.connect(Service.java:156)

              at javax.mail.Service.connect(Service.java:105)

              at com.bladelogic.app.util.EmailUtil.sendEmail(EmailUtil.java:254)


      Looking at the Mercury logs, it is saying that it receives


      EHLO (this is the IP address of the app server)


      and it then reports that this EHLO syntax is incorrect.


      Manually telneting into the SMTP server and entering EHLO also returns the same error.


      If we enter EHLO <App Server hostname> then it works. However, I can't find any way to tell the app server to send it's hostname rather than the IP address.


      Does anyone know how to do this or have SMTP notifications running?