From 1620b4ce609a31f555155b6f9acf21a9e7e34bf9 Mon Sep 17 00:00:00 2001
From: Nicolas KAROLAK <nicolas.karolak@ubicast.eu>
Date: Mon, 23 Sep 2019 17:55:14 +0200
Subject: [PATCH] open relay as warning

---
 tests/test_email.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_email.py b/tests/test_email.py
index ac86b665..0aa6027c 100755
--- a/tests/test_email.py
+++ b/tests/test_email.py
@@ -35,8 +35,8 @@ def check_listen() -> tuple:
     status, out = subprocess.getstatusoutput("ss -pant | grep master | grep ':25'")
 
     if status != 0 or ("127.0.0.1:25" not in out and "[::1]:25" not in out):
-        u.error("Postfix is not listening on localhost:25")
-        errors += 1
+        u.warnings("Postfix is not listening on localhost:25")
+        warnings += 1
     else:
         u.success("Postfix is listening on localhost:25")
 
-- 
GitLab