瀏覽代碼

[Minor] SPOOF_REPLY_TO: mitigate some possible FPs on mailing list posts

tags/1.6.0
Andrew Lewis 7 年之前
父節點
當前提交
f2c10417d9
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      rules/misc.lua

+ 2
- 0
rules/misc.lua 查看文件

@@ -570,6 +570,8 @@ rspamd_config.SPOOF_REPLYTO = {
-- SMTP recipients must contain From domain
to = task:get_recipients(1)
if not to then return false end
-- Try mitigate some possible FPs on mailing list posts
if #to == 1 and util.strequal_caseless(to[1].addr, from[1].addr) then return false end
local found_fromdom = false
for _, t in ipairs(to) do
if util.strequal_caseless(t.domain, from[1].domain) then

Loading…
取消
儲存