1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-19 02:42:15 +00:00

handle query dns timeout

This commit is contained in:
hala alajlan 2021-03-29 15:31:54 +03:00
parent 6653dbb2e2
commit 55e312a8bb

View File

@ -621,6 +621,8 @@ def check_mail_domain(domain, env, output):
if mx is None:
mxhost = None
elif mx == "[timeout]":
mxhost = None
else:
# query_dns returns a semicolon-delimited list
# of priority-host pairs.