From cbc360893b8a5929ab523b750688859939f03263 Mon Sep 17 00:00:00 2001 From: Charlie Jacomme Date: Thu, 9 Aug 2018 16:37:34 +0200 Subject: [PATCH] full postfix path --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 60fb2bf..d38d7c3 100755 --- a/main.py +++ b/main.py @@ -45,7 +45,7 @@ def generate(api_client): fichier.close() call(["/usr/bin/newaliases"]) # Update the aliases config file - call(["postfix", "reload"]) # force the reloading now + call(["/usr/sbin/postfix", "reload"]) # force the reloading now for arg in sys.argv: if arg=="--force":