Sendmail [25: Connection refused] fix

If you can't receive email from the outside and got next error:

 (Delivery Status Notification [(0) www.domainname.com. [1.1.1.1]:25: Connection refused]).

You should check the iptables , is port listening .

if you can telnet on port 25 from localhost and can't from remote you need to modify your sendmail.cf file. Just comment the next line:

# O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA

 

Save config and restart sendmail.

 

 

Was this answer helpful?

 Print this Article

Also Read

Squid+Privoxy+Tor

How to install squid with tor [NOTE: According to vpsget.com AUP/TOS you can use private proxy...

Asteriks +TLS+RSTP Encrypt on centos

IN PROGRESS! this guide was gathered from official asteriks wikies...

Usefull linux tools

please note: for installing some toosl you ned to connect EPEL repo first. htop -extened version...

DDoS

Diagnostic To display how many http connections are open at the moment, enter: netstat |...

Disabling selinux

Selinux annoying you? Get it out! How to disable selinux Open its config file nano...