Solved

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

Posted on 2008-09-30
2
598 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In this video we show how to create a mailbox database 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 Servers >> Data…
Suggested Courses

624 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