http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4906

           Summary: Uninitialized $score in PerMsgStatus::_handle_hit
           Product: Spamassassin
           Version: 3.1.1
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: spamc/spamd
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: [EMAIL PROTECTED]


I'm seeing several uninitialized value errors in maillog which seem to center on
$score not getting set for some rules. This happens when some messages are
passed through spamc/spamd, but no error is reported when the message is passed
through spamassassin. I don't see it on my own account with a non-empty
user_prefs but I do see it with other users with the default (comments-only)
user_prefs, and I see it on mine if I rename mine to user_prefs.disabled. I'll
attach a sample message that triggers it.

Here's the list of errors I see when this happens:

Use of uninitialized value in addition (+) at
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/PerMsgStatus.pm line 2708.
Use of uninitialized value in numeric ge (>=) at
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/PerMsgStatus.pm line 2713.
Use of uninitialized value in numeric le (<=) at
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/PerMsgStatus.pm line 2713.
Use of uninitialized value in sprintf at
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/PerMsgStatus.pm line 2717.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/Plugin/AWL.pm line 341.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/PerMsgStatus.pm line 432.



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

Reply via email to