We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


SMTP Server Setup

TL208 asked
Medium Priority
Last Modified: 2013-11-30
I am having problems getting SMTP working under IIS on my XP Pro machine.  I managed this successfully on another similar machine.  The SMTP server settings look very similar on both machines.
When I run blat on this machine nothing appears in the Drop or Queue folders.  It doesnt matter where I address the email message, the result is the same.

This is an SMTP email server on a local machine, not on an ISP host.  On the local machine the <Properties>, <Delivery> <Advanced> settings for the Default SMTP server shows proteomcapital.com as the Masquewrade domain and proteomeu1.proteomcapital.com as the Fully-qualified domain name.

So I tried to telnet to proteomeu1.proteomcapital.com on ports 23 and 25 but it failed on both cases.

What am I missing, Experts?  I am fairly dumb about this so it could be something very simple.  

Watch Question

What SMTP server are you using on your WinXP Pro machine?

Do you want to receive mail from outside? In this case do you have a public IP and hostname?
In any case, try a "telnet localhost 25" to see if your SMTP is listening

on the xp machine run "netstat -na" and check to see that the ip address of the machine (or is listening on port 25.  If it is not, then check to be sure that the smtp service is started.  If it is, then be sure that there is no anti-virus on the machine that prevents smtp, also be sure that the windows firewall is disabled, or has exception rules to allow the smtp traffic on tcp 25.


ok - SMTP is started and its listening on port 25
I managed to telnet to localhost on 25
It responded with the assigned fully-qualified domain name proetomeu1.proteomcapital.com

I then tried to follow the instructions below, but its response was "unrecognized command"

Is there some other way of testing whether SMTP is working or not?


Type telnet server.com 25 (If you live in Canada, put 23) (where "server.com" is the name of the smtp (outgoing) server of your email provider, such as smtp-server.austin.rr.com). This can be found by checking your account info in the program you normally use for email.
Type HELO server.com.
Type MAIL FROM you@server.com.
Type RCPT TO Friend1@anotherserver.com, friend_two@someotherserver.org, friend.3three@Someserver.com, etc.
To write the message, type DATA, followed by your message.
To end the message, put a period on a line by itself and press Enter.
The directions look good, except the canada part, port 23 is telnet, port 25 is mail, it is universal.

So.  On the PC.

Type the following:

telnet localhost 25  (wait for response)
helo proetomeu1.proteomcapital.com (enter and wait for response)
mail from:yourrealemail@yourrealaddress.com (enter and wait for response)
rcpt to:friendsemail@friendsaddress.com (enter and wait for response)
DATA (enter)
now type your message  end it by putting a period on the line by itself.
this is a test message (enter)
did you get this.  (enter)
. (enter)
quit (enter)

Then see if the message goes out.  If not check the queue directories to see if it is there, and check the event log for clues.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


After telnet localhost 25 I type:

helo proetomeu1.proteomcapital.com (enter and wait for response)

It tells me:  500.5.3.3 Unrecognized command
HELO should be uppercase


Ok - that all worked.  Except that the email was not received.  I tried several different email addresses.

I think this IP address may be being blocked by SORBS.
Well the point is: what SMTP program are you using? Where is it supposed to deliver mail? Did you try to send (manually) an email that had to be delivered locally to your pc or sent outside?


I followed the instructions above and tried to telnet a message manually to an outside email address.  I also tried Blat to an outside address.  In other similar circumstances this has worked even when an IP address is blacklisted (by SORBS or others) when you send to gmail - it doesnt seem to use blacklists.  But it doesnt work in this case...
Does Blat work?
Anyway you either have not configured SMTP properly or a firewall (yours or your provider's) is blocking the connection.
What smtp server are you using??? AFAIK winxp doesn't include one.


No Blat does not work.

The firewall is not enabled on this machine.

I am using the default SMTP server under IIS, which is a standard part of Win XP.
Ok, then I assume that you want (at least for now) to send emails from your computer to some address out in the itnernet through your SMTP server.
This is what I'd do:
- pick a valid email address to use for testing. This should be the address of a mailbox that you can check to see if it has actually received the test emails. Let's say this address is john@nowhere.com
- then try to send an email to this address using the "telnet command"
> to do this, first you must find the hostname of the mail exchange server for nowhere.com
> from a command prompt type
> nslookup -"set type=MX" nowhere.com
> you should get a list of lines like "nowhere.com MX preference=5, mail exchanger = somename.nowhere.com
> write down the name of one mail exhcanger with the lowest preference (say "somename.nowhere.com").
> try to send an email using "telnet somename.nowhere.com 25" etc... of course, when you type "RCPT TO:" you must use the test email address you have decided as in "RCPT TO: john@nowhere.com"
- see if the mail has been correctly delivered.
If not, then you have network issues (firewalls, etc)
If it worked, then there is something wrong with your SMTP server configuration (but in this case, try also sending an email to the same address but using "telnet localhost 25")
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.