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

NFS on Centos 6

How to install NFS on Centos 6 yum install nfs-utils nfs-utils-lib Set nfs to start...

Web server

In this guide we will create our own web server on Centos 6.  We will use Apache...

Generating public/private ssh keys

How to generate and use public / private ssh keys This guide is tested on Centos 6 To...

Cron

Cron is the daemon that can be used to schedule tasks according to time, day of the month,...

How to check connectivity/network speed of your VPS

If you concerned about network speed of your vps you can test it by downloading some test...