3 Apr 2012 08:09
A basket of changes
Matt Simerson <matt <at> tnpi.net>
2012-04-03 06:09:36 GMT
2012-04-03 06:09:36 GMT
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-(Continue reading)Spam-* headers to the message. Refactored the code for better maintainability. I have all of these changes applied to my production running qpsmtpd install. I have one other issue I have yet to resolve. SpamAssassin generates a folded (nicely formatted) X-Spam-Report header. It's a thing of beauty, and unfortunately, if I add it to the message, the Mail::Header->add function unfolds and truncates it. Yuck.
RSS Feed