]> source.dussan.org Git - rspamd.git/commitdiff
Update mx_check.lua 1072/head
authorAL <AlexeySa@users.noreply.github.com>
Tue, 25 Oct 2016 11:06:33 +0000 (14:06 +0300)
committerGitHub <noreply@github.com>
Tue, 25 Oct 2016 11:06:33 +0000 (14:06 +0300)
src/plugins/lua/mx_check.lua

index 39ba95b0b5889cfc26cab41813fbdf34eab10576..bdd33a8e5c35335f57e3c28eb8268c38592037e2 100644 (file)
@@ -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)