You can test whether port 25 is blocked by connecting to a remote mail server:
You should get something like this:
Code: Select all
Trying 194.109.6.40...
Connected to mail.xs4all.nl.
Escape character is '^]'.
220 smtp-cloud2.xs4all.net ESMTP ESMTP server ready
(type 'quit' to exit.)
If that works, you can send mail.
Now you just have to test if you can
receive mail on port 25.
For this you need to set up a service that listens on port 25, and connect to it from somewhere outside of your ISP's part of the internet.
(Easiest to set up a mail server (haha. Setting up a mail server is not easy

but if receiving mail works, you're done already), and send a test mail from a Google account or something similar)
You can also add port 25 to sshd so it listens on ports 22 (ssh) and 25 (smtp)
That way you can use ssh to connect to port 25 (ssh -p 25
user@your.ip.address)