]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Treat 'In-Reply-To' as 'References'
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 11 Mar 2018 14:43:14 +0000 (14:43 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 11 Mar 2018 14:43:14 +0000 (14:43 +0000)
Issue: #2042
Closes: #2042
rules/regexp/headers.lua

index 39ae3c8cb2d7b9dcbed5ce7bee16a8b816e648be..e803801974ff11c62b141ff4bdf2b3fbbbfb3f83 100644 (file)
@@ -621,7 +621,7 @@ local ua_pan = 'User-Agent=/^Pan/H'
 local ua_xnews = 'User-Agent=/^Xnews/H'
 local no_inr_yes_ref = string.format('(%s) | (%s) | (%s) | (%s) | (%s) | (%s) | (%s) | (%s) | (%s) | (%s) | (%s)', xm_gnus, xm_msoe5, xm_msoe6, xm_moz4, xm_skyri, xm_wwwmail, ua_gnus, ua_knode, ua_mutt, ua_pan, ua_xnews)
 local subj_re = 'Subject=/^R[eE]:/H'
-local has_ref = 'header_exists(References)'
+local has_ref = '(header_exists(References) | header_exists(In-Reply-To))'
 local missing_ref = string.format('!(%s)', has_ref)
 -- Fake reply (has RE in subject, but has not References header)
 reconf['FAKE_REPLY_C'] = {