1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-01-06 03:54:12 +02:00

[Rspamd] rename symbol from bad_regex to bad_subject

This commit is contained in:
andryyy 2021-06-03 08:18:10 +02:00
parent c8955284a2
commit b6b64f9470
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF

View File

@ -51,7 +51,7 @@ return function(task)
and not task:has_symbol('GLOBAL_MIME_FROM_BL')
and not task:has_symbol('LOCAL_BL_ASN')
and not task:has_symbol('GLOBAL_RCPT_BL')
and not task:has_symbol('BAD_REGEX_00')
and not task:has_symbol('BAD_SUBJECT_00')
and not task:has_symbol('MAILCOW_BLACK') then
local action = task:get_metric_action('default')
if action == 'reject' or action == 'add header' or action == 'rewrite subject' then