A basket of changes

[email protected] (Matt Simerson)
Newsgroups perl.qpsmtpd
Message-ID <[email protected]>
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. 


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. 

I have learned that Mail::Header has been deprecated in favor of Mail::Message::Head. In conversing with Mark, the maintainer/author of both modules, I believe I can entirely replace Mail::Header with Mail::Message::Head. It is my intention to do exactly that and then testing it thoroughly. If it works out, I'll be uploading a patch for that too. 

Comments, questions, or concerns?

Matt

`````````````````````````````````````````````````````````````````````````
  Matt Simerson                   http://matt.simerson.net/
  Systems Engineer            http://www.tnpi.net/

  Mail::Toaster  - http://mail-toaster.org/
  NicTool          - http://www.nictool.com/
`````````````````````````````````````````````````````````````````````````
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.