Bug#1089557: spamscan-sa report spamassassin error due to gSpamRulesDir
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.
--
Don Armstrong https://www.donarmstrong.com
I'm wrong to criticize the valor of your brave men. It's important to
die for one's country when it means being the subject of a king who
wears a ruffled collar or a pleated one.
-- Cyrano de Bergerac
Reply to: