Wednesday, 18 March 2015

How to Configure Anti-Spam feature in Exchange Server 2007

Exchange server 2007 has in-built feature to install Anti-spam agent on Hub transport server if you do not have Edge Transport server in your environment. This feature is disabled by default, but pretty simple to enable it from the PowerShell.
Enter in the PowerShell and run the below command to install this feature.
.\install-antispamagent.ps1
Once you complete these steps, you will see the Anti-spam tab enabled in the Exchange Management Console.
We had to register our external SMTP mail filter using the command Set-Transport Config:
set-transportconfig “internalsmtpserver x.x.x.x
To check the current configuration;
Get-TransportConfig | ft InternalSMTPServers
Â
Then we need to check that the Anti-Spam updates were working automatically using the cmdlet:
get-antispamupdates
Â
The Anti-Spam updates were set to manual, the command to enable them was:
Enable-AntispamUpdates -SpamSignatureUpdatesEnabled $true -UpdateMode Automatic
A further check showed that the updates were now being collected automatically and that UpdateMode is set to Automatic.
The first thing to do is ensure Content Filtering is configured by setting up a new Mailbox for quarantined mail then double-clicking the Content Filtering tab under the Anti-Spam tab in the Hub Transport in the menu where you fill four tabs: General, Custom Words, Exceptions and Action.

No comments:

Post a Comment