From 381bf747cc2951b2120853024027de1956cdfb46 Mon Sep 17 00:00:00 2001 From: ofthesun9 Date: Mon, 4 May 2020 18:18:32 +0000 Subject: [PATCH] Check permissions using postfix set-permissions --- core/postfix/start.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/postfix/start.py b/core/postfix/start.py index c5bf073e..b68303e1 100755 --- a/core/postfix/start.py +++ b/core/postfix/start.py @@ -66,6 +66,5 @@ multiprocessing.Process(target=start_podop).start() os.system("/usr/libexec/postfix/post-install meta_directory=/etc/postfix create-missing") # Before starting postfix, we need to check permissions on /queue # in the event that postfix,postdrop id have changed -os.system("chown -R postfix /queue/{active,bounce,corrupt,defer,deferred,flush,hold,incoming,maildrop,pid,private,public,saved,trace}") -os.system("chgrp -R postdrop /queue/{maildrop,public}") +os.system("postfix set-permissions") os.system("postfix start-fg")