aboutsummaryrefslogtreecommitdiff
path: root/tests/README.md
blob: 039c65b40a4349055e59b5fd5b69b81ff0aff2f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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`

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/

# Inject emails and dump the computed `BODY` + `BODYSTRUCTURE`

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