Portal Home > Knowledgebase > Articles Database > port 25 SMTP issue (probably port conflict)


port 25 SMTP issue (probably port conflict)




Posted by pivey, 04-12-2012, 04:55 PM
Hello i am using hmailserver for W2008 R2 machine I could pull my hair off on this. Request mail from server: OK, sending mail: NO Can telnet localhost 110 | can telnet mail.mydomain 110 Can telnet localhost 25 | CANNOT telnet mail.mydomain.com 25 Mail client says (when attempting to send mail out): "Sending of message failed. The message could not be sent because the connection to SMTP server smtp.mydomain.com was lost in the middle of the transaction. I deinstalled, re-installed hmailserver, tried other mail servers as well, .. same issue. I tried disabling firewall, deleting + reopen ports 25,110.. no success. Ping to mail server is ok as well ISP does not block any ports.. i asked them for any netwok issue, no network issue I even de-installed yesterdays installed Windows updates MX, PTR's.. all DNS settings are resolved just fine, but when it comes to connect to SMTP server, for checkin mail delivery, connection is not possible. PERFORMING A PORT SCAN: PERFORMING LOOKUP FOR PORTS IN USE (ip & server names are dummies): doing a netstat -ano | findstr :25 shows that two (2) PID's are making use of port 25 (well, that's what i think) 0.0.0.0:25 LISTENING 2260 44.4.44.4:25 LISTENING 860 (2260 is hmailserver, 860 are multiple other windows services) Need your professional help .. Please?

Posted by pivey, 04-12-2012, 04:58 PM
Forgot to say that, changing to a different port for testing, it worked fine. I was able to connect to mail server and sent mails out. Problem is, i am not sure if i should start closing the 860 services (for testing port 25), as these are Windows essential services running, like Windows update, Shell Hardware detection, Remote desktop configuration and a bunch of other serious looking services

Posted by MyITGuy, 04-12-2012, 05:41 PM
Thoughts are that your ISP Provider is blocking outbound port 25. When you are connected locally to the server, can you telnet to port 25? If you go to GRC.com and run the shields up test on port 25, is it open/closed or stealth?

Posted by pivey, 04-12-2012, 05:56 PM
Thoughts are that your ISP Provider is blocking outbound port 25. No, that' not the case. Checked that When you are connected locally to the server, can you telnet to port 25? I can telnet localhost 25, but cannot telnet mail.mydomain.com 25 If you go to GRC.com and run the shields up test on port 25, is it open/closed or stealth? 25/smtp is OPEN I am sure the whole stuff has a conflict as i was again running netstat -an |find /i "listening" and still see 2 services using that port. 0.0.0.0:25 LISTENING 2260 44.4.44.4:25 LISTENING 860 just to test, what's the secure way to disable service PID 860 not to make use of the port? Its strange that SMTP server is listening both on any address (0.0.0.0) and a specific address (44.4.44.4) for port 25 Don't see it on my other 2 servers

Posted by MyITGuy, 04-12-2012, 06:00 PM
Double check that mail.mydomain.com points to your external IP Address. I.E. http://dns.squish.net/ is a good tool to use Can you telnet to your external IP on port 25? Nothing strange about that IMO...it just means that your mail server is configured to bind to all/any ip address.

Posted by pivey, 04-12-2012, 06:08 PM
Yes, mail.mydomain.com points to your external IP Address but i cannot telnet to my external IP on port 25 That one drives me crazy

Posted by MyITGuy, 04-12-2012, 06:10 PM
Mind PM'ing me your domain and your external IP?

Posted by pivey, 04-12-2012, 06:13 PM
No problem, i already did. Thank you



Was this answer helpful?

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

Also Read
Flexihostings.net Down (Views: 787)
email push (Views: 752)


Language: