Content Filtering

Virus and Spam Filtering options for your Qmail server along with the programs that call them.

The standard for virus scanning on Open Source mail servers is ClamAV so that's the instructions provided here.

For spam filtering, there are a couple of options with SpamAssassin being the most common.

Normally, qmail-smtpd passes a message onto qmail-queue for delivery. However, our install of Qmail has been patched with the qmailqueue patch that allows it to call another program first. Two such programs that act as interfaces to the email scanning abilities of SpamAssassin and ClamAV are:

  • QmailScanner - written in Perl so there is some overhead involved in running it. Instructions are provided for Qmailscanner, but they won't be maintained - I recommend using:
  • SimScan - written in C so it runs faster and also supports Dspam.

You can also install programs which can be perform customized filtering on your messages allowing you to move them to different mailboxes/folders, forward them elsewhere, etc.. Two such programs are:

Filtering Appliances
ScrollOut F1 Anti-Spam Email Gateway


Various bits of code, scripts, and procedures were put together with information from John Simpson's website. It's an excellent resource on managing and setting up a Qmail server.

Recent Updates

  • 1 year 11 months ago
  • 1 year 11 months ago
  • 1 year 12 months ago
    php 8.x
  • 1 year 12 months ago
  • 1 year 12 months ago
    Drop Centos 5/6 stuff