Installing SpamAssasin

Julian Field jkf at ecs.soton.ac.uk
Thu Feb 28 14:00:05 GMT 2002


At 20:09 27/02/2002, you wrote:
>Got it.  Audit.pm was in /usr/local/lib/perl5/site_perl/5.6.1/Mail
>instead of 5.6.0 where it was looking.  I just copied the file over.

This is quite a common problem. If your Perl gets upgraded to 5.6.1 as part
of a module installation, you sometimes end up having to reinstall the
modules after the upgrade so they get put in the right place.


>Steve Evans
>Computing Services
>SDSU Foundation
>619 594-0653
>
>-----Original Message-----
>From: Lawrence E. Bartash/NPCUSA Engineering [mailto:lawbar at NPCUSA.COM]
>Sent: Wednesday, February 27, 2002 11:33 AM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: Installing SpamAssasin
>
>
>It still doesn't look like it's actually installed because sendmail.pl
>is complaining that it can't find it. Go to the perl site and download
>http://www.cpan.org/authors/id/S/SI/SIMON/Mail-Audit-2.0.tar.gz
>
>Unpack it and install by hand to see if any errors occur during the
>install.
>
>If no errors try using mailscanner again with spamassassin = yes.
>
>-----Original Message-----
>From: Steve Evans [mailto:sevans at FOUNDATION.SDSU.EDU]
>Sent: Wednesday, February 27, 2002 1:18 PM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: Installing SpamAssasin
>
>Sorry, I forgot to mention I did install Mail::Audit also.
>
>Steve Evans
>Computing Services
>SDSU Foundation
>619 594-0653
>
>-----Original Message-----
>From: Lawrence E. Bartash/NPCUSA Engineering [mailto:lawbar at NPCUSA.COM]
>Sent: Wednesday, February 27, 2002 11:08 AM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: Installing SpamAssasin
>
>
>Per http://spamassassin.org/dist/README
>
>- Mail::Audit, Mail::Internet, Net::SMTP        (from CPAN)
>
>     If you want to use SpamAssassin for local delivery to a qmail or
>     MailDir spool, and you do *not* want to use procmail for some
>reason,
>     you will need to install the Mail::Audit module, and any modules it
>     requires (there's lots of them, unfortunately).   This is no longer
>     recommended.
>
>     If you use procmail, KMail, or you plan to use 'spamd', you will
>*not*
>     need these.
>
>     Here's how to install them using CPAN.pm:
>
>         perl -MCPAN -e shell
>         o conf prerequisites_policy ask
>         install Mail::Audit
>         quit
>
>-----Original Message-----
>From: Steve Evans [mailto:sevans at FOUNDATION.SDSU.EDU]
>Sent: Wednesday, February 27, 2002 12:02 PM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Installing SpamAssasin
>
>I'm trying to install SpamAssasin
>
>I used CPAN like the SpamAssasin website suggests.  All I install is
>Mail::SpamAssassin.  Everything appears fine.
>
>Then I restart MailScanner everything is fine.  I change the conf file
>to use SpamAssasin=yes and when I restart MailScanner I get the
>following.
>
>Starting MailScanner: Can't locate Mail/Audit.pm in @INC (@INC contains:
>/usr/local/MailScanner/bin /usr/lib/perl5/5.6.0/i386-linux
>/usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux
>/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at
>/usr/lib/perl5/site_perl/5.6.0/Mail/SpamAssassin/MyMailAudit.pm line 5.
>BEGIN failed--compilation aborted at
>/usr/lib/perl5/site_perl/5.6.0/Mail/SpamAssassin/MyMailAudit.pm line 5.
>Compilation failed in require at /usr/local/MailScanner/bin/sendmail.pl
>line 47.
>Compilation failed in require at /usr/local/MailScanner/bin/mailscanner
>line 77.
>
>When I change the conf file to not use SpamAssasin everything is fine. I
>tried to get some info off the website but it's down at the moment.
>
>What's going on?
>
>Steve Evans
>Computing Services
>SDSU Foundation
>619 594-0653

--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list