aboutsummaryrefslogtreecommitdiff
path: root/tests/docker/maddy/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/docker/maddy/entrypoint.sh')
-rwxr-xr-xtests/docker/maddy/entrypoint.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/docker/maddy/entrypoint.sh b/tests/docker/maddy/entrypoint.sh
new file mode 100755
index 0000000..f875624
--- /dev/null
+++ b/tests/docker/maddy/entrypoint.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+maddy -config /data/maddy.conf run &
+
+sleep 2
+maddyctl creds create --password pass test@example.com
+maddyctl imap-acct create test@example.com
+
+wait