Allow dovecot to write the source configuration directory for compiling sieve scripts
This commit is contained in:
@@ -36,5 +36,5 @@ for dovecot_file in glob.glob("/conf/*.conf"):
|
|||||||
|
|
||||||
# Run Podop, then postfix
|
# Run Podop, then postfix
|
||||||
multiprocessing.Process(target=start_podop).start()
|
multiprocessing.Process(target=start_podop).start()
|
||||||
os.system("chown -R mail:mail /mail /var/lib/dovecot")
|
os.system("chown -R mail:mail /mail /var/lib/dovecot /conf")
|
||||||
os.execv("/usr/sbin/dovecot", ["dovecot", "-c", "/etc/dovecot/dovecot.conf", "-F"])
|
os.execv("/usr/sbin/dovecot", ["dovecot", "-c", "/etc/dovecot/dovecot.conf", "-F"])
|
||||||
|
|||||||
Reference in New Issue
Block a user