diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-08-31 10:22:52 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-08-31 10:22:52 +0200 |
commit | 28866f60631a43caa580686d11731e51587d2e5a (patch) | |
tree | 587be224bc643d859a58c50ef71d87bc259d69eb /rules/regexp/headers.lua | |
parent | dacfdb076ba21ef1c3be5c9d7bb87723f74d952b (diff) | |
download | rspamd-28866f60631a43caa580686d11731e51587d2e5a.tar.gz rspamd-28866f60631a43caa580686d11731e51587d2e5a.zip |
[Minor] Finish reworking rules
Diffstat (limited to 'rules/regexp/headers.lua')
-rw-r--r-- | rules/regexp/headers.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index b13274055..4aa89e46e 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -520,7 +520,12 @@ reconf['STOX_REPLY_TYPE'] = { -- Fake Verizon headers local fhelo_verizon = 'X-Spam-Relays-Untrusted=/^[^\\]]+ helo=[^ ]+verizon\\.net /iH' local fhost_verizon = 'X-Spam-Relays-Untrusted=/^[^\\]]+ rdns=[^ ]+verizon\\.net /iH' -reconf['FM_FAKE_HELO_VERIZON'] = string.format('(%s) & !(%s)', fhelo_verizon, fhost_verizon) +reconf['FM_FAKE_HELO_VERIZON'] = { + re = string.format('(%s) & !(%s)', fhelo_verizon, fhost_verizon), + score = 2.0, + description = 'Fake helo for verizon provider', + group = 'header' +} -- Forged yahoo msgid local at_yahoo_msgid = 'Message-Id=/\\@yahoo\\.com\\b/iH' |