[Rspamd-Users] What's wrong with this?
Steve Witten
caponecicero at gmail.com
Wed Feb 8 20:53:24 UTC 2023
I got it to compile by making it look like this:
rspamd_config.HTML_MESSAGE = {
> callback = function(task)
> local parts = task:get_text_parts()
> if parts then
> for i,p in ipairs(parts) do
> if p:is_html() then
> return true
> end end end
> return false end,
> score = -0.1,
> description = 'HTML included in message'
> }
Is there some option on the lua interpreter to allow gratuitous newlines?
-- Steve
More information about the Users
mailing list