Install anti-spam agents on Hub Transport server

by Bharat Suneja on September 24, 2006

If you’re using Exchange Server 2007 in a topology with an Edge Transport server, the anti-spam agents – Connection Filtering, Content FilterSender ID, Sender Filter, Recipient Filter, and Protocol Analysis – are installed on the Edge Transport server. You don’t need these agents installed on the Hub server(s).

In environments without an Edge Transport server, you can install antispam agents manually on Hub Transport servers.

To install antispam agents on a Hub Transport server:

  1. Start the Exchange Management Shell (EMS)
  2. Navigate to the “\Exchange Server\Scripts” folder (by default C:\Program Files\Microsoft\Exchange Server\Scripts)
  3. Run the Install-AntispamAgents script:

    .\install-antispamagents.ps1

Once installed successfully, the command output will list each agent installed, whether it’s enabled or not, and its priority [see screenshot].

Anti-Spam Agents on Hub Transport server
Figure 1: After you install antispam agents on an Exchange 2007/2010 transport server, the Anti-spam tab becomes visible in Organization Configuration > Hub Transport node in the EMC.

After the antispam agents are installed, you can see the Anti-spam tab in Organization Configuration | Hub Transport node in EMC.

If your console was open during installation, you will need to restart it.

Routing Internet mail to the Hub Transport server

In deployments without an Edge Transport server, you can either route inbound mail through your service provider, or configure Hub Transport servers to receive inbound email directly. See previous post “Exchange Server 2007: Internet email without Edge servers“.

Disable or Uninstall antispam agents

You can disable each antispam agent by using the corresponding Set command. For example, to disable the Content Filter agent, use Set-ContentFilterConfig -Enabled $false. You may need to do thist temporarily when you’re troubleshooting an antispam issue.

How do you remove the antispam agents completely? You guessed it – there’s an Uninstall-AntispamAgents.ps1 script in the \Scripts directory.

Related posts:
- Exchange Server 2007: Internet email without Edge servers
- Exchange Server 2007: Managing And Filtering Anti-Spam Agent Logs
- Exchange 2007 Content FIlter: The Whitelist Is Here!
- Exchange 2007 Content Filter: How to move messages to Junk Mail folder
- Exchange Server 2007: How are RBLs performing?

{ 9 comments… read them below or add one }

Leave a Comment

{ 1 trackback }

Previous post:

Next post: