Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


November 29, 1999

Is Your Exchange Server Relay-Secure?


RSS
View this exclusive article with VIP access -- click here to join |
See More Protocols Articles Here | Reprints | Or sign up for our VIP Monthly Pass!
SideBar    Protect Your Server Against Encapsulated SMTP Vulnerability

In August 1999, Microsoft released an Exchange Server 5.5, post-Service Pack 2 (SP2) hotfix to address a specific Exchange mail-relaying vulnerability. This fix plugged a security hole that let the Internet Mail Service (IMS) relay encapsulated SMTP messages, even if you'd configured the server to prevent relaying.

Many companies, however, haven't secured their servers. In a quick test of 20 sites, I found that between 60 and 70 percent of them either hadn't applied this security patch or hadn't configured their servers to block relays in the manner that the Internet Engineering Task Force (IETF) Request for Comments (RFC) 2505 suggests.

If you haven't completely secured your server against relaying, an outsider can use your server to deliver email that appears to have originated from your server and possibly from one of your mail accounts. In the United States and other countries, people periodically debate whether systems' owners are liable if someone uses their system as a relay. The crux of the debate is whether an owner knew about the problem but chose to do nothing about it. Aside from concern about owners' liability, relaying is also a form of Denial of Service (DoS) attack because it takes system resources away from legitimate operations. Relaying is also bad for your company's business because it can generate ill will among your customers. . . .


Already a VIP member?
Please log on to view the full article

Why become a VIP member?

VIP-only online access
VIP CD delivered twice a year: offline access to the entire Windows IT Pro article library
Monthly issue of your choice of Windows IT Pro or SQL Server Magazine

Subscribe Now
Reader Comments
This article helped with a similar situation I had and the links led me to the exact solution I needed for the Exchange 2000 server with the same issue. Now, does anyone know how I can log the ip/header information from the originator who was using my server as an unauthorized spam agent? I would really like to NAIL this xxxxxxx!

Michael Smith March 28, 2001


This Microsoft article provides good information about this process: http://support.microsoft.com/support/kb/articles/Q279/8/60.ASP

exchange guru July 19, 2001


The only thing the author failed to mention is that clients who access their Exchange Server through POP3 must use SMTP authentication or they will get a relay error when trying to send email to anyone not on the Exchange Server's domain.

Michael Jones August 27, 2001


Your article is informative, but your example is for people with no POP3 or IMAP. I support IMAP (internally only) for some of my clients. How do I set up relaying options for that environment? Do I use the "Hosts and clients that sucessfully authenticate" check box or the "Hosts and clients connecting to these internal addresses" check box and use x.x.x.0 for each of my internal segments?

Thanks for the informative articles. They really help.

Donald Boyd September 27, 2001


I'm testing an Exchange server through http://abuse.net/relay.html. The server has undergone relay fixing as detailed in this article, but on test 6 of a possible 17, the test fails as follows:

Relay test 6
>>> RSET
<<< 250 Ok
>>> MAIL FROM:<spamtest@x.x.co.il>
<<< 250 Ok
>>> RCPT TO:<relaytest%abuse.net@x.x.co.il>
<<< 250 Ok

How can I stop '%' SMTP relaying?

Hank Nussbacher October 16, 2001


This article is for Exchange 5.5 , but I have the same problema with Exchange 2000. How can I get a solution for Exchange 2000?

Rafa October 16, 2001


I'm kind of new to this job (CNA) and I like reading this kind of article, which has helped me a lot. However, I have a big problem. Some people have been using my server to send spams (UCE).
I use Win2K Advanced Server and Exchange 5.5 SP4 with IMS installed. I host some domains and followed the steps in this article, but it didn't work 100%. I can send and receive emails as long as I send them to the accounts that are in my GAL, but if a client in one of the domains that I host tries to send out an email to a domain that I don't host, it won't relay.
I set up two servers so one of them receives and the other one sends out, but I still have a problem because I need to stop SMTP in the first server, which is the one that is being used to send UCE. Can somebody tell me how I can stop SMTP relaying in my server Exchange 5.5 SP4 server with IMS?

Ernesto Zepeda October 27, 2001


Is there any ways to restrict relaying so that only those messages with a sender or receipient on the local system will be relayed?

Henry Ho October 28, 2001


My Exchange Server has been a victim of relaying and I have implemented the recommendations mentioned in the article (i.e., I've checked "Hosts and clients with these IP addresses" and not specified any IP addresses in the Routing Restrictions dialog box). This all works fine and stops the relaying used by the spammers. However, now my email users who access the mail server remotely cannot send email to anybody other than my other email users.
I cannot add their IP addresses as they are dynamically assigned when they log on to their ISP. Have I implemented this correctly? The result is obviously not a desirable one. How do I stop the spammers and still enable my email users to send mail to people other than my mail server users?

Chris Morgan October 30, 2001


When I Telnet to my Exchange server and attempt to enter any commands, I get the following error message: "500 command not recognized." Any ideas what's causing this error?

jhale November 05, 2001


 See More Comments  1   2   3   4   5   6   7   8   9   10   11   12 

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Understanding File-Size Limits on NTFS and FAT

A general confusion about files sizes on FAT seems to stem from FAT32's file-size limit of 4GB and partition-size limit of 2TB. ...


Security Whitepapers Reducing the Costs and Risks of Branch Office Data Protection

Solving Desktop Management Challenges in Healthcare

Solving Desktop Management Challenges in Education

Related Events WinConnections and Microsoft® Exchange Connections

Managing IT Across Multiple Locations

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement