Image Image Image Image Image Image Image Image Image Image

Technology Blog with Jason Slater | April 24, 2014

Scroll to top

Top

4 Comments

Configuring Exchange Server 2007 Anti-Spam with Hub Transport

Jason Slater
  • On Monday, 22 September 2008
  • http://www.jasonslater.com

Last week I spent some time getting to grips with the Anti-Spam features of Microsoft Exchange Server 2007. I hadn’t previously seen or read much about them as we don’t have the Edge server installed – instead we are using an independent mail filtering package but I was keen to find if the built-in Anti-Spam features are comparable to the other mail filter in operation.

Without using an Edge Server, the Anti-Spam features can be installed directly into the Hub Transport module on the Exchange Server using Power Shell using the install-antispamagents.ps1 script which is located under Program FilesMicrosoft Exchange Server Scripts. After installation, the Exchange Transport service will need to be restarted to kick things into touch.

www.jasonslater.co.uk

I had to register our external SMTP mail filter using the command Set-Transport Config:

set-transportconfig –internalsmtpserver x.x.x.x

Then I needed to check that the Anti-Spam updates were working automatically using the cmdlet:

get-antispamupdates

www.jasonslater.co.uk

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.

www.jasonslater.co.uk

Now we have a new Anti-Spam tab under our Microsoft Exchange Server Hub Transport module with various Anti-Spam facilities available.

www.jasonslater.co.uk

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.

www.jasonslater.co.uk

The General tab is purely informational, the Custom Words tab is where you put your own words and phrases to specifically block (override the SCL to 9) or not block (override the SCL to 0); SCL is the Sender Confidence Level. Particular recipients can be excepted in the Exceptions tab (in our case some system log files that are sent to and stored in the email system). The final tab Action tells the Content Filter what to do based on SCL thresholds – Delete, Reject or Quarantine (to Mailbox). Quarantine to a Mailbox requires an administrator to check the email – open it and either Delete it or click Send Again to approve it.

Further Reading

Comments

  1. brew

    How effective is Exchange Server 2007 Anti-Spam? I am considering enabling it, but is it any good? I am currently using Spam Vigilante, an open source project. But a lot of spam gets through and it looks like development on it has stopped.

Submit a Comment


three + = 7