Link to home
Start Free TrialLog in
Avatar of innovexx
innovexx

asked on

SBS 2008, Exchange 2007 Recipient Filtering not working

Hello all;

I have a customer with SBS 2008, running Exchange 2007 SP1.  I can't seem to get the recipient filtering to work.  All I am trying to do is filter out recipients that are not listed in the GAL.  I have enabled Recipient Filtering under Org Config / Hub Transport and I have checked the box that reads "Block messages sent to recipients not listed in the Global Address List.  I have verified the settings with both EMC and EMS.  

Even with this enabled, I still get an "Ok" response from the SMTP connector when RCPT TO'ing an invalid address.

What am I missing here?  Any help would be greatly appreciated.

Thanks,

Al
Avatar of endital1097
endital1097
Flag of United States of America image

Enable Anti-Spam Functionality on a Hub Transport Server
http://technet.microsoft.com/en-us/library/bb201691.aspx


Please note that the Anti-Spam settings along with 'Block messages sent to recipients not listed in GAL' is setup on SBS2008 by default and you wouldn't need to do that.

SBS2008 needs you to go through the initial setup wizard to properly set all the settings and everything related to active directory and exchange. It is really recommended to use the wizard for setting up new server, please do that if you haven't done so.
Avatar of innovexx
innovexx

ASKER

Thank you for the info.  I ran all of the wizards again and I performed the steps listed by endital1097.  Still no luck...  All recipients, with the correct domain name, are "Ok" by the SMTP connector.
After enabling the filter you need to restart the Transport Service.
Is there anything else installed on the server that could be getting in the way?

Simon.
I did restart the Exchange Transport services.  Nothing on the server, already axed the AV software.  I also tried to prevent the server from sending out NDR's as a quick fix.  No luck, that does not work either.

Can you run the following commands from Exchange Management Shell:

Get-TransportAgent "Recipient Filter Agent" | fl En*
Get-RecipientFilterConfig | fl En*,R*v*

Can you test that you are receiving a 250 response to the RCPT TO by doing a simple telnet test from outside your organisation to your MX record.

telnet <Your Server> 25
EHLO domain.com
mail from:<you@yourexternaladdress.com>
rcpt to:<invalidaddress@yourdomain.com>
---> Here - do you receive a 5.1.1 or a 250?

Shaun
I have seen this happen before, where turning the feature off, restarting transport and then turning it back on again and restarting transport again fixes it.

Simon.
ASKER CERTIFIED SOLUTION
Avatar of shauncroucher
shauncroucher
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Shaun!

It was the Set-AcceptedDomain -Identity mydomain.com -AddressBookEnabled $true that fixed me up!

Thanks to everyone!
Great. This setting is enabled by default so it must have been changed at some stage?

Shaun
Not sure.  Another company handled the migration from SBS 2003.  Thanks again!
Glad I could help,

Shaun