Hello John,

On Fri, 7 Aug 2020, John Hardin wrote:

> On Fri, 7 Aug 2020, Matthias Rieber wrote:
> 
> > I'm wondering if the linter is supposed to respect the ifplugin statement.
> > I've disabled the Mail::SpamAssassin::Plugin::WLBLEval module and this
> > leads to a linter error:
> > 
> > # spamassassin --lint
> > Aug  7 11:51:22.314 [32423] warn: rules: error: unknown eval
> > 'check_from_in_whitelist' for USER_IN_WELCOMELIST
> > Aug  7 11:51:22.390 [32423] warn: rules: error: unknown eval
> > 'check_to_in_whitelist' for USER_IN_WELCOMELIST_TO
> 
> It works that way in my rules commit test script, which disables a bunch of
> plugins in sequence to check for errors like that.
> 
> Are you sure the plugin is really disabled?

yes, I've disabled it by removing the loadplugin statement in the 
configuration. It's possible to trigger this behaviour with a fresh 
install on Debian Buster.

I opened a bugreport [1]

Matthias


[1] https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7848

Reply via email to