aboutsummaryrefslogtreecommitdiff
path: root/tests/README.md
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/README.md
parent9675cdb545a139984a2d765397f3a5e26472a49e (diff)
downloadaerogramme-e72985a38cec9e31eb2c4b6fa012895ff07226a8.tar.gz
aerogramme-e72985a38cec9e31eb2c4b6fa012895ff07226a8.zip
Add a docker-compose spawning Dovecot+Cyrus+Maddy
Diffstat (limited to 'tests/README.md')
-rw-r--r--tests/README.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/README.md b/tests/README.md
new file mode 100644
index 0000000..e2bfa6b
--- /dev/null
+++ b/tests/README.md
@@ -0,0 +1,21 @@
+# Spawn Dovecot+Maddy+Cyrus
+
+Run:
+
+```
+docker-compose up
+```
+
+ - Dovecot
+ - listen on :993, run `openssl s_client -connect 127.0.0.1:993`
+ - login with `A LOGIN test pass`
+ - Maddy
+ - listen on :994, run `openssl s_client -connect 127.0.0.1:993`
+ - login with `A LOGIN test@example.com pass`
+ - Cyrus
+ - lient on :143, run `nc 127.0.0.1 143`
+ - login with `A LOGIN test pass`
+
+# Inject emails and dump the computed `BODY` + `BODYSTRUCTURE`
+
+Once you ran `docker-compose up`, launch `./send-to-imap.py`