Telnet localhost on port 25 sometimes resolves to Hotmail, or Google mail server?!!
Posted on 2008-09-30
I've got a really strange problem on one of my network servers. The server is running MailEnable mailserver, and this is listening on port 25 (Any available IP address).
I attempt a telnet as follows:
telnet localhost 25
Sometimes these respond fine, with the default mailserver messages (220 Welcome to mailserver), and other times it will resolve to all sorts of remote mail servers, ie. (220 Welcome Google server) or (220 Hotmail server).
I can't see anything to suggest why this is occuring.
REmotely connecting via telnet to the server's static WAN IP address responds correctly everytime, and my reasons for querying this is because the server has ASP scripts which must send through localhost, the static IP address or the loop back address (all of which can respond with a remote server!)