You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by John Schneider <jo...@daumcommercial.com> on 2005/05/18 02:50:32 UTC
Argument "" isn't numeric in addition (+) at /usr/local/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/Conf.pm line 743.
When linting my rules with debug, I get the following in the output:
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8c0d3a4)
implements 'parse_config'
debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8bf0e74)
implements 'parse_config'
Argument "" isn't numeric in addition (+) at
/usr/local/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/Conf.pm line 743.
debug: Allowing user rules!
debug: bayes: 14621 tie-ing to DB file R/O
/etc/mail/spamassassin/bayes/bayes_toks
debug: bayes: 14621 tie-ing to DB file R/O
/etc/mail/spamassassin/bayes/bayes_seen
I've searched .. What could it be?
Thanks,
John
Re: Argument "" isn't numeric in addition (+) at /usr/local/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/Conf.pm line 743.
Posted by Theo Van Dinter <fe...@kluge.net>.
On Thu, May 19, 2005 at 09:44:34AM -0700, John Schneider wrote:
> Secondly, I installed this version of SpamAssassin from the FreeBSD port of
> 3.03. I built the port again and checked the Conf.pm file inside the port
> folder against the installed Conf.pm file and there are no differences.
> >> -----Original Message-----
> >> From: Theo Van Dinter [mailto:felicity@kluge.net]
> >> Bad config line. Looking at the code, a bad "report_safe" line.
As I stated, you have a bad config line. The code isn't the problem, check
your config.
--
Randomly Generated Tagline:
"... so that's a 5 to 10 minute diversion instead of answering your
question." - Instructor Otten
RE: Argument "" isn't numeric in addition (+) at /usr/local/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/Conf.pm line 743.
Posted by John Schneider <jo...@daumcommercial.com>.
>> Yes, the Conf.pm looks correct. But that's not what you
>> should be looking at. It's not even the right file.
>> As per Theo's suggestion, look for a report_safe statement
>> in your local.cf or user_prefs (or any other config file).
>> Or something similar. Report_safe *MUST* be followed by a
>> parameter, and if it's not, you'll generate the error you're
>> reporting.
I understand. Thank you for your help.
Regards,
John Schneider
Re: Argument "" isn't numeric in addition (+) at /usr/local/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/Conf.pm
line 743.
Posted by Matt Kettler <mk...@evi-inc.com>.
John Schneider wrote:
> First of all - I double-posted this Q to the list by mistake and I
> apologize.
>
> Secondly, I installed this version of SpamAssassin from the FreeBSD port of
> 3.03. I built the port again and checked the Conf.pm file inside the port
> folder against the installed Conf.pm file and there are no differences.
Yes, the Conf.pm looks correct. But that's not what you should be looking at.
It's not even the right file.
As per Theo's suggestion, look for a report_safe statement in your local.cf or
user_prefs (or any other config file).
You probably have a line like:
report_safe
When it needs to be:
report_safe 1
Or something similar. Report_safe *MUST* be followed by a parameter, and if it's
not, you'll generate the error you're reporting.
RE: Argument "" isn't numeric in addition (+) at /usr/local/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/Conf.pm line 743.
Posted by John Schneider <jo...@daumcommercial.com>.
First of all - I double-posted this Q to the list by mistake and I
apologize.
Secondly, I installed this version of SpamAssassin from the FreeBSD port of
3.03. I built the port again and checked the Conf.pm file inside the port
folder against the installed Conf.pm file and there are no differences.
This is the section in question:
***************************
See B<report_safe_copy_headers> if you want to copy headers from
the original mail into tagged messages.
=cut
push (@cmds, {
setting => 'report_safe',
default => 1,
code => sub {
my ($self, $key, $value, $line) = @_;
$self->{report_safe} = $value+0;
if (! $self->{report_safe}) {
$self->{headers_spam}->{"Report"} = "_REPORT_";
}
}
});
=back
***************************
Does it seem correct?
Regards,
John Schneider,
Information Systems Manager,
GVA DAUM Worldwide Real Estate Solutions
123 S Figueroa Street
Suite 400
Los Angeles, CA 90012
213-270-2262 Direct
213-947-1431 Fax
WEBSITE: www.gvadaum.com
EMAIL: john.schneider@gvadaum.com
>> -----Original Message-----
>> From: Theo Van Dinter [mailto:felicity@kluge.net]
>> Sent: Tuesday, May 17, 2005 9:55 PM
>> To: users@spamassassin.apache.org
>> Subject: Re: Argument "" isn't numeric in addition (+) at
>> /usr/local/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/Conf.p
>> m line 743.
>>
>>
>> On Tue, May 17, 2005 at 05:50:32PM -0700, John Schneider wrote:
>> > Argument "" isn't numeric in addition (+) at
>> >
>> /usr/local/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/Conf.pm line
>> > 743.
>> >
>> > I've searched .. What could it be?
>>
>> Bad config line. Looking at the code, a bad "report_safe" line.
>>
>> --
>> Randomly Generated Tagline:
>> Earth men are real men!
>>
Re: Argument "" isn't numeric in addition (+) at /usr/local/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/Conf.pm line 743.
Posted by Theo Van Dinter <fe...@kluge.net>.
On Tue, May 17, 2005 at 05:50:32PM -0700, John Schneider wrote:
> Argument "" isn't numeric in addition (+) at
> /usr/local/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/Conf.pm line 743.
>
> I've searched .. What could it be?
Bad config line. Looking at the code, a bad "report_safe" line.
--
Randomly Generated Tagline:
Earth men are real men!