SpamAssassin not catching spam.

Julian Field mailscanner at ecs.soton.ac.uk
Sat Aug 16 16:28:03 IST 2003


At 15:18 16/08/2003, you wrote:
> > cd /usr/local/bin
> > Delete anything mentioning perl.
> > cd /usr/local/lib
> > Delete any perl (including perl5) directories.
> >
> > Then you should find that things will start working rather better. There's
> > no telling which Perl installation any of the modules required by
> > MailScanner will have been installed into, so I would run my install.sh
> > again to make sure everything necessary is there. Then install
>SpamAssassin
> > again.
> >
>Thanks for that, I did that.
>
>I now get the following results:-
>[root at ns Mail-SpamAssassin-2.55]# spamassassin -D --lint
>bash: /usr/local/bin/spamassassin: No such file or directory
>[root at ns Mail-SpamAssassin-2.55]# /usr/bin/spamassassin -D --lint
>debug: Score set 0 chosen.
>debug: running in taint mode? no
>debug: ignore: using a test message to lint rules
>debug: using "/usr/local/share/spamassassin" for default rules dir

That's not a disaster. Mine uses /usr/share/spamassassin though. Try
re-installing and running MailScanner again and see if it works better this
time.

>debug: using "/etc/mail/spamassassin" for site rules dir
>debug: using "/root/.spamassassin" for user state dir
>debug: using "/root/.spamassassin/user_prefs" for user prefs file
>debug: bayes: 26871 tie-ing to DB file R/O /root/.spamassassin/_toks
>debug: bayes: 26871 tie-ing to DB file R/O /root/.spamassassin/_seen
>debug: debug: Only 105 ham(s) in Bayes DB < 200
>debug: bayes: 26871 untie-ing
>debug: bayes: 26871 untie-ing db_toks
>debug: bayes: 26871 untie-ing db_seen
>debug: Score set 1 chosen.
>debug: Initialising learner
>debug: bayes: 26871 tie-ing to DB file R/O /root/.spamassassin/_toks
>debug: bayes: 26871 tie-ing to DB file R/O /root/.spamassassin/_seen
>debug: debug: Only 105 ham(s) in Bayes DB < 200
>debug: bayes: 26871 untie-ing
>debug: bayes: 26871 untie-ing db_toks
>debug: bayes: 26871 untie-ing db_seen
>debug: is Net::DNS::Resolver available? yes
>debug: trying (3) google.com...
>debug: looking up MX for 'google.com'
>debug: MX for 'google.com' exists? 1
>debug: MX lookup of google.com succeeded => Dns available (set dns_available
>to hardcode)
>debug: is DNS available? 1
>debug: running header regexp tests; score so far=0
>debug: running body-text per-line regexp tests; score so far=1.9
>debug: running raw-body-text per-line regexp tests; score so far=1.9
>debug: running uri tests; score so far=1.9
>debug: uri tests: Done uriRE
>debug: running full-text regexp tests; score so far=1.9
>debug: Razor2 is not available
>debug: Current PATH is:
>/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:
>/root/bin
>debug: executable for dccproc was found at /usr/local/bin/dccproc
>debug: DCC is available: /usr/local/bin/dccproc
>debug: entering helper-app run mode
>debug: DCC: got response: X-DCC-NIET-Metrics: ns.just-servers.co.uk 1080;
>Body=39612 Fuz1=300436
>debug: leaving helper-app run mode
>debug: Pyzor is not available: pyzor not found
>debug: all '*To' addrs:
>debug: all '*From' addrs: ignore at compiling.spamassassin.taint.org
>debug: running meta tests; score so far=2.4
>debug: is spam? score=2.4 required=5
>tests=DATE_MISSING,MISSING_HEADERS,NO_REAL_NAME
>debug: bayes: 26871 untie-ing
>[root at ns Mail-SpamAssassin-2.55]#
>
>Why will it be looking in /usr/local/bin and not /usr/bin ?
>
>Thanks
>
>Denis

--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list