MailScanner + SpamAssassin Integration

Julian Field jkf at ecs.soton.ac.uk
Wed Jan 30 11:23:32 GMT 2002


At 20:15 29/01/2002, you wrote:
>SpamAssassin support in MailScanner; however, whenever I enable this
>support, I get a Perl Error as follows:
>
>Can't locate Mail/SpamAssassin.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/local/MailScanner/bin/sendmail.pl line 46.
>Compilation failed in require at /usr/local/MailScanner/bin/mailscanner line
>77.
>
>I did a search for SpamAssassin.pm, and found that it was located in the
>following directory:  /usr/local/lib/perl5/site_perl/5.6.1/Mail/
>It seems the default path that MailScanner looks for is the Perl 5.6.0
>path..

Your @INC path has become corrupted in your copy of perl. I would suggest
you try re-installing Perl 5.6.1 and being very careful when it asks you
about search paths while configuring itself. You need to ensure that both
5.6.0 (for backwards compatibility with modules installed in your old
version) and 5.6.1 (your new version) make it into the search path somehow.
--
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