MS Exchange 2007/2010
Recipient Verification is configured in the "Anti-Spam agents" module. The Anti-Spam agents are enabled by default on Edge Transport servers, but not Hub Transport servers. If you do not have an Edge Transport Exchange 2007 server, you can enable the Anti-Spam agents on a Hub Transport server. Please follow this link to a Microsoft knowledgebase article below if you need to enable the "Anti-Spam agents" module on your Exchange 2007 server:
Version:1.0 StartHTML:0000000167 EndHTML:0000008758 StartFragment:0000000487 EndFragment:0000008742
Once you have verified that the Anti-Spam agents are enabled, you can configure Microsoft Exchange to block mail addressed to recipients that don't exist in your organization. This feature is called Recipient Lookup, and can be enabled by following these steps:
- Open the Exchange Management Console.
- Expand Organization Configuration.
- Click on Hub Transport.
- Click the Anti-Spam Tab.
- Double click Recipient Filtering.
- Click the Blocked Recipients tab.
- Check the first option, labeled Block messages sent to recipients not listed in the Global Address list.
When someone tries to send an email to a user that does not exist in your Active Directory domain, they will receive this error:
550 5.5.1 User unknown
The email will not be received by Microsoft Exchange server, since the error is given during the SMTP transmission. Then, assuming your domain has this Exchange server configured as its Destination Server, the Barracuda Email Security Gateway should begin to reject incoming mail addressed to invalid recipients at your domain.
MS Exchange 2003:
Follow this procedure to enable Microsoft Exchange Server 2003 to allow emails for valid recipients only. This step is necessary to allow the Microsoft Exchange 2003 server to work with the SMTP verification feature of the Barracuda Email Security Gateway. First, enable filtering for recipients which are not found in Active Directory.
- Open Exchange System Manager > Global Settings, right-click on Message Delivery, and choose Properties.
- Go to the Recipient Filtering tab.
- Enable the option Filter recipients who are not in the Directory.
- Click OK to close the window and save your changes.
- Open Exchange System Manager > Administrative Groups > (Administrative Group Name) > Servers > Protocols > SMTP.
- Right-click on the SMTP Virtual Server and select Properties.
- Go to the General tab click the Advanced... button.
- Choose the IP binding that that is listening on the Internet. Click the Edit... button.
- Enable the Apply Recipient Filter option.
- Click OK through all the windows to save your changes.
550 5.5.1 User unknown
The email will not be received by Microsoft Exchange server, since the error is given during the SMTP transmission. Then, assuming your domain has this Exchange server configured as its Destination Server, the Email Security Gateway should begin to reject incoming mail addressed to invalid recipients at your domain.
Additional Notes: