Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What are all the different ways to combat all forms of spam on Microsoft Exchange Server (2007 preferred)?

Types of spam may include:

  • Embedded image spam
  • malicious Zip file spam
  • Email with SenderID Status = None
  • Spam from hijacked computers
  • Spam from seemingly legitimate domains

I'm hoping this question can become the wiki for all the ways to deal with spam on Exchange.

share|improve this question

A powerful, free solution is ASSP All mail coming from outside the organization hits the ASSP server first and is filtered before being passed to the Exchange box. This works pretty well in our organization of about 800 users.

share|improve this answer

It's not only specific to the server software, but also on the load on that server - spam percentage, amount of mailboxes, time of the year (around the holidays spam volumes increase dramatically) etc.

in one of the companies I worked for, we had 300 mailboxes and an internal exchange server, with another server running trend micro exchange scanner. The spam amounted up to 94% of incoming mail, and both the exchange server and the antivirus server were overloaded.

I installed a front end using CentOS+Postfix+SpamAssassin, using the following: - ~10 different RBLs reverse DNS lookups FuzzyOCR (for the image spam) Helo response delay of 15 seconds (this one cut off ~98% of the spam; requires a lot of extra RAM on the front end)

After this, the internal spamfilter on Exchange went down to less than 1% of the correspondence.

share|improve this answer

On my setup, Im using HmailServer: as our SMTP gateway, Enabled DNSBL, greylisting and Rules to filter Spam. More than 90% are all blocked with these alone, remaining are all handled by Exchange 2007 content filtering.

share|improve this answer

I believe a question such as this should not be specific to any mail server software. While it would be nice to have it all in one package it's unfortunate that spam is such a great problem today that the most effective filtering is done by dedicated appliances.

I use the Open Source edition of Mailcleaner, which is a complete Debian based distribution specifically deigned as a spam and antivirus scanner. While this version is free it does require a little bit of work to get it working well, as there are no databases supplied for it to start with. It therefore requires feeding with known ham and spam, so that it can build the databases to use for filtering. For those less inclined to do such work there is also a commercial version, which is a little more "complete". See or for more information.

share|improve this answer

We have used appliances from both Barracuda Networks and appliance-installs from Roaring Penguin (ie install a custom load of Linux on a server, the server essentially becomes an appliance).

We found that the Roaring Penguins, even as stand-alone, scaled much better under load (100K+ messages/day) than the barracudas did. We are evaluating a Roaring Penguin cluster now and the results are promising.

We found that the Barracuda offerings were much more user-friendly. The Roaring Penguins are much more configurable but it is way too easy for users to start filtering out too much.

share|improve this answer

If you have a perimeter firewall, you should create strong rules to block mail ports in your network for all computers except for your email server. A complete list of email ports can be found here.

share|improve this answer
This would block mail altogether - not stop spam. – Rex Apr 28 '11 at 16:20
What I was thinking about? Editing right now – Miguel Apr 28 '11 at 19:32
@Rex - technically this would stop spam as well. – GregD Apr 28 '11 at 19:39
@GregD - very true (voted up for showing me up :) – Rex Apr 28 '11 at 20:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.