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

Configure OpenVPN client on Windows

How to configure OpenVPN client on Windows: First download and install the client. Then...

CSF

ConfigServer Security & Firewall (CSF) is a powerful iptables configuration tool....

Dovecot /postfix with Roundcube WebUI

Following guide was tested on CentOS 6. Install epel repository: wget...

Forward (redirect/nat) traffic with iptables

If you want to redirect/nat some traffic to IP 2.2.2.2 via IP 1.1.1.1, it simply can be done...

php increase max file size upload

For increase maximum size of uploads file you should set only one setting in php.ini. Set...