I've bought a VPS and installed Ubuntu 12.04 on it. I'm using Zpanel for my Control panel and everything seems to be configured well. I can even send and receive mails on my server itself, via the server client 'Roundcube'.
However, when I try to configure a desktop client (either Mac Mail or a 3rd party client, Airmail), it keeps denying the SMTP server, mainly the port. I've tried all the possibilities, from 25, to 1025, 587, 465, etc. None of them seem to be working.
I'm unsure what information I can give to you to precisely help me solving this issue. Just comment if you need to know anything, or please post an answer to this problem.
Note: The mail server address itself are correct, 100% sure.
thanks
edit: This might help
Starting Nmap 5.21 ( http://nmap.org ) at 2014-01-06 15:50 CET
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000060s latency).
Not shown: 993 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
53/tcp open domain
80/tcp open http
110/tcp open pop3
143/tcp open imap
3306/tcp open mysql
Just like I saw (here) only port 25 is open, locally, not when on a remote machine, like my own Mac, outside the VPS.
Info based on request:
root@vps:~# sudo iptables -L -n
Chain INPUT (policy ACCEPT) target prot opt source destination
Chain FORWARD (policy ACCEPT) target prot opt source destination
Chain OUTPUT (policy ACCEPT) target prot opt source destination
root@vps:~# sudo netstat -tlnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 2550/master
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 779/mysqld
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 758/dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 758/dovecot
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1002/apache2
tcp 0 0 159.253.1.196:53 0.0.0.0:* LISTEN 744/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 744/named
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 665/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 2550/master
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 744/named
tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN 758/dovecot
tcp6 0 0 :::21 :::* LISTEN 946/proftpd: (accep
tcp6 0 0 :::22 :::* LISTEN 665/sshd
tcp6 0 0 :::25 :::* LISTEN 2550/master
Nmap aimed at server, from Desktop
Starting Nmap 5.21 ( http://nmap.org ) at 2014-01-06 22:44 CET
Nmap scan report for vps.iscs.nl (159.253.1.196)
Host is up (0.000050s latency).
Not shown: 993 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
110/tcp open pop3
143/tcp open imap