aerogramme/tests
2023-02-07 16:12:47 +01:00
..
docker Add a docker-compose spawning Dovecot+Cyrus+Maddy 2022-07-08 11:47:59 +02:00
emails add stalwart results 2023-02-07 14:40:26 +01:00
parsing-crates Move to mail_parser 0.5 2022-07-20 15:14:34 +02:00
docker-compose.yml Add a docker-compose spawning Dovecot+Cyrus+Maddy 2022-07-08 11:47:59 +02:00
inject_emails.sh Update documentation 2022-08-03 16:00:44 +02:00
README.md update readme 2023-02-07 16:12:47 +01:00
rm-mail-parser-expected-struct.py Add some test emails from mail-parser 2022-07-05 10:17:42 +02:00
send-to-imap.py add stalwart results 2023-02-07 14:40:26 +01:00
unix2dos.py Use CRLF as line ending in test files 2022-07-08 10:23:07 +02: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