AsyncIO SMTP relay.
client -> relay -> Postfix -> target
Relay will handle middlewares to do things with with email, like DKIM signing.
Launch MailHog, from the binary or docker image.
Install stuff in a venv
python3 -m venv .
./bin/pip install -r requirements.txt
Launch the relay
./bin/python relay.py
Launch the client
./bin/python client.py
Watch stuff happening in the MailHog web UI : http://localhost:8025
Hack.
3 terms BSD licence, ©2018 Mathieu Lecarme