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...@bugzilla.spamassassin.org on 2004/09/29 04:35:13 UTC

[Bug 3843] New: Hashcash plugin is failing

http://bugzilla.spamassassin.org/show_bug.cgi?id=3843

           Summary: Hashcash plugin is failing
           Product: Spamassassin
           Version: 3.0.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Plugins
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: paul@computercops.biz


When I run sa-learn on both ham and spam, I am getting this _sometimes_ 
respectively:

Argument "" isn't numeric in addition (+) 
at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Plugin/Hashcash.pm line 81.
Learned from 0 message(s) (0 message(s) examined).
Argument "" isn't numeric in addition (+) 
at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Plugin/Hashcash.pm line 81.
Learned from 1 message(s) (1 message(s) examined).

Line 81 is this:

    $conf->{use_hashcash} = $value+0; return 1;

And that falls into this block:

=item use_hashcash { 1 | 0 }   (default: 1)

Whether to use hashcash, if it is available.

=cut

  if ( $key eq 'use_hashcash' ) {
    $conf->{use_hashcash} = $value+0; return 1;
  }






I have tested this against both hashcash versions 0.32 and 1.09.  Same error, 
but not consistent.



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