aerogramme/tests/instrumentation
2024-01-08 10:39:15 +00:00
..
docker add courier imap 2024-01-07 22:27:12 +01:00
docker-compose.yml add courier imap 2024-01-07 22:27:12 +01:00
inject_emails.sh add a --dev mode 2023-12-27 18:33:06 +01:00
mbox-to-imap.py UID sequence are now correctly fetched 2024-01-08 11:13:13 +01:00
README.md add a --dev mode 2023-12-27 18:33:06 +01:00
rm-mail-parser-expected-struct.py add a --dev mode 2023-12-27 18:33:06 +01:00
send-to-imap.py add courier imap 2024-01-07 22:27:12 +01:00
unix2dos.py add a --dev mode 2023-12-27 18:33:06 +01:00

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:994
    • login with A LOGIN test@example.com pass
  • Cyrus
    • listen on :143, run nc 127.0.0.1 143
    • login with A LOGIN test pass
  • Stalwart
    • listen on :1993, run openssl s_client -connect 127.0.0.1:993
    • login with A LOGIN test@example.com pass
    • note: not packaged in docker yet...

Other IMAP servers we could add:

Inject emails and dump the computed BODY + BODYSTRUCTURE

Once you ran docker-compose up, launch ./send-to-imap.py