Package: debbugs
Version: 2.6.2
Severity: normal

Hello Don,
This is not a new issue even while I report it now:
spamscan is calling spamscan-sa and this leads to error message from cron:

Timeout::_run: check: no loaded plugin implements 'check_main': cannot scan!
Check that the necessary '.pre' files are in the config directory.
At a minimum, v320.pre loads the Check plugin which is required.

the issue is with these two lines:

36       site_rules_filename => $config{spam_rules_dir},
37        userprefs_filename => $config{spam_user_prefs},

$config{spam_rules_dir} is set by Debbugs::config to /usr/share/spamassassin
I do not think this is correct, it should be /etc/spamassassin
(that is where v320.pre is).

Also I tried to set $gSpamRulesDir in /etc/debbugs/config but it does not works

$gSpamRulesDir = "/etc/spamassassin";

probably because it is missing from the 'globals' EXPORT_TAGS in 
Debbugs/Config.pm

Does that makes sense ?

Cheers,
Bill.

Reply via email to