Windows 2008 Forums
   Support, discussions, tips and tricks for the Microsoft Windows 2008 operating system
    Register FAQ  •  Search  •  Login     
It is currently Thu Sep 09, 2010 2:37 am

All times are UTC






Post new topic Reply to topic  [ 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 
Offline
Site Admin
User avatar

Joined: Mon Feb 09, 2009 1:31 pm
Posts: 122
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

Code:
set localecho

4. Type the following and press enter

Code:
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

Code:
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.

Code:
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.

Code:
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


 Profile  
Bookmark and Share
 Post subject: Re: How to check if your Exchange Server is an Open SMTP Relay
PostPosted: Fri Sep 11, 2009 1:13 pm 
Offline

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


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

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


 Profile  
Bookmark and Share
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


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
phpBB skin developed by: John Olson
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Site hosted in the UK by A2Z Computing Ltd