[Rspamd] Replace 00 bad domains by bad regex map (wip)
parent
4b28dbbabc
commit
4ede07854d
|
@ -51,7 +51,7 @@ return function(task)
|
||||||
and not task:has_symbol('GLOBAL_MIME_FROM_BL')
|
and not task:has_symbol('GLOBAL_MIME_FROM_BL')
|
||||||
and not task:has_symbol('LOCAL_BL_ASN')
|
and not task:has_symbol('LOCAL_BL_ASN')
|
||||||
and not task:has_symbol('GLOBAL_RCPT_BL')
|
and not task:has_symbol('GLOBAL_RCPT_BL')
|
||||||
and not task:has_symbol('ABUSE_NULLNULL')
|
and not task:has_symbol('BAD_REGEX_00')
|
||||||
and not task:has_symbol('MAILCOW_BLACK') then
|
and not task:has_symbol('MAILCOW_BLACK') then
|
||||||
local action = task:get_metric_action('default')
|
local action = task:get_metric_action('default')
|
||||||
if action == 'reject' or action == 'add header' or action == 'rewrite subject' then
|
if action == 'reject' or action == 'add header' or action == 'rewrite subject' then
|
||||||
|
|
Loading…
Reference in New Issue