Link to home
Start Free TrialLog in
Avatar of passleft
passleft

asked on

SquirrelMail works inside the network, but not from outside the network.

I just set-up a Mac OS X (10.2) server for a client and am having trouble configuring SquirrelMail on the server to be accessible from outside the network.

I am able to connect to SquirrelMail from inside the network using 3 subdomains I created on the server (all pointing to the same IP address). "mail." "xserve." "test."  using  "/WebMail" after the FQDN. Apache is correctly answering the requests and passing the user over to SquirrelMail, but the first SquirrelMail page that comes up is listed as "computerName:16080/xxxxxxx"

The server is set-up to do DNS using BIND and web hosting using apache. I configured the DNS for the client's domain to point these 3 subdomains to the client's firewall (SonicWall) and the sonicwall does the NAT translation to the server. All three subdomains and virtual hosts are working correctly, both internally and externally; they show the basic index file whether internal or external.

As soon as you add the "/WebMail" the url the server (squirrelmail?) sends back is the "computername:16080/..."

There was one section in the SquirrelMail config that asked for the email server's address, and I remember reading somewhere to set this to 127.0.0.1 if on the same machine. Could this be what's causing the problem??

Thanx.
Avatar of catoaguilar
catoaguilar

Squirrelmail uses MIME, so check your firewall accepts external connections to port 143 TCP.
Avatar of passleft

ASKER

Thanx for the help catoguilar. unfortunately that was not it.

I finally found the solution, the virtual websites were not listed with the FQDN. once that was fixed, all was well.

I have asked the moderators to close this question.
ASKER CERTIFIED SOLUTION
Avatar of Mindphaser
Mindphaser

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial