I've bought an unmanaged dedicated server. Mainly to help me learn.
My email isn't working and the host support have told me I that need to open port 25 to enable smtp. Note I can't send or receive email.
I've used SSH to login and I've tried a few of the sample snippets of code from this forum but I just get a command not found back.
My server is running centOS and it has a Plesk GUI.
I've connected to the server using ssh root@myipaddress
telnet your_ip_address 25and update your original post with the output you see on the terminal window.netstat -an | grep 25this will show you if anything is listening on the smtp port, i.e. port 25, on your server. If it is not, this means you can not receive email on this server.