|
|
|
@ -25,7 +25,8 @@ if "MESSAGE_SIZE_LIMIT" not in os.environ:
|
|
|
|
|
if "DOVECOT_HOST" not in os.environ:
|
|
|
|
|
os.environ['DOVECOT_HOST'] = 'dovecot'
|
|
|
|
|
|
|
|
|
|
os.mkdir('/etc/postfix/sql')
|
|
|
|
|
if not os.path.exists('/etc/postfix/sql'):
|
|
|
|
|
os.mkdir('/etc/postfix/sql')
|
|
|
|
|
|
|
|
|
|
for postfix_file in glob.glob("/conf/*.cf", recursive=True):
|
|
|
|
|
destination = os.path.join("/etc/postfix", os.path.basename(postfix_file))
|
|
|
|
|