Page 1 of 1

Remote web access problem

Posted: Sun Jan 30, 2005 3:16 am
by kgao
I had installed web access. Local web access works fine.
http://mailserver:8080/webmail
And I used Mapped IP to map it to a public ip address, it works when I tried it locally.

But when I tried it from home, used both Internet Explorer and Firefox, get the login prompt, and the following message:
"Problem connection to mail server"

What is the cause of problem? Any solution?
Thanks!

Posted: Mon Jan 31, 2005 11:43 am
by trig
have you checked that your tomcat process knows about the path to scalix?

on the cd or install tar file, there is a directory called INTEGRATION which includes a startup script for tomcat which will also create the paths needed to connect to the scalix server..

im just guessing here...


can you do it internally?

Posted: Mon Jan 31, 2005 8:57 pm
by kgao
I can do it with the public ip address internally without problem.

From the firewall log I can see that the talk between my PC at home and the scalix server, but no connection was made. Here is the firewall log:

Date/Time Source Address/Port Translated Address/Port Destination Address/Port Duration Service
2005-01-31 16:49:52 66.7.228.66:53078 66.7.228.66:53078 10.50.1.22:8080 87 sec. TCP PORT 8080
2005-01-31 16:49:00 66.7.228.66:53079 66.7.228.66:53079 10.50.1.22:8080 33 sec. TCP PORT 8080

Any suggestions? Thanks.

Posted: Tue Feb 01, 2005 7:12 am
by ScalixSupport
You need to check the tomcat logs for this.

"Problem connecting to the mailserver" is generated from SWA when it is attempting to make the IMAP connection. This all happens inside your interal network.
Cheers

Dave.

Posted: Tue Feb 01, 2005 11:29 pm
by kgao
Dave,
I just find out that local web access failed also, it used work well.
http://server:8080/webmail
get me the login prompt, but when I put in the login/passwd, I get
"Problem connection to mail server"

What caused the problem? How to resolve and prevent it happen in the future?
Thanks, Keith

Here is the tomcat logfile:
2005-02-01 19:05:56 StandardContext[/webmail]ip: 127.0.0.1; username: sxadmin; message: <SOAP-ENV:Fault><faultcode>SOAP-ENV:CLIENT.ProblemConnectingToImap</faultcode><faultstring>Problem connection to mail server</faultstring><detail><e:ProblemConnectingToImap xmlns:e="http://scalix.com/errors"><message>Problem connection to mail server</message><debug>user: sxadmin
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;sxadmin&lt;/username&gt;&lt;emailDomain&gt;telegentsystems.com&lt;/emailDomain&gt;&lt;fugu&gt;Ox5b664b686d6e7c647e222c29302a3229342a2a09&lt;/fugu&gt;&lt;ts&gt;0&lt;/ts&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:ProblemConnectingToImap></detail></SOAP-ENV:Fault>

Posted: Wed Feb 02, 2005 5:23 am
by ScalixSupport
This most likely means that there is nothing listening on port 143 on the mail server.

Check /etc/opt/scalix/webmail/partner.xml and look at the IMAPServer setting to see if that is correct.

Cheers

Dave

Posted: Wed Feb 02, 2005 7:53 pm
by kgao
I checked the file and find nothing related to IMAP or port 143. What kind command might delete othose staff? Do you have some kind standard thing I can use, or modify upon? Thanks.

Posted: Fri Feb 04, 2005 3:11 am
by ScalixSupport
Do you have some kind standard thing I can use, or modify upon?


I'm note sure that I understand the question. However, in the partner.xml file there is the following stanza:

Code: Select all

<email
        domain="co.uk"
        imapServer="server.co.uk"
        smtpServer="server.co.uk"
        userNameIncludesDomain="false" >


This should be set to the name of the Scalix server. You will need to stop/restart tomcat to pick up the changes.

Cheers

Dave