aerogramme/tests/instrumentation/README.md

39 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

# 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
2022-07-08 11:28:57 +00:00
- listen on :994, run `openssl s_client -connect 127.0.0.1:994`
- login with `A LOGIN test@example.com pass`
- Cyrus
2023-02-07 15:12:47 +00:00
- listen on :143, run `nc 127.0.0.1 143`
- login with `A LOGIN test pass`
2023-02-07 15:12:47 +00:00
- 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...
2022-07-08 11:09:13 +00:00
Other IMAP servers we could add:
- WildDuck (own node.js imap implementation)
- https://github.com/nodemailer/wildduck
- DBMail (own C IMAP implementation)
- https://github.com/dbmail/dbmail/tree/master
- UW IMAP (known to be the reference IMAP implementation)
- https://wiki.archlinux.org/title/UW_IMAP
- Apache James (has its own implementation of IMAP too)
- https://james.apache.org/
2022-07-08 11:28:57 +00:00
- Citadel
- https://citadel.org
- https://code.citadel.org/?p=citadel;a=tree;f=citadel/server/modules/imap;h=3ceaa1d6b518bddb7539911a8dd9d81136d4e594;hb=HEAD
2022-07-08 11:09:13 +00:00
# Inject emails and dump the computed `BODY` + `BODYSTRUCTURE`
Once you ran `docker-compose up`, launch `./send-to-imap.py`