aerogramme/tests/instrumentation/docker/cyrus/entrypoint.sh
2023-12-27 18:33:06 +01:00

16 lines
258 B
Bash
Executable file

#!/bin/bash
cyrmaster -D -l 32 -C /etc/imapd.conf -M /etc/cyrus.conf &
sleep 2
echo cyrus | saslpasswd2 -p cyrus
echo pass | saslpasswd2 -p test
cyradm -u cyrus -w cyrus 127.0.0.1 <<EOF
cm user.test
setaclmailbox user.test test kxtelrswip
exit
EOF
wait