SpamAssasin not installed !

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


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 :


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

# ./ 
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/ 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/ line 170.

Do you have an idea about the problem ?


More information about the MailScanner mailing list