]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Account for one more undisclosed-recipients address variant 4413/head
authorAnton Yuzhaninov <citrin+git@citrin.ru>
Sat, 25 Feb 2023 11:01:30 +0000 (11:01 +0000)
committerAnton Yuzhaninov <citrin+git@citrin.ru>
Sat, 25 Feb 2023 11:01:30 +0000 (11:01 +0000)
rules/regexp/headers.lua

index a2b95c2c7b9541bd857724d5111c35e56593b1db..6be69f6a8e72b9657f08b5140231fb8a4f7a3e20 100644 (file)
@@ -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',