Page 1 of 1

Unable to send outgoing mail through SWA

Posted: Mon Feb 06, 2006 7:39 pm
by mikevl
Hi

We seem to have a recent problem with SWA as we are unable to send emails. All works fine with Outlook but sending emails through SWA a message box appears on the screen saying " methodeName = send"

From the SWA Log

2006-02-07 08:09:12 StandardContext[/webmail]ip: 219.89.158.190; username: james; message: Could not write SOAP response: org.apache.catalina.connector.ClientAbortException: null
2006-02-07 12:23:42 StandardContext[/webmail]ip: 210.48.84.74; username: sxadmin; message: <SOAP-ENV:Fault><faultcode>SOAP-ENV:SERVER.MessagingException</faultcode><faultstring>methodName = send

</faultstring><detail><e:MessagingException xmlns:e="http://scalix.com/errors"><message>methodName = send

</message><debug>javax.mail.MessagingException: 530 Authentication required

at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1020)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:716)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:388)
at com.oddpost.server.module.SoapMail.sendMessage(SoapMail.java:1708)
at com.oddpost.server.module.SoapMail.send(SoapMail.java:870)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.oddpost.soap.SoapModule.invokeMethod(SoapModule.java:238)
at com.oddpost.soap.SoapRequestImpl.execute(SoapRequestImpl.java:140)
at com.oddpost.server.HttpRequestHandler.handleRequest(HttpRequestHandler.java:221)
at com.oddpost.server.SoapServlet.doPost(SoapServlet.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.oddpost.server.filter.HttpConfFilter.doFilter(HttpConfFilter.java:175)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
... skipping the last 25 lines as irrelevant...
</debug></e:MessagingException></detail></SOAP-ENV:Fault>
2006-02-07 12:27:07 StandardContext[/webmail]ip: 210.48.84.74; username: sxadmin; message: <SOAP-ENV:Fault><faultcode>SOAP-ENV:SERVER.MessagingException</faultcode><faultstring>methodName = send

</faultstring><detail><e:MessagingException xmlns:e="http://scalix.com/errors"><message>methodName = send

</message><debug>javax.mail.MessagingException: 530 Authentication required

at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1020)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:716)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:388)
at com.oddpost.server.module.SoapMail.sendMessage(SoapMail.java:1708)
at com.oddpost.server.module.SoapMail.send(SoapMail.java:870)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.oddpost.soap.SoapModule.invokeMethod(SoapModule.java:238)
at com.oddpost.soap.SoapRequestImpl.execute(SoapRequestImpl.java:140)
at com.oddpost.server.HttpRequestHandler.handleRequest(HttpRequestHandler.java:221)
at com.oddpost.server.SoapServlet.doPost(SoapServlet.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.oddpost.server.filter.HttpConfFilter.doFilter(HttpConfFilter.java:175)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
... skipping the last 25 lines as irrelevant...
</debug></e:MessagingException></detail></SOAP-ENV:Fault>

Posted: Mon Feb 06, 2006 7:42 pm
by ScalixSupport
Mike,

This indicates that you have made some configuration changes to smtpd.cfg to prevent non-authenticated connections being made to the SMTP Relay.

SWA does not authenticate with the server for mail submission so you need to make sure that the IP address of the SWA server (typically the same as the mail server) is in the smtpd.cfg file to allow for relaying.

Cheers

Dave

Posted: Mon Feb 06, 2006 10:42 pm
by mikevl
Hi Dave your are right. Spamassassin was added with all mods from the latest STN.

OOPS

Mike