]> source.dussan.org Git - rspamd.git/commit
[Minor] Remove FAKE_REPLY_C and move FAKE_REPLY rule to regexp module
authorAnton Yuzhaninov <citrin+git@citrin.ru>
Sat, 12 Dec 2020 19:30:46 +0000 (19:30 +0000)
committerAnton Yuzhaninov <citrin+git@citrin.ru>
Sat, 12 Dec 2020 19:30:46 +0000 (19:30 +0000)
commita7aa9adc0cb2e6046b9136992eb41c0f89a2f401
tree6370aa7f5605be7f4c934649b1a4989c12f2570a
parentdf5e7c7fb3079306562875dabc36448ede06c69c
[Minor] Remove FAKE_REPLY_C and move FAKE_REPLY rule to regexp module

FAKE_REPLY_C rule no longer works because MUA it used are no longer used
(and ones which are used changed headers they add).  In theory one can
test all popular modern MUA and see which add only References, which
only In-Reply-To and which add both headers.  But it will be a lot of
work to maintain such rule up to date.  It still has a small number of
hits, but mostly because some spammers use old X-Mailer headers.  This
should be addressed separately.

While here re-create FAKE_REPLY as a regexp module rule - this way it
should be more efficient.
rules/headers_checks.lua
rules/regexp/headers.lua