From: AL Date: Tue, 25 Oct 2016 11:06:33 +0000 (+0300) Subject: Update mx_check.lua X-Git-Tag: 1.4.0~196^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6e71b7de04d4c33854b567839839d018e5420db4;p=rspamd.git Update mx_check.lua --- diff --git a/src/plugins/lua/mx_check.lua b/src/plugins/lua/mx_check.lua index 39ba95b0b..bdd33a8e5 100644 --- a/src/plugins/lua/mx_check.lua +++ b/src/plugins/lua/mx_check.lua @@ -50,6 +50,10 @@ local function mx_check(task) end end + if not mx_domain then + return + end + local valid = false local function check_results(mxes)