From 19aba091d7a5c0e56614764a0a89bd197b705a65 Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Sat, 17 May 2014 08:32:40 -0400 Subject: [PATCH] test_mail: if EHLO test fails continue testing the rest, since user may be waiting on DNS propagation --- tests/test_mail.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_mail.py b/tests/test_mail.py index de1cf71b..6c287ba7 100755 --- a/tests/test_mail.py +++ b/tests/test_mail.py @@ -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)