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

           Summary: Error in Parser.pm on fresh installation
           Product: Spamassassin
           Version: 3.0.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: spamc/spamd
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I have a gentoo machine and have installed Spamassassin 3.0.2 via CPAN, running
perl 5.8.5. When mail comes through the system, I continue to get the error
"Argument "" isn't numeric in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 578, <GEN2>
line 2

I looked at this line, and it appears that the function is checking to make sure
that a boolean config file entry only has a "1" or a "0", but it is receiving a
"" as an argument, so == doesnt work.

If I comment out my mysql config entries in local.cf, the error goes away and
spamassassin runs without generating this error. As soon as I uncomment the
lines to use my db entries, it is back. Here is my local.cf:

user_scores_dsn DBI:mysql:vpopmail:localhost
user_scores_sql_username xxxxxxxx
user_scores_sql_password xxxxxxxx
rewrite_header Subject *****SPAM*****
required_score 5
skip_rbl_checks 0
use_bayes 0
use_dcc 0
use_pyzor 0
use_razor2 0
report_safe 0
lock_method flock



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

Reply via email to