Mailing List Archive

[Bug 8245] New: undefined value as an ARRAY reference in DMARC plugin
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8245

Bug ID: 8245
Summary: undefined value as an ARRAY reference in DMARC plugin
Product: Spamassassin
Version: 4.0.1
Hardware: PC
OS: Mac OS X
Status: NEW
Severity: normal
Priority: P2
Component: Plugins
Assignee: dev@spamassassin.apache.org
Reporter: sidney@sidney.com
Target Milestone: Undefined

This error was reported on users@ mailing list

https://lists.apache.org/thread/r384x26l6bpxz7xsh2fzk79l5nx8p44y

"after updating SA 4.0.0 to 4.0.1, (CentOS 7 - Perl version 5.16.3) I get the
following message in log regarding the DMARC plugin:

plugin: eval failed: Can't use an undefined value as an ARRAY reference at
/usr/share/perl5/Mail/SpamAssassin/Plugin/DMARC.pm line 336."

Looking at DMARC line 336 it looks to me that this could happen if DMARC check
doesn't pass and there are Authentication-Results headers but none with "spf="
in them, so in line 336 $pms->{authres_parsed}{spf} is undef

Is that what is happening? Is it a bug? I'm not familiar with the code.

--
You are receiving this mail because:
You are the assignee for the bug.