mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-22 07:17:05 +00:00
test_mail: if EHLO test fails continue testing the rest, since user may be waiting on DNS propagation
This commit is contained in:
parent
f91830f0e3
commit
19aba091d7
@ -48,8 +48,8 @@ if reverse_dns is not None:
|
||||
helo_name = server.ehlo_resp.decode("utf8").split("\n")[0] # first line is the EHLO name
|
||||
if helo_name != reverse_dns:
|
||||
print("The server's EHLO name does not match its reverse hostname. Check DNS settings.")
|
||||
sys.exit(1)
|
||||
print("SMTP EHLO name (%s) is OK." % helo_name)
|
||||
else:
|
||||
print("SMTP EHLO name (%s) is OK." % helo_name)
|
||||
|
||||
# Login and send a test email.
|
||||
server.login(emailaddress, pw)
|
||||
|
Loading…
Reference in New Issue
Block a user