I would like to setup an SMTP and IMAP server on my VPS machine. I setup appropriate DNS records, installed Postfix and Dovecot and... it seems that I am unable to reach my machine's port 25 from the outside and therefore I am not able to send mails to my server.
I double checked that port 25 is opened locally (I can invoke telnet localhost 25 from the server) and double checked UFW and iptables rules. I also asked OVH support about blocking the incoming port 25 - they claim that "OVHcloud does not block any ports". However telnet to my machine's 25 port gives me 'Connection timed out' which suggests that the problem is with OVH and not my machine.
Have anyone tried to do the same? BR
SMTP server on VPS and port 25 opening
Related questions
- Installing Operating System from custom image on OVH VPS ( CentOS 8 Tutorial)
37166
11.01.2020 21:11
- Nameserver for my vps
21618
07.08.2018 11:35
- Remote access to MySQL database
21497
16.01.2018 15:29
- Mumbai VPS data-center availability
20087
23.12.2025 04:48
- Change server location
19122
06.11.2020 10:16
- IPv6 Configuration
17783
30.07.2018 12:50
- Redirect domain to vps
17746
03.01.2018 22:32
- Upgrading your VPS - need to extend your disk? The Easy way!
17356
14.02.2019 16:06
- VPS stuck in “Saving…” for over 24 hours – No SSH, No KVM, No Rescue
16969
10.01.2026 22:36
Hello,
OVH does not block any ports. Can you telnet to it, using the public IP address instead of 127.0.0.1 ?
Moreover you complain about incoming connections, so there is a high chance that the culprit is your own firewall.
I can telnet to my machine using the public IP address only from within this machine itself. Using my laptop (or any other machine) I am not able to telnet to it and the error is the connection timeout.
I learned that this is probably not related related to my firewall as I would have another type of error in such a case which is "Connection refused"
Please check your OVH management portal, section Network > IP addresses.
Double check if you have not activated the firewall there ?