More Anti-spam tasks
Now that we have looked at how to configure Attachment filtering, lets look at how to configure Connection Filtering in Exchange 2007.
Using the Exchange Management Console (EMC) against a Edge server, we can enable or disable filters by looking at the Anti-spam tab on the server, and right clicking on the filter.
To do this via the Exchange Management Shell use Set-IPAllowListConfig.
Now it shows up in the EMC as disabled.
That is how you disable and enable the lists. To configure them you can do this by choosing properties after right clicking on the particular one you want to do it on.
To do this in EMS use Set-IPBlockListConfig, Set-IPAllowListConfig, etc.
You can install the anti-spam agents on the Hub Transport server role by using the Install-AntiSpamAgents.ps1 script and restarting the MSExchangeTransport Service. This script is located in the %system drive%/Program Files/Microsoft/Exchange Server/Scripts folder.
After you run this script, the following anti-spam agents are installed and enabled:
Notice anything missing? Attachment Filtering is only available on Edge. But, Forefront can do this as well on a Hub Server.
Also, after running the script, the Anti-spam tab is available in the Exchange Management Console for Hub Transport servers. We recommend that you install the anti-spam agents if you select a topology that does not include an Edge Transport server so that the Hub Transport server can provide anti-spam protection for the Exchange organization.
More information can be found here: http://msexchangeteam.com/archive/2008/06/23/449070.aspx