Please help. Me very confused

Julian Field mailscanner at ecs.soton.ac.uk
Fri Aug 8 08:45:55 IST 2003


How did you install SpamAssassin?
If you used their RPM, then uninstall it and re-install from the .tar.gz
file instead.

By definition, a single RPM of perl modules cannot work on all versions of
all distributions, as the correct installation directory can only be
determined when the RPM is built and not when it is installed.

This is why the MailScanner installation script goes through the process of
building each RPM in turn from source, then installing the newly built RPM.

At 08:43 08/08/2003, you wrote:
>I have installed Spamassassin & Mailscanner on a new machine as I have on a
>number of others (all Redhat 7.3) using the Spamassassin & MailScanner RPM's
>but this time I am getting the following error from MailScanner (in
>/var/log/maillog)
>
>"Aug  8 02:28:21 ensim MailScanner[27075]: SpamAssassin installation could
>not be found"
>
>How do I tell MailScanner where to look for spamassassin ?
>
>All clues very welcome
>
>Thanks
>
>Denis
>
>[root at ensim mail]# tail /var/log/maillog
>Aug  8 02:28:10 ensim sendmail[27037]: alias database /etc/aliases rebuilt
>by root
>Aug  8 02:28:10 ensim sendmail[27037]: /etc/aliases: 41 aliases, longest 39
>bytes, 443 bytes total
>Aug  8 02:28:10 ensim sendmail[27046]: starting daemon (8.11.6): SMTP
>Aug  8 02:28:10 ensim sendmail[27051]: starting daemon (8.11.6):
>queueing at 00:15:00
>Aug  8 02:28:11 ensim MailScanner[27072]: MailScanner E-Mail Virus Scanner
>version 4.22-4 starting...
>Aug  8 02:28:11 ensim MailScanner[27072]: SpamAssassin installation could
>not be found
>Aug  8 02:28:21 ensim MailScanner[27075]: MailScanner E-Mail Virus Scanner
>version 4.22-4 starting...
>Aug  8 02:28:21 ensim MailScanner[27075]: SpamAssassin installation could
>not be found
>Aug  8 02:28:31 ensim MailScanner[27076]: MailScanner E-Mail Virus Scanner
>version 4.22-4 starting...
>Aug  8 02:28:31 ensim MailScanner[27076]: SpamAssassin installation could
>not be found
>
>If I do a spamassassin -D --lint I can confirm that I have dcc installed &
>bayers has been taught by over 1000 spams
>
>[root at ensim mail]# 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/share/spamassassin" for default rules dir
>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: using "/root/.spamassassin" for user state dir
>debug: bayes: 27083 tie-ing to DB file R/O /root/.spamassassin/bayes_toks
>debug: bayes: 27083 tie-ing to DB file R/O /root/.spamassassin/bayes_seen
>debug: debug: Only 0 ham(s) in Bayes DB < 200
>debug: bayes: 27083 untie-ing
>debug: bayes: 27083 untie-ing db_toks
>debug: bayes: 27083 untie-ing db_seen
>debug: Score set 1 chosen.
>debug: Initialising learner
>debug: using "/root/.spamassassin" for user state dir
>debug: bayes: 27083 tie-ing to DB file R/O /root/.spamassassin/bayes_toks
>debug: bayes: 27083 tie-ing to DB file R/O /root/.spamassassin/bayes_seen
>debug: debug: Only 0 ham(s) in Bayes DB < 200
>debug: bayes: 27083 untie-ing
>debug: bayes: 27083 untie-ing db_toks
>debug: bayes: 27083 untie-ing db_seen
>debug: is Net::DNS::Resolver available? yes
>debug: trying (3) leo.org...
>debug: looking up MX for 'leo.org'
>debug: MX for 'leo.org' exists? 1
>debug: MX lookup of leo.org 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-neonova-Metrics: ensim.rackshack.net 1127;
>Body=32182 Fuz1=776625
>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: 27083 untie-ing
>[root at ensim mail]#
>
>If I do a spamassassin -V I get:-
>
>[root at ensim mail]# spamassassin -V
>SpamAssassin version 2.55
>[root at ensim mail]#

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list