Solved

SMTP Server Setup

Posted on 2006-10-24
12
1,469 Views
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.  

0
Comment
Question by:TL208
  • 5
  • 5
  • 2
12 Comments
 
LVL 11

Expert Comment

by:lbertacco
ID: 17795008
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
0
 
LVL 10

Expert Comment

by:Sorenson
ID: 17795164
on the xp machine run "netstat -na" and check to see that the ip address of the machine (or 0.0.0.0) 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.

0
 

Author Comment

by:TL208
ID: 17795866
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.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 10

Assisted Solution

by:Sorenson
Sorenson earned 200 total points
ID: 17799100
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.
i.e.  
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.



0
 

Author Comment

by:TL208
ID: 17799428
After telnet localhost 25 I type:

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

It tells me:  500.5.3.3 Unrecognized command
0
 
LVL 11

Expert Comment

by:lbertacco
ID: 17801461
HELO should be uppercase
0
 

Author Comment

by:TL208
ID: 17801562
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.
0
 
LVL 11

Expert Comment

by:lbertacco
ID: 17801603
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?
0
 

Author Comment

by:TL208
ID: 17801671
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...
0
 
LVL 11

Expert Comment

by:lbertacco
ID: 17802242
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.
0
 

Author Comment

by:TL208
ID: 17802383
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.
0
 
LVL 11

Accepted Solution

by:
lbertacco earned 300 total points
ID: 17811127
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")
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Is it possible to host a website on a windows vps 4 57
VIRTUAL NETWORKING 3 62
Current Mac OS X Network Profiles and Firewall 5 55
Dns issues 4 35
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

776 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