From 76928b633f9595c425826fa269d0bb6ce9ff693b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 11 Mar 2018 14:43:14 +0000 Subject: [PATCH] [Minor] Treat 'In-Reply-To' as 'References' Issue: #2042 Closes: #2042 --- rules/regexp/headers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index 39ae3c8cb..e80380197 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -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'] = { -- 2.39.5