Koozali.org: home of the SME Server

Unable to access mailserver from outside organisation

Offline mcoops

  • 19
  • +0/-0
Unable to access mailserver from outside organisation
« 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

Offline Stefano

  • *
  • 10,836
  • +2/-0

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: Unable to access mailserver from outside organisation
« Reply #2 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.
...

Offline mcoops

  • 19
  • +0/-0
Re: Unable to access mailserver from outside organisation
« Reply #3 on: March 25, 2013, 12:21:51 PM »
Great thanks for that. I changed the ports and it worked a treat.

Cheers