Posts Tagged ‘Anti-Spam’

How to Enable Anti-Spam Functionality on a Hub Transport Server

April 28, 2009 1 comment

Let’s say your company is small or midsize business and you don’t have enough resources to set up the secondary Exchange 2007 server with Edge Transport role. There is a way how to enable anti-spam options on a server that has Hub Transport role installed. To do this, first you need to check that your account has proper permissions. Now if you got the permissions, here’s the script you need to run Install-AntispamAgents.ps1. This script is located here:
%system drive%/Program Files\Microsoft\Exchange Server\Scripts, and you must run it from that folder. To run this script use the following command:


After the script has run restart the MS Exchange Transport service. You can do it with this command:

Restart-Service MSExchangeTransport

One more thing, All the commands mentioned above are meant to be run in Exchange Management Shell. So if you got MS Exchange 2007 installed on Windows Server 2008 and both Windows Powershell and Exchange Management Shell then use the last one to run these commands.

If you want to read more about it then here’s the link from technet.