Remote web access problem

Discuss the Scalix web client

Moderators: ScalixSupport, admin

kgao
Posts: 23
Joined: Thu Nov 11, 2004 9:20 pm

Remote web access problem

Postby kgao » Sun Jan 30, 2005 3:16 am

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!

trig
Posts: 66
Joined: Mon Dec 20, 2004 12:43 pm
Location: Here, there and sometimes everywhere

Postby trig » Mon Jan 31, 2005 11:43 am

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?

kgao
Posts: 23
Joined: Thu Nov 11, 2004 9:20 pm

Postby kgao » Mon Jan 31, 2005 8:57 pm

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.

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

Postby ScalixSupport » Tue Feb 01, 2005 7:12 am

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.

kgao
Posts: 23
Joined: Thu Nov 11, 2004 9:20 pm

Postby kgao » Tue Feb 01, 2005 11:29 pm

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>

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

Postby ScalixSupport » Wed Feb 02, 2005 5:23 am

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

kgao
Posts: 23
Joined: Thu Nov 11, 2004 9:20 pm

Postby kgao » Wed Feb 02, 2005 7:53 pm

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.

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

Postby ScalixSupport » Fri Feb 04, 2005 3:11 am

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


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 5 guests