On Thu, 16 Jan 2020 17:37:48 +0200
Henrik K wrote:

> On Thu, Jan 16, 2020 at 03:03:40PM +0000, RW wrote:
> >    
> > > It would seem more productive to actually make spamassassin --lint
> > > output info messages (not errors) when rules are redefined.  And
> > > perhaps add a new tflag "redefine" (suggestions?) to suppress
> > > those warnings for intentional redefines.  
> > 
> > That requires actual coding, and it only partially works. 
> > 
> > Let's say I have local rules:
> > 
> > body  __FOO ...
> > meta  FOO   __FOO ...
> > score FOO  0.001
> > 
> > and then in the middle of the night sa-learn downloads new rules:
> > 
> > header  __FOO ...
> > meta    BAR   __FOO ...
> > score   BAR  3.0
> > 
> > My high-FP informational version of __FOO then gets used in place of
> > the core version in a high scoring meta rule.  
> 
> And --lint would say
> 
> Notice: rule __FOO redefined, check what's going on or use tflags
> redefine

And that would only be noticed after the FPs. 

 
> I'm not sure what you mean by "partially" working?  

Because half the time it's only noticed after the FPs.



Reply via email to