On Sun, Sep 30, 2018 at 08:55:13PM +0100, Martin Gregorie wrote:
> On Sun, 2018-09-30 at 21:13 +0300, Henrik K wrote:
> > On Sun, Sep 30, 2018 at 06:44:07PM +0100, Martin Gregorie wrote:
> > > 
> > > Sep 30 18:06:54.602 [18545] warn: config: Strange rule token: 1.5
> > 
> > According to code this can only be seen with meta rules.  So check if
> > you have "meta FOOBAR 1.5" somewhere.
> > 
> The -D debug trace seems to say pretty unambiguously that its scanning
> my MG_IMISMATCH rule, which is a header... eval: rule, but the only

Debug log is not necessary linear. If you want to be _sure_, try this patch:

--- lib/Mail/SpamAssassin/Conf/Parser.pm        2018/09/30 18:14:46     1842402
+++ lib/Mail/SpamAssassin/Conf/Parser.pm        2018/09/30 18:24:47     1842403
@@ -1318,7 +1318,7 @@
     }
     # WTF is it? Just warn, for now. Bug #7557
     else {
-      $self->lint_warn("config: Strange rule token: $token", $name);
+      $self->lint_warn("config: Strange rule $name token: $token", $name);
       $meta .= "$token ";
     }
   }

Reply via email to