smtpd/qpsmtpd — pull request #8 by msimerson (2012-04-03 06:12:23+00:00)
Title: a basket of changes

This last weekend I finally replaced my smtpd daemon with qpsmtpd. I encountered a number of little issues that I have written changes for. All changes are published on my github fork.

1. Issue #1: auth/vpopmaild authentications were failing. Apparently the format of vpopmaild responses has been expanded and the responses are conditional. I replaced the 'sometimes works' eq comparison with a 'works every time' regexp. I also added some test files for the 3 vpopmail plugins.

2. 50MB of RAM isn't enough on my FreeBSD 8.2 amd64 system. Increased the default to 75MB.

3. Backscatter spam! I'm not fond of the "periodically build a list" approach, and found Qmail::Deliverable, which includes the check_qmail_deliverable qpsmtpd plugin. I imported the plugin and removed the reference to the no longer available check_delivery plugin from the STATUS file. So far, the plugin seems to work perfectly.

4. updated the github repo URL (ask -> smtpd) in docs.

5. applied the greylisting patch posted as Issue #1 on Google issue tracker. The patch was 'accepted' by Ask in 2007, but never applied.

6. spamassassin plugin: added support for per-user SA config settings, rewrote header processing logic in spamassassin plugin so it adds all the SA generated X-Spam-* headers to the message. Refactored the code for better maintainability.

I have all of these changes applied to my production running qpsmtpd install.