mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-26 03:52:50 +02:00
Check permissions using postfix set-permissions
This commit is contained in:
parent
3a9c9d0436
commit
381bf747cc
@ -66,6 +66,5 @@ multiprocessing.Process(target=start_podop).start()
|
|||||||
os.system("/usr/libexec/postfix/post-install meta_directory=/etc/postfix create-missing")
|
os.system("/usr/libexec/postfix/post-install meta_directory=/etc/postfix create-missing")
|
||||||
# Before starting postfix, we need to check permissions on /queue
|
# Before starting postfix, we need to check permissions on /queue
|
||||||
# in the event that postfix,postdrop id have changed
|
# 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("postfix set-permissions")
|
||||||
os.system("chgrp -R postdrop /queue/{maildrop,public}")
|
|
||||||
os.system("postfix start-fg")
|
os.system("postfix start-fg")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user