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":