14 Jun 2012 00:03
new plugin: helo
Matt Simerson <matt <at> tnpi.net>
2012-06-13 22:03:19 GMT
2012-06-13 22:03:19 GMT
https://github.com/smtpd/qpsmtpd/pull/29 I've been running it on my server for a week in RFC policy mode. I knew from hours of watching logs that it would be effective, but measuring it was still surprising and delightful. Of the 10% of connections that make it past the dnsbl and karma tests, another 50% are rejected by these HELO tests. Of those 50%, more than 95% are connections from Windows (most Win 7) hosts where the DNS bears no resemblance to the HELO hostname offered. Since expanding the no_matching_dns test (earlier today), I have yet to see a single false positive from that test. While I'm still not using that as a condition for rejection, it may now be good enough to enforce. Matt NAME helo - validate the HELO message presented by a connecting host. DESCRIPTION Validate the HELO hostname. This plugin includes a suite of optional tests, selectable by the *policy* setting. The policy section details which tests are enforced by each policy option. This plugin adds an X-HELO header with the HELO hostname to the message. Using *policy rfc* will reject a very large portion of the spam from hosts that have yet to get blacklisted. WHY IT WORKS The reverse DNS of the zombie PCs is out of the spam operators control. Their only way to get past these tests is to limit themselves to hosts(Continue reading)
RSS Feed