Perl module Net::DNS 1.03 introduced an incompatibility
in its API, which causes all DNS lookups in SpamAssassin
The issue is documented in:
The attached patch fixes the incompatibility in
Mail/SpamAssassin/DnsResolver.pm so that it works
with Net::DNS 1.03, as well as its older versions.
The patch is the same as proposed in Bug 7265
(as linked above).
Created attachment 163334 [details]
A patch to fix DNS resolving with Net::DNS 1.03
Please hold on a bit, one of the plugins is still broken
due to its special use of a DNS resolver.
Will provide an updated patch...
Created attachment 163343 [details]
this fixes another problem with Net::DNS 1.03
So here is the second patch, fixing a DKIM plugin.
Both patches are needed to fix compatibility with Net::DNS 1.03.
Please apply to a port - until SpamAssassin 3.4.2 is released.
Committed. Thank you, Mark!
A commit references this bug:
Date: Mon Nov 23 17:00:19 UTC 2015
New revision: 402285
Add two patches from upstream bug #7265, which fixes incompatibilities with
Net::DNS 1.03. The FreeBSD p5-Net-DNS port has been downgraded to 1.02 but
Net::DNS will be re-issued at some point soon. The changes in these patches
seem to work well with Net::DNS 1.02.
While here, add some TEST_DEPENDS so I can run the plugin-based tests as well.
Bump PORTREVISION for spamassassin and japanese/spamassassin.
Submitted by: Mark.Martinec@ijs.si
Obtained from: https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7265