|
|
|
@ -46,11 +46,6 @@ if os.path.exists("/overrides/postfix.master"):
|
|
|
|
|
if is_valid_postconf_line(line):
|
|
|
|
|
os.system('postconf -Me "{}"'.format(line))
|
|
|
|
|
|
|
|
|
|
os.system("/bin/mkdir -p /data/vmail")
|
|
|
|
|
os.system("/bin/chmod u=rwX,g=rX,o=rX /data")
|
|
|
|
|
os.system("/bin/chown -R mail: /data/vmail")
|
|
|
|
|
os.system("/bin/chmod -R u=rwX,g=rX,o= /data/vmail")
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|