diff --git a/tests/test_postfix.py b/tests/test_postfix.py index dcba0ad01083f61fdbc3d249ddc55f46d8ca318b..10df73987395ab32dff22d4c7cf292e8c74f3e15 100755 --- a/tests/test_postfix.py +++ b/tests/test_postfix.py @@ -29,7 +29,7 @@ all_ok = True def get_configured_relay(): status, out = subprocess.getstatusoutput('grep relayhost /etc/postfix/main.cf') if status == 0: - return out.split('relayhost =')[1] + return out.split('relayhost = ')[1] def check_relay(): global all_ok