Skip to main content

Install Ant-Spam Agents on Hub Transport Role (Single Server Setup)

Posted August 2009 by Steve Sinchak

On a normal Exchange Server 2007 deployment an Edge server role is setup facing the Internet and the Hub Transport role is hosted on an internal server.  Anti-Spam agents such as Content Filtering, Connection filtering, Sender ID, Sender Filtering, Recipient Filtering and Sender Reputation are only installed by default on the public facing edge server role.

If you have a small Exchange 2007 deployment where all roles are hosted on one server you will not be using a edge server role.  Instead, you will be using the Hub Transport role to send and receive messages.  Since that is not the typical way to setup Exchange the anti-spam agents are not installed on the Hub Transport role by default.

You can easily installed the Anti-Spam agents on the Hub Transport role by running a simple powershell script.  Open up the Exchange Management Shell and navigate to the exchange scripts directory C:\Program Files\Microsoft\Exchange Server\Scripts.  Then type in install-AntispamAgents.ps1 and hit Enter.

After the agents are installed type in Restart-Service MSExchangeTransport and hit Enter to restart the Hub Transport role.

You can now configure each of the Anti-Spam agent settings.

Related Posts

The Java Runtime Environment has become one of the most exploited components of any operating system. Even the US Department of Homeland Security warns users to disable java unless they have a really good reason to use it.  For most of us the days of Web sites requiring you to run Java applets has long passed.  However, there still are a good number of desktop applications written in Java so simply...

Read More

Port 3389 is the home of the remote desktop protocol that powers Remote Desktop Services on all modern versions of Windows.  If your system has Remote Desktop enabled, it is listening for connections on port 3389.  Since this port is both well known and can be used to attack accounts, it is low hanging fruit for script kiddies and bots looking for an easy target.

Read More

The default flower user picture is displayed for new accounts and on various logon screens throughout the OS.  Customizing this picture requires a simple file copy and doing so will allow you to personalize your PC or even display a corporate logo.

Read More

Microsoft included a batch rename feature in the latest version of Windows allowing you to select multiple files, right click on one and select rename. All of the selected files will be renamed with the name you provided and a number. This functionality works well for basic files but does not provide any flexibility in exactly how the files are numbered and also does not allow the file extension to...

Read More