[Rspamd-Users] Rspamd 1.8.3 'rcl parse error' "MX_MISSING"
Vsevolod Stakhov
vsevolod at rspamd.com
Mon Dec 3 22:17:29 UTC 2018
Bill,
Please refrain from the top posting in this mailing list
(http://www.idallen.com/topposting.html), erm... and from the
out-of-list replies when this is relevant to other users. My reply is
below your message quoted.
On 03/12/2018 18:26, Bill Pye wrote:
> Thanks for the reply.
>
> That's a bit of a surprise that it's my config that's the problem as it's copied verbatim from the Rspamd Website, I'll try and go through that again tonight but I might not have the time and if I can't then I won't be able to do that until next week as I'm away travelling until then.
>
> Is there any pointer you could give on what's likely to be causing this or where to look?
>
> Regards
>
>
> Bill
>
> ----- Original Message -----
>> From: "Vsevolod Stakhov" <vsevolod at rspamd.com>
>> To: "Users" <users at lists.rspamd.com>
>> Cc: "bill pye" <bill.pye at phoenix-systems.co.uk>
>> Sent: Monday, 3 December, 2018 18:33:59
>> Subject: Re: [Rspamd-Users] Rspamd 1.8.3 'rcl parse error' "MX_MISSING"
>
>> On 03/12/2018 17:25, Bill Pye via Users wrote:
>>> I've just upgraded a test server to Rspamd 1.8.3 and I'm seeinhg the followin
>>> error:
>>>
>>> rspamadm configdump metric
>>> rcl parse error: one_shot attribute is not boolean for symbol: 'MX_MISSING'
>>>
>>> with the following in the log file:
>>>
>>> 2018-12-03 17:41:03 #7689(main) lua; lua_cfg_transform.lua:121: overriding group
>>> local from the legacy metric settings
>>> 2018-12-03 17:41:03 #7689(main) lua; lua_cfg_transform.lua:159: group excessqp
>>> has no symbols
>>> 2018-12-03 17:41:03 #7689(main) lua; lua_cfg_transform.lua:159: group excessb64
>>> has no symbols
>>> 2018-12-03 17:41:03 #7689(main) cfg; rspamd_rcl_maybe_apply_lua_transform:
>>> configuration has been transformed in Lua
>>> 2018-12-03 17:41:03 #7689(main) <nuprt1>; cfg; rspamd_config_read: rcl parse
>>> error: one_shot attribute is not boolean for symbol: 'MX_MISSING'
>>>
>>> This was working in the previous 1.8.2 release, is it a bug or has something
>>> changed?
>>
>> It is a bug in your config that was previously ignored by Rspamd and led
>> to confusing errors afterwards.
There was a mistake in examples in mx_check module
(https://rspamd.com/doc/modules/mx_check.html) documentation.
Words `true` or `false` in the parameter `one_shot` must NOT be quoted.
Hence, the culprit is likely in your `/etc/rspamd/local.d/metrics.conf`
file.
You could do the same investigation by grep'ing `MX_MISSING` word in
your configs. That's why I considered message `one_shot attribute is not
boolean for symbol: 'MX_MISSING'` as a self-explanatory one...
More information about the Users
mailing list