You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@spamassassin.apache.org on 2020/09/11 09:43:58 UTC
[Bug 7854] New: Use of uninitialized value $rr_type in string eq at
....SpamAssassin/Plugin/AskDNS.pm line 592
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7854
Bug ID: 7854
Summary: Use of uninitialized value $rr_type in string eq at
....SpamAssassin/Plugin/AskDNS.pm line 592
Product: Spamassassin
Version: 3.4.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: spamassassin
Assignee: dev@spamassassin.apache.org
Reporter: digidax@gmx.net
Target Milestone: Undefined
After Update to 3.4.0 having in log:
_WARN: Use of uninitialized value $rr_type in string eq at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/AskDNS.pm line 592.
DNS resolution is working fine
# Options to spamd
SPAMDOPTIONS="-d -c -m5 -H --ipv4"
added to local.cf:
# Add DNS Server info
dns_server 192.168.130.254
dns_server 8.8.8.8
dns_server 1.1.1.1
cat /etc/resolv.conf
nameserver 192.168.130.254
System Infos:
spamassassin.x86_64 3.4.0-5.el7_7
OS: CentOS 7.8
Kernel 5.4.55-1-pve #1 SMP PVE 5.4.55-1
perl-Net-DNS.x86_64 0.72-6.el7 @base
perl-AnyEvent-CacheDNS.noarch 0.08-15.el7 epel
perl-LWP-UserAgent-DNS-Hosts.noarch 0.12-1.el7 epel
perl-Net-DNS-Nameserver.x86_64 0.72-6.el7 base
perl-Net-DNS-Resolver-Programmable.noarch 0.003-15.el7 base
perl-POE-Component-Client-DNS.noarch 1.051-8.el7 epel
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7854] Use of uninitialized value $rr_type in string eq at
....SpamAssassin/Plugin/AskDNS.pm line 592
Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7854
Bill Cole <bi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
CC| |billcole@apache.org
--- Comment #1 from Bill Cole <bi...@apache.org> ---
This was fixed in v3.4.1, specifically by revision r1622432:
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/AskDNS.pm 2014/09/04
09:24:32 1622431
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/AskDNS.pm 2014/09/04
09:29:55 1622432
@@ -589,7 +589,8 @@ sub process_response_packet {
$match = 1 if $subtest->{$rcode};
} elsif ($rcode != 0) {
# skip remaining tests on DNS error
- } elsif (!grep($_ eq 'ANY' || $_ eq $rr_type, @$answer_types_ref) ) {
+ } elsif (!defined($rr_type) ||
+ !grep($_ eq 'ANY' || $_ eq $rr_type, @$answer_types_ref) ) {
# skip remaining tests on wrong RR type
} elsif (!defined $subtest) {
$match = 1; # any valid response of the requested RR type matches
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7854] Use of uninitialized value $rr_type in string eq at
....SpamAssassin/Plugin/AskDNS.pm line 592
Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7854
digidax@gmx.net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |digidax@gmx.net
--- Comment #2 from digidax@gmx.net ---
Update: v 3.4.0 is working fine, the problem comes from the firewall.
After update, DNS rebind checking https://en.wikipedia.org/wiki/DNS_rebinding
as a new feature was enabled. (used firewall: pfsense, ).
Also DNS RBL's has stopped working (Postfix 2.10.1).
Disable the new feature solved the problem.
--
You are receiving this mail because:
You are the assignee for the bug.