Solved

Telnet localhost on port 25 sometimes resolves to Hotmail, or Google mail server?!!

Posted on 2008-09-30
2
581 Views
Last Modified: 2012-06-22
Experts,

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
telnet 127.0.0.1

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!)

Please help!
0
Comment
Question by:mhouldridge
2 Comments
 
LVL 44

Accepted Solution

by:
Darr247 earned 500 total points
ID: 22606314
Did you ever define localhost as 127.0.0.1 in the HOSTS file?

It's usually in
%windir%\system32\drivers\etc

All 127.x.x.x IPs are reserved for loopback, if I recall correctly, but I'm not certain than 'localhost' is hard coded as 127.0.0.1.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Spam invasion 8 61
Exchange 2010 DAG 18 64
Multiple Send Connectors - Exchange (SBS 2008) 10 68
forward schedule of change and individual change comms 3 36
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
An article on effective troubleshooting
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question