Bug#1089557: spamscan-sa report spamassassin error due to gSpamRulesDir

Don Armstrong <[email protected]> Sun, 8 Dec 2024 20:19:58 -0800
Newsgroups gmane.linux.debian.devel.debbugs
Message-ID <gvwj3irawpygwovfcrqilvguswxfatmrirmttzerntcio7qhyd__36184.0438142949$1733718809$gmane$org@rmbf3dkjagrk>
On Sun, 08 Dec 2024, Bill Allombert wrote:\n
> $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).

Yeah, I agree. We've switched that in the setup we use in Debian.

> 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

Yep, that should get added to the globals tag.