Qmail Qregex Patch for Qmailrocks Distribution

by damonp on November 4, 2005

in SysAdmin

Qmailrocks is a soup-to-nuts mailserver distribution that includes Qmail, Vpopmail, Spamassassin and Courier IMAP. It provides compatible versions of each of the server daemons and step-by-step instructions for installing all of them.

Qregex is a patch for Qmail that allows an admin to configure Qmail to automatically bounce messages based on regular expression matching in the FROM and TO addresses and the HELO handshake. Spammers have figured out specially crafted strings to use in each of these fields to confuse Qmail into accepting a spam for delivery.

The Qmailrocks build contains other patches that conflict with the Qregex patch. I created a Qmailrocks specific Qregex patch by manually integrating the conflicting code of the Qregex patch. To integrate, download the patch, copy to the Qmail source directory and execute the following command directly before building Qmail:

patch < qregex-20040725-qmr.patch

Check the Qregex README for more information on configuring Qmail to make use of the new functionality. The example configuration files should be sufficient in most cases.

Popularity: 1%

Most Popular Posts

Damon Parker is a freelance sysadmin and web developer in Texas. He specializes in server setup, server security and high performance server configurations. Need help setting up a web server or getting a server back online after a crash or hack? Email Damon

{ 1 comment… read it below or add one }

Thibs June 24, 2010 at 5:31 am

You can find an updated version of QMR for Debian on http://qmailrocks.thibs.com

Reply

Leave a Comment

Previous post:

Next post: