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
MailScanner
ScrollOut F1 Anti-Spam Email Gateway

Credits

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

Recent Updates

  • 11 months 3 weeks ago
  • 11 months 3 weeks ago
    Removed original versions of ucspi-tcp and ucspi-ssl and replaced them with upgraded versions. The old ones were failing PCI compliance tests by Security Metrics. ucspi-ssl also had issues installing on CentOS 7 - new version installed without issues.
  • 11 months 3 weeks ago
    1.3.7 update
  • 11 months 3 weeks ago
  • 1 year 1 hour ago
    MariaDB