aerogramme/tests
Alex db4ffd7135
Move to mail_parser 0.5
2022-07-20 15:14:34 +02:00
..
docker Add a docker-compose spawning Dovecot+Cyrus+Maddy 2022-07-08 11:47:59 +02:00
emails Add a docker-compose spawning Dovecot+Cyrus+Maddy 2022-07-08 11:47:59 +02:00
parsing-crates Move to mail_parser 0.5 2022-07-20 15:14:34 +02:00
README.md Fix typo + add Citadel to the list 2022-07-08 13:28:57 +02:00
docker-compose.yml Add a docker-compose spawning Dovecot+Cyrus+Maddy 2022-07-08 11:47:59 +02:00
inject_emails.sh Some more FETCH things work 2022-07-15 16:15:48 +02: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 a docker-compose spawning Dovecot+Cyrus+Maddy 2022-07-08 11:47:59 +02:00
unix2dos.py Use CRLF as line ending in test files 2022-07-08 10:23:07 +02:00

README.md

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
    • lient on :143, run nc 127.0.0.1 143
    • login with A LOGIN test pass

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