diff options
Diffstat (limited to 'tests/instrumentation/docker/cyrus/entrypoint.sh')
-rwxr-xr-x | tests/instrumentation/docker/cyrus/entrypoint.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/instrumentation/docker/cyrus/entrypoint.sh b/tests/instrumentation/docker/cyrus/entrypoint.sh new file mode 100755 index 0000000..c410e9d --- /dev/null +++ b/tests/instrumentation/docker/cyrus/entrypoint.sh @@ -0,0 +1,15 @@ +#!/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 |