aboutsummaryrefslogtreecommitdiff
path: root/tests/docker/cyrus/entrypoint.sh
blob: c410e9d8b0b16a81689d71e405800a0fa83649f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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