2020-12-22 08:49:18 +01:00
|
|
|
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
|
2020-12-22 14:19:31 +01:00
|
|
|
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
|