You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Shaun <ma...@unix-scripts.com> on 2004/11/02 23:33:23 UTC

Spamd broken since 3.0.x

Since the cpanel upgrade to spamd 3.0.x i have been having hell with this
one machine, i have over 500 other machines working just fine but this one
is just stuborn.  The machine is a older one, Redhat 8.0, Perl was recently
upgraded to 5.8.4 in hopes of solving the problem.  Below is a debug dump of
the problem

Here are some of the things i have tryed.
Removed /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin and reinstalled
SpamAssassin
Upgraded Perl
sa-learn --sync for all users
and some other things.

When 3.0.0 was around i could tmp fix/patch up the problem by forcing
Mail::SpamAssassin and then forcing Mail::SpamAssassin:Conf but that doesnt
work anymore.  Sorry if this issue has been covered, i've searched around
like a mad man and having found really anything.


## OUTPUT
root@box [/usr/bin]# /usr/bin/spamd -D
trying to connect to syslog/unix...
no error connecting to syslog/unix
logging enabled:
        facility: mail
        socket:   unix
        output:   syslog
creating INET socket:
        Listen: 128
        LocalAddr: 127.0.0.1
        LocalPort: 783
        Proto: 6
        ReuseAddr: 1
        Type: 1
debug: SpamAssassin version 3.0.1
debug: Score set 0 chosen.
debug: Storable module v2.13 found
debug: Preloading modules with HOME=/tmp/spamd-1151-init
debug: ignore: test message to precompile patterns and load modules
debug: using "/etc/mail/spamassassin/init.pre" for site rules init.pre
debug: config: read file /etc/mail/spamassassin/init.pre
debug: using "/usr/share/spamassassin" for default rules dir
debug: config: read file /usr/share/spamassassin/10_misc.cf
debug: config: read file /usr/share/spamassassin/20_anti_ratware.cf
debug: config: read file /usr/share/spamassassin/20_body_tests.cf
debug: config: read file /usr/share/spamassassin/20_compensate.cf
debug: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf
debug: config: read file /usr/share/spamassassin/20_drugs.cf
debug: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf
debug: config: read file /usr/share/spamassassin/20_head_tests.cf
debug: config: read file /usr/share/spamassassin/20_html_tests.cf
debug: config: read file /usr/share/spamassassin/20_meta_tests.cf
debug: config: read file /usr/share/spamassassin/20_phrases.cf
debug: config: read file /usr/share/spamassassin/20_porn.cf
debug: config: read file /usr/share/spamassassin/20_ratware.cf
debug: config: read file /usr/share/spamassassin/20_uri_tests.cf
debug: config: read file /usr/share/spamassassin/23_bayes.cf
debug: config: read file /usr/share/spamassassin/25_body_tests_es.cf
debug: config: read file /usr/share/spamassassin/25_hashcash.cf
debug: config: read file /usr/share/spamassassin/25_spf.cf
debug: config: read file /usr/share/spamassassin/25_uribl.cf
debug: config: read file /usr/share/spamassassin/30_text_de.cf
debug: config: read file /usr/share/spamassassin/30_text_fr.cf
debug: config: read file /usr/share/spamassassin/30_text_nl.cf
debug: config: read file /usr/share/spamassassin/30_text_pl.cf
debug: config: read file /usr/share/spamassassin/50_scores.cf
debug: config: read file /usr/share/spamassassin/60_whitelist.cf
debug: using "/etc/mail/spamassassin" for site rules dir
debug: config: read file /etc/mail/spamassassin/local.cf
debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
debug: plugin: registered
Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
debug: plugin: registered
Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8ad6d84)
debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0x8ab2184)
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
implements 'parse_config'
debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8ad6d84)
implements 'parse_config'
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84197d8)
inhibited further callbacks
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
debug: config: SpamAssassin failed to parse line, no value provided for
"describe", skipping: describe IN_NJABL_ORG
debug: config: SpamAssassin failed to parse line, no value provided for
"tflags", skipping: tflags IN_NJABL_ORG
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
debug: config: SpamAssassin failed to parse line, no value provided for
"describe", skipping: describe NJABL_OPEN_RELAY
debug: config: SpamAssassin failed to parse line, no value provided for
"tflags", skipping: tflags NJABL_OPEN_RELAY
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
debug: config: SpamAssassin failed to parse line, no value provided for
"describe", skipping: describe NJABL_DUL
debug: config: SpamAssassin failed to parse line, no value provided for
"tflags", skipping: tflags NJABL_DUL
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
debug: config: SpamAssassin failed to parse line, no value provided for
"describe", skipping: describe NJABL_SPAM_SRC
debug: config: SpamAssassin failed to parse line, no value provided for
"tflags", skipping: tflags NJABL_SPAM_SRC
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
debug: config: SpamAssassin failed to parse line, no value provided for
"describe", skipping: describe NJABL_MULTI_STAGE
debug: config: SpamAssassin failed to parse line, no value provided for
"tflags", skipping: tflags NJABL_MULTI_STAGE
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
debug: config: SpamAssassin failed to parse line, no value provided for
"describe", skipping: describe NJABL_CGI
debug: config: SpamAssassin failed to parse line, no value provided for
"tflags", skipping: tflags NJABL_CGI
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.
debug: config: SpamAssassin failed to parse line, no value provided for
"describe", skipping: describe NJABL_PROXY
debug: config: SpamAssassin failed to parse line, no value provided for
"tflags", skipping: tflags NJABL_PROXY
Use of uninitialized value in bitwise and (&) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 640.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 678.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 678.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 678.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 678.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 678.
Use of uninitialized value in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 678.
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 707.
unknown type  for NJABL_MULTI_STAGE: 8 at
/usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin.pm line 1671.
### END



Thanks,
~Shaun





Re: Spamd broken since 3.0.x

Posted by Shaun <ma...@unix-scripts.com>.
Your the man, i found the spamassassin conf in /etc/mail/spamassassin moved
it to old and copyed the config from another server onto it and it's working
now.  Thanks.




Re: Spamd broken since 3.0.x

Posted by Theo Van Dinter <fe...@kluge.net>.
On Tue, Nov 02, 2004 at 04:46:53PM -0800, Shaun wrote:
> Where is this conf?  I know cpanel sets a .spamassassin dir for each user
> (which contains there own whitelists, blacklists, scoresettings etc) but if
> there a global conf some where?

Typically it's /etc/mail/spamassassin, but you need to go debug a bit.  I know
nothing about cpanel, so it could be doing anything.

-- 
Randomly Generated Tagline:
"A force is a force, of course, of course, means acceleration is 
 different of course ... "            - Theo

Re: Spamd broken since 3.0.x

Posted by Shaun <ma...@unix-scripts.com>.
Where is this conf?  I know cpanel sets a .spamassassin dir for each user
(which contains there own whitelists, blacklists, scoresettings etc) but if
there a global conf some where?


"Theo Van Dinter" <fe...@kluge.net> wrote in message
news:20041102232340.GQ1518@kluge.net...




Re: Spamd broken since 3.0.x

Posted by Theo Van Dinter <fe...@kluge.net>.
On Tue, Nov 02, 2004 at 02:33:23PM -0800, Shaun wrote:
> Use of uninitialized value in numeric eq (==) at
> /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 730.

This means the rule has no type.  Likely it's a bad configuration. (I'd like
to know what it is though since I didn't think it was possible to have an
undef type...)

> debug: config: SpamAssassin failed to parse line, no value provided for
> "describe", skipping: describe IN_NJABL_ORG
> debug: config: SpamAssassin failed to parse line, no value provided for
> "tflags", skipping: tflags IN_NJABL_ORG

you have invalid configuration options.

> debug: config: SpamAssassin failed to parse line, no value provided for
> "describe", skipping: describe NJABL_OPEN_RELAY
> debug: config: SpamAssassin failed to parse line, no value provided for
> "tflags", skipping: tflags NJABL_OPEN_RELAY

ditto.

> debug: config: SpamAssassin failed to parse line, no value provided for
> "describe", skipping: describe NJABL_DUL
> debug: config: SpamAssassin failed to parse line, no value provided for
> "tflags", skipping: tflags NJABL_DUL

ditto ...

Judging by the debug output, you have NJABL rules which are invalid.  Remove
them and try again.

-- 
Randomly Generated Tagline:
Sorry, Mr. Burns, but I don't go in for these backdoor shenanigans.
 Sure I'm flattered, maybe even a little curious, but the answer is no!
 
 		-- Homer Simpson
 		   Last Exit to Springfield