Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: mcoops on March 25, 2013, 11:34:28 AM

Title: Unable to access mailserver from outside organisation
Post by: mcoops on March 25, 2013, 11:34:28 AM
Hi,

We have SME server 7.6 which is installed with 1 NIC. The email is working fine for the local network users so we decided to open ports on the Draytek 2830n router so that we could access the emails using smartphones.

We can connect to the webmail OK but cannot configure the smart phones or mail clients outside the network.

I have checked and the ports are open correctly on the router, I have tried port 25, 143 443 and 110 but nothing. I am also unable to telnet into the mailserver.

If I connect the VPN first then all works fine.

What am I missing, I didnt think I needed to open any ports on the server as all local mail is working fine.

TIA   Mark
Title: Re: Unable to access mailserver from outside organisation
Post by: Stefano on March 25, 2013, 11:43:33 AM
did you enable public access to services?
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13#E-mail_Access
Title: Re: Unable to access mailserver from outside organisation
Post by: Jáder on March 25, 2013, 11:46:24 AM
The correct ports to open are:
465 (to send using SSL )
993 (to read using IMAPs)

verify your server is listening to them with:
netstat -an|grep 465 | grep LISTEN
netstat -an|grep 993 | grep LISTEN

Others ports (25,143, ...) can be left closed and verify they respective services are disabled on e-mail panel of server.
Title: Re: Unable to access mailserver from outside organisation
Post by: mcoops on March 25, 2013, 12:21:51 PM
Great thanks for that. I changed the ports and it worked a treat.

Cheers