We help IT Professionals succeed at work.

How to configure receipient filtering in Exchange 2007

jimmckenzie asked
Last Modified: 2008-10-19
We have been using Exchange 2007 for about two months now. About two weeks ago, we added a new domain name to the list of accepted domains. As a result, we started getting a  tremendous amount of spam sent to fake addresses on the new domain. Our previous Exchange version, (2003) did provide a way of prevent this by checking a box that would  block messages to recipients that were not on the Active Directory. I have been looking for such feature in 2007 but I have not been able to find it on the Exchange Management Console. Could it be, that there is a command based procedure in the Exchange Managment Shell that does this? In other words, is there a command that can be run on the shell that will allow us to block all this messages being sent to fake addresses?

Anticipated thanks for your time,
Watch Question

Top Expert 2007

Do you have an Edge Transport server running - or is Ex2007 only hub transport?


We don't have a separate Edge Transport server. All the roles are in one single server.

Top Expert 2007
Unlock this solution and get a sample of our free trial.
(No credit card required)
Top Expert 2007

As the MSExchange article states - once you've ran the script there will be an additional 'Anti-Spam' tab visible on your Hub Transport server. From there you can configure the Recipient Filtering.


We had the anti-spam feature active for a couple of weeks but decided to remove it after we bought a third party application and due in part to a suspicious we had  that the server was 'silently' dropping good messages after the anti-spam in exchange was activated. I will however, re install it and take a look to see if we can find what we need. I will definetively read the links you send me. Thanks so much for your time. I will get back to the forum with an update. Again, thanks very much for your help.
Top Expert 2007

Sounds good - hope it helps out.

You can certainly leave all the features disabled except the Recipient Filtering feature....you'll see on the properties of the recipient filtering -> blocked recipients tab -> there's a tick box for "block messages sent to recipients not listed in the global address list".
Expert of the Year 2007
Expert of the Year 2006

Running the antispam PS script doesn't activate the Exchange antispam features at all. It just adds the options to the management console. You can then activate the recipient filtering option and leave the others alone.



Yes, activating the anti spam feature solved the problem as I now only get the spam sent to users in the active directory. the recipient filter portion of the anti-spam contains a box that specifically block messages sent to recipients not listed in AD.
Thanks very much for your help aissim and sembee for your comment.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*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.