aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorJason Stephenson <jstephenson@mimecast.com>2024-05-13 11:55:47 +0100
committerJason Stephenson <jstephenson@mimecast.com>2024-05-13 11:55:47 +0100
commit05eda3bb5a60014614a5eea3111bd5af994d716c (patch)
tree0e83f1a8da389a4b1573274d79abbe9151c68a93 /src/plugins
parentc8f3600c70b2a02e69550f0fcc610dce0f07d48b (diff)
downloadrspamd-05eda3bb5a60014614a5eea3111bd5af994d716c.tar.gz
rspamd-05eda3bb5a60014614a5eea3111bd5af994d716c.zip
Fix regex to no longer match on dmarc=
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/arc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua
index ff19aef4c..1533655d5 100644
--- a/src/plugins/lua/arc.lua
+++ b/src/plugins/lua/arc.lua
@@ -639,7 +639,7 @@ local function prepare_arc_selector(task, sel)
local ar_header = task:get_header('Authentication-Results')
if ar_header then
- local arc_match = string.match(ar_header, 'arc=(%w+)')
+ local arc_match = string.match(ar_header, '[; ]arc=(%w+)')
if arc_match then
if arc_match == 'none' or arc_match == 'pass' then