cacert-devsetup/docker/run-dovecot

13 lines
291 B
Text
Raw Normal View History

2020-12-22 08:49:18 +01:00
#!/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
2020-12-26 17:10:15 +01:00
trap "exit 0" TERM INT
2020-12-22 08:49:18 +01:00
dovecot -F