You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

parts.lua 290B

1234567891011
  1. rspamd_config.SINGLE_SHORT_PART = {
  2. callback = function(task)
  3. local parts = task:get_parts()
  4. if #parts ~= 1 then return end
  5. local text = parts[1]:get_text()
  6. if not text then return end
  7. if text:get_length() >= 64 then return end
  8. return true
  9. end,
  10. score = 0.0,
  11. }