diff options
author | Anton Yuzhaninov <citrin+git@citrin.ru> | 2023-02-25 11:01:30 +0000 |
---|---|---|
committer | Anton Yuzhaninov <citrin+git@citrin.ru> | 2023-02-25 11:01:30 +0000 |
commit | 84b0676210055e69c3fb29d419807136a11c17f6 (patch) | |
tree | 24d50c565761b058aa375ff32d4bddd025522939 /rules | |
parent | 2da5b6d1b3d49b3f719e1522dbcebe0c0055ccc4 (diff) | |
download | rspamd-84b0676210055e69c3fb29d419807136a11c17f6.tar.gz rspamd-84b0676210055e69c3fb29d419807136a11c17f6.zip |
[Minor] Account for one more undisclosed-recipients address variant
Diffstat (limited to 'rules')
-rw-r--r-- | rules/regexp/headers.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index a2b95c2c7..6be69f6a8 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -112,11 +112,12 @@ reconf['R_UNDISC_RCPT'] = { -- To: Undisclosed recipients:; -- To: undisclosed-recipients: ; -- To: <Undisclosed-Recipient:;> + -- To: <"Undisclosed-Recipient:;"> -- To: "undisclosed-recipients (utajeni adresati)": ; -- To: Undisclosed recipients: -- but do not match: -- Undisclosed Recipient <user@example.org> - re = [[To=/^[<"]?undisclosed[- ]recipients?\b.*:/i{header}]], + re = [[To=/^<?"?undisclosed[- ]recipients?\b.*:/i{header}]], score = 3.0, description = 'Recipients are absent or undisclosed', group = 'headers', |