diff --git a/core/postfix/start.py b/core/postfix/start.py index c32099bf..b68303e1 100755 --- a/core/postfix/start.py +++ b/core/postfix/start.py @@ -64,4 +64,7 @@ if "RELAYUSER" in os.environ: # Run Podop and Postfix 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("postfix set-permissions") os.system("postfix start-fg") diff --git a/towncrier/newsfragments/1486.bugfix b/towncrier/newsfragments/1486.bugfix new file mode 100644 index 00000000..3053455d --- /dev/null +++ b/towncrier/newsfragments/1486.bugfix @@ -0,0 +1 @@ +Check postfix mailqueue permissions before start-up