diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-12-27 02:34:38 -0800 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-12-27 02:34:38 -0800 |
commit | 3c3fbf500055ab41f8793af089857fc6cde14cac (patch) | |
tree | 8a7f0e03f816af340a005f050d33a33183e3d295 | |
parent | 60d53c395aa9f3e3cbd1a7f3b5c01fd217d0eaf7 (diff) | |
parent | a130e8bf6945f0fedccbd88eba4e9f20283b2de2 (diff) | |
download | rspamd-3c3fbf500055ab41f8793af089857fc6cde14cac.tar.gz rspamd-3c3fbf500055ab41f8793af089857fc6cde14cac.zip |
Merge pull request #17 from AlexeySa/patch-1
Fix bug for check sender rule
-rw-r--r-- | src/plugins/lua/forged_recipients.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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) |