SpamAssassin not catching spam.

Denis Croombs denis at CROOMBS.ORG
Sat Aug 16 08:06:00 IST 2003


Thanks for that:-

I got rid of the SpamAssassin rpms & I have got rid of the 2.54 & have tried
to install from source but when I get to the make test I get the following
errors:-

Failed Test                Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t/basic_lint.t                            1    1 100.00%  1
t/db_awl_path.t                           4    2  50.00%  3-4
t/db_based_whitelist.t                    8    8 100.00%  1-8
t/db_based_whitelist_ips.t                8    8 100.00%  1-8
t/forged_rcvd.t                           2    2 100.00%  1-2
t/gtube.t                                 2    2 100.00%  1-2
t/lang_pl_tests.t                         1    1 100.00%  1
t/mailing_lists.t                         6    6 100.00%  1-6
t/nonspam.t                               1    1 100.00%  1
t/recips.t                                9    3  33.33%  1-2 4
t/reportheader.t                         12   12 100.00%  1-12
t/rule_tests.t                2   512    ??   ??       %  ??
t/spam.t                                 10   10 100.00%  1-10
t/spamc_B.t                               8    1  12.50%  8
t/spamc_c.t                               2    1  50.00%  1
t/spamd.t                                 7    5  71.43%  2-3 5-7
t/spamd_maxchildren.t                    22   12  54.55%  1 3-7 17-22
t/spamd_parallel.t                       20   10  50.00%  2-6 16-20
t/spamd_port.t                            4    2  50.00%  3-4
t/spamd_report.t                          8    6  75.00%  1 3-5 7-8
t/spamd_report_ifspam.t                  10    5  50.00%  1 3-5 10
t/spamd_stop.t                            2    1  50.00%  2
t/spamd_symbols.t                         3    2  66.67%  2-3
t/spamd_utf8.t                            3    2  66.67%  2-3
t/stripmarkup.t                           4    4 100.00%  1-4
t/utf8.t                                  4    4 100.00%  1-4
t/whitelist_addrs.t                       5    5 100.00%  1-5
t/whitelist_to.t                          1    1 100.00%  1
2 tests skipped.
Failed 28/34 test scripts, 17.65% okay. 117/174 subtests failed, 32.76%
okay.
make: *** [test_dynamic] Error 29
[root at ns Mail-SpamAssassin-2.55]#

Do I need to re-install perl ?

BFN

Denis

> Remove all trace of SpamAssassin as far as you can.
> Certainly "rpm -e" any SpamAssassin RPM's that are installed.
> Then download the latest version as source (i.e. the .tar.gz file) and
> install that.
>
>          tar xzf Mail-SpamAssassin-2.55.tar.gz
>          cd Mail-SpamAssassin-2.55
>          perl Makefile.PL
>          make
>          make test
>          make install
>
> Once you've done that, run this perl script
>
> #!/usr/bin/perl
> use Mail::SpamAssassin;
> print $Mail::SpamAssassin::VERSION . "\n";
>
> and it should print "2.55".
>
> If it still prints 2.54 then you need to go on a hunt for any "Mail"
> directories in /usr/lib/perl5 and /usr/local/lib and delete all traces of
> "SpamAssassin.pm" and other SpamAssassin files from them. When you find a
> SpamAssassin.pm you will find other files and directories there (and in
> subdirectories of it) which are obviously related.
>
> At 21:39 15/08/2003, you wrote:
> >Thanks for that, I have done that and the results are:-
> >
> >[root at ns root]# /usr/bin/spamassassin -V
> >SpamAssassin version 2.55
> >[root at ns root]# /usr/local/bin/spamassassin -V
> >SpamAssassin version 2.55
> >[root at ns root]#
> >
> >Ths may be because the system is one I have taken over for a friend of
mine
> >& it was installe from RPM's & I have tried installing from source, I
have
> >now in the last few minutes uninstalled the rpm, I have now the
> >"/usr/bin/spamassassin" has gone.
> >
> >I have tried MailScanner in debug mode:-
> >
> >debug: Score set 0 chosen.
> >debug: running in taint mode? no
> >debug: ignore: test message to precompile patterns and load modules
> >debug: using "/usr/local/share/spamassassin" for default rules dir
> >debug: using "/etc/mail/spamassassin" for site rules dir
> >debug: using "/etc/MailScanner/spam.assassin.prefs.conf" for user prefs
file
> >configuration file "/usr/local/share/spamassassin/20_body_tests.cf"
requires
> >version 2.55 of SpamAssassin, but this is code version 2.54. Maybe you
need
> >to use the -c switch, or remove the old config files? Skipping this file
at
> >/usr/lib/perl5/site_perl/5.6.0/Mail/SpamAssassin/Conf.pm line 299.
> >configuration file "/usr/local/share/spamassassin/20_compensate.cf"
requires
> >version 2.55 of SpamAssassin, but this is code version 2.54. Maybe you
need
> >to use the -c switch, or remove the old config files? Skipping this file
at
> >/usr/lib/perl5/site_perl/5.6.0/Mail/SpamAssassin/Conf.pm line 299.
> >configuration file "/usr/local/share/spamassassin/20_head_tests.cf"
requires
> >version 2.55 of SpamAssassin, but this is code version 2.54. Maybe you
need
> >to use the -c switch, or remove the old config files? Skipping this file
at
> >/usr/lib/perl5/site_perl/5.6.0/Mail/SpamAssassin/Conf.pm line 299.
> >configuration file "/usr/local/share/spamassassin/20_html_tests.cf"
requires
> >version 2.55 of SpamAssassin, but this is code version 2.54. Maybe you
need
> >to use the -c switch, or remove the old config files? Skipping this file
at
> >/usr/lib/perl5/site_perl/5.6.0/Mail/SpamAssassin/Conf.pm line 299.
> >configuration file "/usr/local/share/spamassassin/20_meta_tests.cf"
requires
> >version 2.55 of SpamAssassin, but this is code version 2.54. Maybe you
need
> >to use the -c switch, or remove the old config files? Skipping this file
at
> >/usr/lib/perl5/site_perl/5.6.0/Mail/SpamAssassin/Conf.pm line 299.
> >configuration file "/usr/local/share/spamassassin/20_phrases.cf" requires
> >version 2.55 of SpamAssassin, but this is code version 2.54. Maybe you
need
> >to use the -c switch, or remove the old config files? Skipping this file
at
> >/usr/lib/perl5/site_perl/5.6.0/Mail/SpamAssassin/Conf.pm line 299.
> >configuration file "/usr/local/share/spamassassin/20_porn.cf" requires
> >version 2.55 of SpamAssassin, but this is code version 2.54. Maybe you
need
> >to use the -c switch, or remove the old config files? Skipping this file
at
> >/usr/lib/perl5/site_perl/5.6.0/Mail/SpamAssassin/Conf.pm line 299.
> >configuration file "/usr/local/share/spamassassin/20_uri_tests.cf"
requires
> >version 2.55 of SpamAssassin, but this is code version 2.54. Maybe you
need
> >to use the -c switch, or remove the old config files? Skipping this file
at
> >/usr/lib/perl5/site_perl/5.6.0/Mail/SpamAssassin/Conf.pm line 299.
> >configuration file "/usr/local/share/spamassassin/23_bayes.cf" requires
> >version 2.55 of SpamAssassin, but this is code version 2.54. Maybe you
need
> >to use the -c switch, or remove the old config files? Skipping this file
at
> >/usr/lib/perl5/site_perl/5.6.0/Mail/SpamAssassin/Conf.pm line 299.
> >debug: bayes: 24036 tie-ing to DB file R/O /root/.spamassassin/_toks
> >debug: bayes: 24036 tie-ing to DB file R/O /root/.spamassassin/_seen
> >debug: debug: Only 90 ham(s) in Bayes DB < 200
> >debug: bayes: 24036 untie-ing
> >debug: bayes: 24036 untie-ing db_toks
> >debug: bayes: 24036 untie-ing db_seen
> >debug: Score set 1 chosen.
> >debug: Initialising learner
> >debug: bayes: 24036 tie-ing to DB file R/O /root/.spamassassin/_toks
> >debug: bayes: 24036 tie-ing to DB file R/O /root/.spamassassin/_seen
> >debug: debug: Only 90 ham(s) in Bayes DB < 200
> >
> >Any further clues ?
> >
> >Thanks, Denis
> >
> > >
> > > My guess is the two entries in the above list:
> > >
> > > /usr/bin/spamassassin
> > > /usr/local/bin/spamassassin
> > >
> > > Try doing:
> > >
> > > /usr/bin/spamassassin -V
> > > /usr/local/bin/spamassassin -V
> > >
> > > and see if you get anything interesting...
> > >
> > > Antony.
> > >
>
> --
> Julian Field
> www.MailScanner.info
> Professional Support Services at www.MailScanner.biz
> MailScanner thanks transtec Computers for their support


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 14/08/2003



More information about the MailScanner mailing list