diff options
-rw-r--r-- | src/plugins/lua/external_relay.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/lua/external_relay.lua b/src/plugins/lua/external_relay.lua index 8b20bbe82..31f6a1037 100644 --- a/src/plugins/lua/external_relay.lua +++ b/src/plugins/lua/external_relay.lua @@ -159,11 +159,6 @@ strategies.hostname_map = function(rule) return end - if hostname_map:get_key(from_hn) ~= 'direct' then - lua_util.debugm(N, task, 'sending hostname (%s) is not a direct relay', from_hn) - return - end - local rcvd_hdrs = task:get_received_headers() -- Try find sending hostname in Received headers for _, rcvd in ipairs(rcvd_hdrs) do |