Configure mgr and mail containers

This commit configures IMAP to work properly and makes logs of mgr and
dovecot available.
This commit is contained in:
Jan Dittberner 2020-12-22 14:19:31 +01:00
parent 30ddadd954
commit af156f24c6
9 changed files with 164 additions and 4 deletions

View file

@ -1,4 +1,10 @@
#!/bin/sh
set -eu
echo "catchall:{plain}${CATCHALL_MAILBOX_PASSWORD}::::::" \
> /etc/dovecot/imap_user.txt
chmod 0640 /etc/dovecot/imap_user.txt
chown dovecot.dovecot /etc/dovecot/imap_user.txt
echo "log_path = /dev/stderr" > /etc/dovecot/local.conf
dovecot -F