The mail is actually being sent but there is a null pointer exception in the underlying response from the server:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/X MLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"><SOAP-ENV:Fault><faultcode>SOAP-ENV:SERVER.NullPointerException</faultcode><faultstring>A message could not be sent, please try again later. A copy of the message has been placed into your 'Drafts' folder.
</faultstring><detail><e:NullPointerException xmlns:e="http://scalix.com/errors"><message>A message could not be sent, please try again later. A copy of the message has been place d into your 'Drafts' folder.
</message><debug>java.lang.NullPointerException
at com.oddpost.server.module.SoapMail.sendMessage(SoapMail.java:2530)
at com.oddpost.server.module.SoapMail.send(SoapMail.java:1845)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.oddpost.soap.SoapModule.invokeMet
14:47:36.026420 IP kingslynn.ukrd.com.http > 82-46-108-143.cable.ubr07.newt.blueyonder.co.uk.49915: P 1403:2580(1177) ack 2231 win 101
E.....@.@.^.
cr.R.l..P..qn1.\..|P..e.@..hod(SoapModule.java:219)
at com.oddpost.soap.SoapRequestImpl.execute(SoapRequestImpl.java:145)
at com.oddpost.server.HttpRequestHandler.handleRequest(HttpRequestHandler.java:216)
at com.oddpost.server.SoapServlet.doPost(SoapServlet.java:44)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:70)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.oddpost.server.filter.HttpConfFilter.doFilter(HttpConfFilter.java:181)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
... skipping the last 18 lines as irrelevant...
</debug></e:NullPointerException></detail></SOAP-ENV:Fault></SOAP-ENV:Envelope>
This appears to be due to my use of SMTPFILTER (if I turn it off temporarily, the problem goes away), I know it's use is on the way out but clamav-milter wasn't working reliably with scalix's milter interface.
Can anything be done, or am I just going to be told to stop using SMTPFILTER?
As a possible workaround, is there anyway to limit the use of SMTPFILTER to incoming mail only?