diff options
-rw-r--r-- | src/plugins/lua/spf.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/lua/spf.lua b/src/plugins/lua/spf.lua index 80d1e664d..0f3a17ea0 100644 --- a/src/plugins/lua/spf.lua +++ b/src/plugins/lua/spf.lua @@ -106,9 +106,10 @@ local function spf_check_callback(task) end end if not found then - rspamd_logger.warnx(task, "cannot find external relay with IP %s", - local_config.external_relay) ip = task:get_from_ip() + rspamd_logger.warnx(task, + "cannot find external relay for SPF checks in received headers; use the original IP: %s", + tostring(ip)) end else ip = task:get_from_ip() |