Sendmail [25: Connection refused] fix

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

 (Delivery Status Notification [(0) []: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 file. Just comment the next line:

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


Save config and restart sendmail.



Was this answer helpful?

 Print this Article

Also Read

Usefull linux tools

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

php increase max file size upload

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


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

Adding a new disk drive to Centos 6

Installing a new HDD The disk drives in Centos is named hd* or sd*. In system with only one...

Changing ssh port

How to change ssh port. Open the file /etc/ssh/sshd_config with your favourite text...