On Tue, Nov 20, 2018 at 12:53:18PM -0500, micah anderson wrote:
> RW <rwmailli...@googlemail.com> writes:
> 
> > On Tue, 20 Nov 2018 12:38:24 -0500
> > micah anderson wrote:
> >
> >> I was doing multiplication in rules to add scores, like this:
> >> 
> >> meta LOCAL_EXCEEDED_PHISH (((0.4 * __MAILBOX) + (0.4 *
> >> __LOCAL_EXCEEDED) + (0.4 * __LOCAL_STORAGE) + (0.4 * __LOCAL_LIMIT))
> >> > 1)
> >> 
> >> but now when I run spamassassin --lint, I'm told things like this:
> >> 
> >> Nov 20 09:34:42.096 [11146] warn: config: Strange rule token: 0.4
> >
> > It's the decimal fractions. 
> >  
> >> What should I do to fix that?
> >
> > It should be fixed in the next release.
> 
> ok, but until then, is the only option for me to disable these rules?
> These are particularly important rules for stopping phishing attacks, so
> I'd like to not disable them, but find some other kind of work around!

Patch it then, it's a trivial one line change.

http://svn.apache.org/viewvc/spamassassin/branches/3.4/lib/Mail/SpamAssassin/Conf/Parser.pm?r1=1842403&r2=1842593&sortby=date&diff_format=h

Reply via email to