https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8197
Bug ID: 8197
Summary: DNS resolving breaks with Net::DNS 1.40 in Windows
Product: Spamassassin
Version: 4.0.0
Hardware: PC
OS: Windows
Status: NEW
Severity: normal
Priority: P2
Component: Libraries
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
On Windows 11 with Strawberry Perl 5.38 running tests I get a number of
messages from tests that use Net::DNS, such as the following from t/uribl.t and
t/hashbl.t
First there is the warning
warn: deprecated method; size() is an alias of "UDPsize()" at
..\\lib/Mail/SpamAssassin/DnsResolver.pm line 602.
The a number of warnings (with different numbers of bytes but always a
difference of 11 between received and decoded):
bgread: received a 98 bytes packet from 172.16.23.2, decoded 87 bytes
If I install Strawberry Perl 5.32 which comes with Net::DNS version 1.29, the
warnings go away. If I then upgrade just Net::DNS to 1.40 they come back.
The warnings do not appear using Net::DNS 1.40 on Mac or Linux. I have not yet
tried it in Windows 10
This happens with the release package of 4.0.0 as well as in trunk.
--
You are receiving this mail because:
You are the assignee for the bug.