It is currently Mon Feb 13, 2012 8:46 pm




 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: How to check if your Exchange Server is an Open SMTP Relay
PostPosted: Thu Aug 20, 2009 8:32 pm 
Site Admin
Site Admin
User avatar

Joined: Mon Feb 09, 2009 1:31 pm
Posts: 193
Location: Newport, South Wales
How to check Whether your Exchange Server is an Open SMTP Relay

To do this we will use Telnet which involves establishing a session from a computer that is not on the same network as the external (public) IP address of the Exchange server. Performing this from a machine on your own network will not produce accurate results.

1. Open a command prompt.
2. Type "telnet" and press enter.
3. At the Telnet prompt, type the following and press enter

set localecho

4. Type the following and press enter

open mail.mydomain.com 25

where mail.mydomain.com is the address of your Exchange server. You should receive a response similar to this:

Quote:
220 mail.mydomain.com Microsoft ESMTP MAIL Service ready at Thu, 20 Aug 2009 21:06:02 +0100

5. Type the following and press enter

helo testdomain.com

where testdomain.com is a domain not hosted on your Exchange server. You should receive a response similar to this:

Quote:
250 OK

5. Type the following and press enter.

mail from:someone@testdomain.com

You should receive a response similar to this:

Quote:
250 2.1.0 address@testdomain.com....Sender OK

5. Type the following and press enter.

rcpt to:someone@anotherdomain.com

where anotherdomain.com is a domain also not hosted on your Exchange server. You should receive a response similar to this:

Quote:
550 5.7.1 Unable to relay

This means your server is not an open relay. However, if you receive a response similar to this:

Quote:

Then your server is an open relay.



_________________
Dave Webb
Windows 2008 Forums
Offline
 Profile  
 
 Post subject: Re: How to check if your Exchange Server is an Open SMTP Relay
PostPosted: Fri Sep 11, 2009 1:13 pm 
Newbie
Newbie

Joined: Tue Aug 25, 2009 1:59 pm
Posts: 6
Excellent tip, thanks Dave!


Offline
 Profile  
 
 Post subject: Re: How to check if your Exchange Server is an Open SMTP Relay
PostPosted: Wed Mar 03, 2010 9:23 am 
Newbie
Newbie

Joined: Mon Mar 01, 2010 7:02 pm
Posts: 5
Useful, thank you


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron