SpamAssasin not installed !

Pascal Maes pascal.maes at uclouvain.be
Sat Jun 4 10:21:01 UTC 2016


Hello,


We have installed SpamAssasin :

# apt-get install spamassassin
Reading package lists... Done
Building dependency tree       
Reading state information... Done
spamassassin is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


The following script is running well :

#!/usr/bin/perl

if (eval "require Mail::SpamAssassin")
{
	print "SpamAssassin : OK\n";
}
else
{
	print "SpamAssassin : KO\n";
}


# ./test-sa.pl 
SpamAssassin : OK


but MailScanner complains about SpamAssassin not installed :

# MailScanner --lint
Trying to setlogsock(unix)

Reading configuration file /etc/MailScanner/MailScanner.conf
Reading configuration file /etc/MailScanner/conf.d/README
Reading configuration file /etc/MailScanner/conf.d/UCL.conf
Read 501 hostnames from the phishing whitelist
Read 18378 hostnames from the phishing blacklists
Config: calling custom init function CheckSMTPAuth

Checking version numbers...
Version number in MailScanner.conf (5.0.1) is correct.

Your envelope_sender_header in spamassassin.conf is correct.
MailScanner setting GID to  (117)
MailScanner setting UID to  (111)

Checking for SpamAssassin errors (if you use it)...
You want to use SpamAssassin but have not installed it. at /usr/share/MailScanner/perl/MailScanner/SA.pm line 169.
I will run without SpamAssassin for now, you will not detect much spam until you install SpamAssassin. at /usr/share/MailScanner/perl/MailScanner/SA.pm line 170.



Do you have an idea about the problem ?


Thanks
-- 
Pascal






More information about the MailScanner mailing list