From a130e8bf6945f0fedccbd88eba4e9f20283b2de2 Mon Sep 17 00:00:00 2001 From: Alexey Date: Fri, 27 Dec 2013 00:01:41 -0800 Subject: [PATCH] Fix bug for check sender rule --- src/plugins/lua/forged_recipients.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/forged_recipients.lua b/src/plugins/lua/forged_recipients.lua index a46776f91..9ad47a259 100644 --- a/src/plugins/lua/forged_recipients.lua +++ b/src/plugins/lua/forged_recipients.lua @@ -37,7 +37,7 @@ function check_forged_headers(task) end -- Check sender local smtp_from = task:get_from() - if smtp_form then + if smtp_from then local mime_from = task:get_from_headers() if not mime_from or not (string.lower(mime_from[1]['addr']) == string.lower(smtp_from[1]['addr'])) then task:insert_result(symbol_sender, 1) -- 2.39.5