aboutsummaryrefslogblamecommitdiff
path: root/tests/README.md
blob: e2bfa6b5c6bc07245f7af0cd4a61e2fcce18b4b0 (plain) (tree)




















                                                                    
# 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`