SWA Hangs on Send

Discuss the Scalix web client

Moderators: ScalixSupport, admin

rmo

SWA Hangs on Send

Postby rmo » Sun Jan 15, 2006 2:13 am

Hi,

I'm a newbie and while things seem to be going well with Scalix I'm having problems with SWA. I can use Outlook to access Scalix just fine, and can send and receive email. Howevr, when I try to use SWA, when I create an email and hit send the SWA interface hangs. I have seen the posts about localhost addresses (tried this, no luck), and smtp logs (also looks fine).

I'm running FC4, and after a lot of grief figured out to use the Tomcat installation with Scalix. Everything works fine except for SWA ... :(. Any ideas???

Thanks!

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

Postby ScalixSupport » Mon Jan 16, 2006 3:20 pm

Hi rmo,

Did you see this sticky post in Installation about FC4?

http://www.scalix.com/community/viewtopic.php?t=720

Are you seeing any errors i the $TOMCAT_HOME/logs/scalix-swa_log.DATE.txt logs?

If you run omstat -a is the SMTP RELAY started?

Please post the uncommented portion of your smtpd.cfg file.

Thanks,
Don

rmo

Postby rmo » Mon Jan 16, 2006 7:06 pm

Hi Don,

Yes - I did see the sticky, and followed the instructions (unfortunately prior to the post, so this didn't seem to help).

The answers to your questions ...
1) Yes, here's an example of this log,

============================================================
2006-01-15 00:06:01 StandardContext[/webmail]ip: 192.168.1.2; username: Russell.Morris@rkmorris.local; message: <SOAP-ENV:Fault><faultcode>SOAP-ENV:SERVER.MessageRemovedException</faultcode><faultstring>methodName = send

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

</message><debug>javax.mail.MessageRemovedException
at com.sun.mail.imap.IMAPMessage.checkExpunged(IMAPMessage.java:162)
at com.sun.mail.imap.IMAPMessage.setFlags(IMAPMessage.java:752)
at javax.mail.Message.setFlag(Message.java:545)
at com.oddpost.server.module.SoapMail.saveToDrafts(SoapMail.java:1015)
at com.oddpost.server.module.SoapMail.send(SoapMail.java:877)
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:MessageRemovedException></detail></SOAP-ENV:Fault>
2006-01-15 00:07:22 StandardContext[/webmail]ip: 192.168.1.2; username: Russell.Morris@rkmorris.local; 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: [EOF]
at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1020)
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:824)
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)
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-01-15 08:28:33 StandardContext[/webmail]ip: 192.168.1.2; username: Russell.Morris@rmorris.local; 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: Russell.Morris@rmorris.local
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;Russell.Morris@rmorris.local&lt;/username&gt;&lt;emailDomain&gt;rkmorris.local&lt;/emailDomain&gt;&lt;fugu&gt;Ox7f606e61687f7a766835242d2935292729332409&lt;/fugu&gt;&lt;ts&gt;0&lt;/ts&gt;&lt;rand&gt;90DC0EE00D4885C50274B754C7292544&lt;/rand&gt;&lt;rand2&gt;e50bf87862efc3573809d9c18f350aca2e40b739&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>

============================================================

2) When I run omstat -a it says that SMTP Relay is "Partially Abor" (aborted I assume). Is there a way to check why this is the case?
-> Strange as it may seem, after running this command SWA now seems to work ... :?

3) Here is my smtpd.cfg file,
============================================================
EXTENSIONS=AUTH,DSN,8BITMIME

RELAY accept 127.0.0.1
RELAY accept %LOCALDOMAIN%
RELAY Log_Reject ALL

# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*

============================================================

Any suggestions (even though it's now working I don't know why, and SMTPD has some issues still)?

Thanks for your help!!!

... Russell

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

Postby ScalixSupport » Mon Jan 16, 2006 9:08 pm

Hi rmo,

In the line

RELAY accept %LOCALDOMAIN%

did you modify it to read %LOCALDOMAIN%? If so does it actually read something like

RELAY accept .mydomain.com?

I'd like to see what you have in your host file. Rather than asking you to post it please send it to support@scalix.com to my attention.

Thanks,
Don

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

Postby ScalixSupport » Tue Jan 17, 2006 3:03 pm

Hi rmo,

...I have seen the posts about localhost addresses (tried this, no luck)...


I'm not sure where you saw this but the root of your problem comes down to a misconfigured /etc/hosts file.

Your file reads like

Code: Select all

xxx.xxx.xxx.xxx  server.domain.ext        localhost


It should read

Code: Select all

127.0.0.1       localhost
xxx.xxx.xxx.xxx   server.domain.ext


The Scalix install could not make sense of your host file so it put %LOCALDOMAIN% in your smtpd.cfg file. Change that line to read

Code: Select all

RELAY accept .domain.ext


(Note the leading period.)

Reboot and all should be well provided you've got tomcat to start on boot.

Best wishes,
Don


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 1 guest