diff options
author | Tobias Wolter <tobias.wolter@b1-systems.de> | 2025-01-02 11:43:14 +0100 |
---|---|---|
committer | Tobias Wolter <tobias.wolter@b1-systems.de> | 2025-01-02 11:43:14 +0100 |
commit | a24795caa0291ae23ed3c4bd4767b7aa258b2370 (patch) | |
tree | db3900ad1f916f96e0ffb8c18c8b89f9249ae811 /rules | |
parent | ec3f1c26c17e8c6543df49aff7b8cd87414c9730 (diff) | |
download | rspamd-a24795caa0291ae23ed3c4bd4767b7aa258b2370.tar.gz rspamd-a24795caa0291ae23ed3c4bd4767b7aa258b2370.zip |
Fix issue with Thunderbird for Android being
marked as `FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN` due to
uppercase UUID format for message IDs.
Diffstat (limited to 'rules')
-rw-r--r-- | rules/regexp/headers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index 44fa964e3..38bd2a2ba 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -460,7 +460,7 @@ local user_agent_mozilla = string.format('(%s) & !(%s) & !(%s) & !(%s)', user_ag user_agent_seamonkey, user_agent_postbox) -- Mozilla based common Message-ID template local mozilla_msgid_common = 'Message-ID=/^\\s*<[\\dA-F]{8}\\.\\d{1,7}\\@([^>\\.]+\\.)+[^>\\.]+>$/H' -local mozilla_msgid_common_sec = 'Message-ID=/^\\s*<[\\da-f]{8}-([\\da-f]{4}-){3}[\\da-f]{12}\\@([^>\\.]+\\.)+[^>\\.]+>$/H' +local mozilla_msgid_common_sec = 'Message-ID=/^\\s*<[\\da-f]{8}-([\\da-f]{4}-){3}[\\da-f]{12}\\@([^>\\.]+\\.)+[^>\\.]+>$/Hi' local mozilla_msgid = 'Message-ID=/^\\s*<(3[3-9A-F]|[4-9A-F][\\dA-F])[\\dA-F]{6}\\.(\\d0){1,4}\\d\\@([^>\\.]+\\.)+[^>\\.]+>$/H' -- Summary rule for forged Mozilla Mail Message-ID header reconf['FORGED_MUA_MOZILLA_MAIL_MSGID'] = { |