diff --git a/tests/test_email.py b/tests/test_email.py
index ba5f55b114107376cc3fac764eb33c59d1b4c763..fe90f9dee9137755d2fdeaaa5e27749f308e1d38 100755
--- a/tests/test_email.py
+++ b/tests/test_email.py
@@ -46,11 +46,13 @@ def check_listening_port():
         print_green('Postfix is listening port 25 correctly.')
         return True
 
+
 def check_spf(ip):
     status, output = subprocess.getstatusoutput('host -t TXT ubicast.eu')
     if ip in output:
         return True
 
+
 def check_relay():
     print('Checking if SMTP relay conforms to conf.')
     status, out = subprocess.getstatusoutput('grep relayhost /etc/postfix/main.cf')
@@ -60,7 +62,7 @@ def check_relay():
         configured_relay = None
     if not configured_relay:
         # no relay configured, check relayless situations
-        domain = '.'.join(conf.get('MS_SERVER_NAME').split('.')[-2:])
+        # domain = '.'.join(conf.get('MS_SERVER_NAME').split('.')[-2:])
         ip = conf.get('NETWORK_IP_NAT')
         if not ip:
             ip = conf.get('NETWORK_IP')