athoune / aiosmtp-relay

Do cool stuff with SMTP, the async way
0 stars 0 forks source link

AIO SMTP Relay

AsyncIO SMTP relay.

client -> relay -> Postfix -> target

Relay will handle middlewares to do things with with email, like DKIM signing.

Test it

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.

Licence

3 terms BSD licence, ©2018 Mathieu Lecarme