Cannot Send via SWA but can through SMTP

Discuss the Scalix web client

Moderators: ScalixSupport, admin

nugeo

Cannot Send via SWA but can through SMTP

Postby nugeo » Sun Sep 25, 2005 1:30 pm

Hi all - I have setup community version, all went well except webmail.

When I send a test mail to any email address other than myself I get the error:

unable to send mail to:
<email_address>

the scalix-swa-log... file has this in it (don't worry about the first incorrect login)


2005-09-25 18:06:42 StandardContext[/webmail]ip: 192.168.25.201; username: george.whales; message: <SOAP-ENV:Fault><faultcode>SOAP-ENV:CLIENT.BadUserName</faultcode><faultstring>The username or password is incorrect. Note that passwords are case sensitive. Try again.</faultstring><detail><e:BadUserName xmlns:e="http://scalix.com/errors"><message>The username or password is incorrect. Note that passwords are case sensitive. Try again.</message><debug>user: george.whales
request method(s): login
XML:
&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"&gt;&lt;SOAP-ENV:Header&gt;&lt;credentials xmlns="http://scalix.com/schemas/gofish" SOAP-ENV:mustUnderstand="1"&gt;&lt;username&gt;george.whales&lt;/username&gt;&lt;emailDomain&gt;linux&lt;/emailDomain&gt;&lt;fugu&gt;Ox4b663f7f66622b35293423252828322d232f2b06&lt;/fugu&gt;&lt;ts&gt;0&lt;/ts&gt;&lt;rand&gt;11CB9B3C926098F06CF06CFD00815F43&lt;/rand&gt;&lt;rand2&gt;aa479d7ad8be9a5a49d83e8bfbc44259b91f5dc5&lt;/rand2&gt;&lt;/credentials&gt;&lt;/SOAP-ENV:Header&gt;&lt;SOAP-ENV:Body&gt;&lt;m:login xmlns:m="http://scalix.com/methods"/&gt;&lt;/SOAP-ENV:Body&gt;&lt;/SOAP-ENV:Envelope&gt;</debug></e:BadUserName></detail></SOAP-ENV:Fault>
2005-09-25 18:07:44 StandardContext[/webmail]ip: 192.168.25.201; username: george.whales@g4it.co.uk; message: SMTP send: Unable to send message to one or more addresses

javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
class javax.mail.SendFailedException: 550 Denied due to spam list

at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:926)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:389)
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)



Please help... thanks

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Sun Sep 25, 2005 3:27 pm

Denied due to spam list always indicates that the IP address of your SWA server is not listed in the RELAY accept lines in /var/opt/scalix/sys/smtpd.cfg.

By default, the Scalix installation will always use the domain name of your server to create some default rules.

Problem is, if your DNS doesn't not do reverse lookup on IP addresses, the rule won't work. This means you need to amend it to either include the IP address or fix your DNS so that it does reverse lookups correctly.

I strongly advise that you do the latter because a broken DNS may cause problems further down the line.

Cheers

Dave


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 2 guests