I have installed postfix
following this tutorial but when I try to telnet mail.mydomain.com 110
(995,993,143 or 25) it throws the following error: Telnet: Unable to connect to remote host: Connection refused
I looked at this answer of ServerFault but it couldn't help! Any clue how to fix this (or a link to another tutorial), I've been trying to install a servermail on my VPS for a week now, cannot get it to work!
chroot
inmaster.cf
from-
inton
as it was suggested in the answer I looked up, I tried to changedsmtp inet n - - - - smtpd
with0.0.0.0:smtp inet n - - - - smtpd
... but nothing seemed to work! Thanksping
my mail subdomain it works fine, but when I try totelnet MY_VPS_IP_ADDRESS 25
it throws the same error above, but when Itelnet localhost 25
it works fine! Any idea? Thankslsof -i -a -p <pid of postfix>
(ornetstat -an | grep 25
if you lack lsof).