Reading through that thread, it looks like the right code to use is http://www.nntp.perl.org/group/perl.qpsmtpd/2004/07/msg1674.html
Because this is a large change, and the old version is so simple, I think I'd rather add this as a new plugin, check_spamhelo_fancy or something. If someone can put together and test a patch (or just new file) from Mark Powell's updated code and comments in the thread, I'll commit it. -R Peter Walter wrote: > > In http://www.nntp.perl.org/group/perl.qpsmtpd/2004/06/msg1438.html , > Mark Powell proposed a revised version of the check_spamhelo plugin, > but his changes never seemed to make it into the base. I have asked > that the changes be incorporated into a distribution I use (SME Server > 7.4), but the maintainers of the distribution tell me they would > prefer than the change come from upstream. Is there any likelihood > that this newer version of the check_spamhelo plugin will be > incorporated into the base anytime soon? > > Regards, > Peter