12 lines
291 B
Bash
Executable file
12 lines
291 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
|
|
|
|
trap "exit 0" TERM INT
|
|
|
|
dovecot -F
|