mirror of
https://github.com/rspamd/rspamd.git
synced 2024-09-13 15:45:47 +02:00
[Minor] Fix changes to SPOOF_REPLYTO
This commit is contained in:
parent
2198052a55
commit
ab60a0e3fa
@ -442,6 +442,7 @@ rspamd_config.SPOOF_REPLYTO = {
|
||||
if not fromdom then return false end
|
||||
-- SMTP recipients must contain From domain
|
||||
local to = task:get_recipients(1)
|
||||
if not to then return false end
|
||||
local found_fromdom = false
|
||||
for _, t in ipairs(to) do
|
||||
if util.strequal_caseless(t.domain, fromdom) then
|
||||
|
Loading…
Reference in New Issue
Block a user