1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-24 02:37:05 +00:00

Handle query dns timeout unhandled error (#1950)

Co-authored-by: hala alajlan <halalajlan@gmail.com>
This commit is contained in:
Hala Alajlan 2021-05-08 15:26:40 +03:00 committed by GitHub
parent 12aaebfc54
commit bc4ae51c2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -664,6 +664,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.