SpamAssasin not installed !
Mark Sapiro
mark at msapiro.net
Sat Jun 4 16:06:28 UTC 2016
On 6/4/16 3:21 AM, Pascal Maes wrote:
>
> 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
What happens if you run
sudo -u'#111' -g'#117' ./test-sa.pl
> but MailScanner complains about SpamAssassin not installed :
>
> # MailScanner --lint
...
> 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.
Somehow the directory containing perl's Mail/SpamAssassin.pm is not in
the perl's include path, or the effective user/group can't read it.
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the MailScanner
mailing list