http://bugzilla.spamassassin.org/show_bug.cgi?id=4039
Summary: trusted/untrusted relays are uninitialized when
reporting spam
Product: Spamassassin
Version: 3.0.1
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Libraries
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
When reporting spam with spamassassin -r, I get uninitialized value in concat
errors:
[EMAIL PROTECTED]> spamassassin -r < /tmp/spam
Use of uninitialized value in concatenation (.) or string at
/home/b/bas/local/SpamAssassin-3.0.2/share/perl/5.8.4/Mail/SpamAssassin/Reporter.pm
line 435.
Use of uninitialized value in concatenation (.) or string at
/home/b/bas/local/SpamAssassin-3.0.2/share/perl/5.8.4/Mail/SpamAssassin/Reporter.pm
line 435.
1 message(s) examined.
This originates from $trusted and $untrusted being uninitialized in
spamcop_report() (in Reporter.pm). It seems (from debugging output) like
$self->{msg}->{metadata}->{relays_trusted_str} and
$self->{msg}->{metadata}->{relays_untrusted_str} aren't being initialized when
running spamassassin in reporting mode.
It can be fixed by simply calling extract_message_metadata in Reporter.pm.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.