cacert-devsetup/docker/run-dovecot
Jan Dittberner af156f24c6 Configure mgr and mail containers
This commit configures IMAP to work properly and makes logs of mgr and
dovecot available.
2020-12-22 14:19:31 +01:00

10 lines
267 B
Bash
Executable file

#!/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