aboutsummaryrefslogtreecommitdiff
path: root/tests/docker/cyrus/entrypoint.sh
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-07-08 11:47:59 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-07-08 11:47:59 +0200
commite72985a38cec9e31eb2c4b6fa012895ff07226a8 (patch)
tree02bb1f8b19781d61c27734a0f891e7e291f3a0be /tests/docker/cyrus/entrypoint.sh
parent9675cdb545a139984a2d765397f3a5e26472a49e (diff)
downloadaerogramme-e72985a38cec9e31eb2c4b6fa012895ff07226a8.tar.gz
aerogramme-e72985a38cec9e31eb2c4b6fa012895ff07226a8.zip
Add a docker-compose spawning Dovecot+Cyrus+Maddy
Diffstat (limited to 'tests/docker/cyrus/entrypoint.sh')
-rwxr-xr-xtests/docker/cyrus/entrypoint.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/docker/cyrus/entrypoint.sh b/tests/docker/cyrus/entrypoint.sh
new file mode 100755
index 0000000..c410e9d
--- /dev/null
+++ b/tests/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