Portal Home > Knowledgebase > Articles Database > Postfix - no response on port 25


Postfix - no response on port 25




Posted by wdteam, 09-15-2013, 02:01 AM
Hi guys, I have the Postfix installed on my server. I've turned off the IPtables to make sure that port 25 is opened, but it doesn't help. Here is what I am getting when I do telnet from localhost: [root@srv etc]# telnet 127.0.0.1 25 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. 220 srv.robertaaron.net ESMTP Postfix 421 4.4.2 srv.mydomain.net Error: timeout exceeded Connection closed by foreign host. The same timeout happens when I do telnet directly to the server IP from another server. According to the maillog, postfix is up and running ok. Where to dig?

Posted by bdwebservices, 09-15-2013, 02:04 AM
some of ISP/Datacenter off this port. If you are use CSF then ensure that 25 is open.

Posted by wdteam, 09-15-2013, 02:08 AM
CSF is not running - confirming

Posted by BestServerSupport, 09-15-2013, 10:11 AM
I would suggest you to make sure with your ISP OR server provider that default port of SMTP 25 is not blocked from their side. Generally they do to avoid attacks on default ports. As an alternative, you can use another SMTP port like 587.

Posted by kevincheri, 09-15-2013, 04:24 PM
Do you get the TimeOut error straightaway?, else the message is expected after a while if you leave the connection open.

Posted by net, 09-15-2013, 05:09 PM
You should check your setting particularly the main.cf as it seems it is not properly set.

Posted by Mayur-strad, 09-16-2013, 07:46 AM
First make sure that smtp port is listened by postfix do #fuser -v -n tcp 25 it will show u which program listens to tcp 25. if postfix listens to 25 check posfix configuration.

Posted by tuxandrew, 09-19-2013, 08:39 AM
Try from commandline and check the Postfix is running with port 25. $ netstat -pln | grep :25



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
OpenVZ 32bit centos? (Views: 716)


Language: