forked from jan/cacert-devsetup
Jan Dittberner
af156f24c6
This commit configures IMAP to work properly and makes logs of mgr and dovecot available.
10 lines
267 B
Bash
Executable file
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
|