|
|
|
|
|
|
|
|
description = 'All capital letters in subject' |
|
|
description = 'All capital letters in subject' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
rspamd_config.LONG_SUBJ = { |
|
|
|
|
|
callback = function(task) |
|
|
|
|
|
local sbj = task:get_header('Subject') |
|
|
|
|
|
if sbj and string.len(sbj) > 200 then |
|
|
|
|
|
return true |
|
|
|
|
|
end |
|
|
|
|
|
return false |
|
|
|
|
|
end, |
|
|
|
|
|
|
|
|
|
|
|
score = 3.0, |
|
|
|
|
|
group = 'headers', |
|
|
|
|
|
description = 'Subject is too long' |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
rspamd_config.BROKEN_HEADERS = { |
|
|
rspamd_config.BROKEN_HEADERS = { |
|
|
callback = function(task) |
|
|
callback = function(task) |
|
|
if task:has_flag('broken_headers') then |
|
|
if task:has_flag('broken_headers') then |