Skip to content
/ blackhole Public

Blackhole is an MTA written on top of asyncio, utilising async and await statements that dumps all mail it receives to /dev/null.

License

Notifications You must be signed in to change notification settings

kura/blackhole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Oct 11, 2021
5d5e6f4 · Oct 11, 2021
Oct 11, 2021
Nov 9, 2018
Oct 11, 2021
Jul 17, 2021
Jul 3, 2021
Jul 3, 2021
Oct 11, 2021
Jul 14, 2021
Jul 30, 2018
Jul 26, 2018
Jun 2, 2017
Aug 29, 2020
Dec 5, 2018
Jul 14, 2021
Jul 3, 2021
Oct 11, 2021
May 15, 2020
Jul 3, 2021
Apr 19, 2016
Jul 3, 2021
Oct 11, 2021
Jul 17, 2021
Apr 19, 2016
Jul 3, 2021
Jul 16, 2018
Jun 6, 2017
Oct 11, 2021
Oct 11, 2021
Dec 30, 2019
Oct 11, 2021
Jul 3, 2021
Jul 14, 2021
Oct 11, 2021

Repository files navigation

Blackhole

Build status of the master branch Test coverage

Blackhole is an MTA (message transfer agent) that (figuratively) pipes all mail to /dev/null, built on top of asyncio and utilises async def and await statements available in Python 3.5.

While Blackhole is an MTA, none of the actions performed via SMTP or SMTPS are actually processed, and no email is delivered. You can tell Blackhole how to handle mail that it receives. It can accept all of it, bounce it all, or randomly do either of those two actions.

Think of Blackhole sort of like a honeypot in terms of how it handles mail, but it's specifically designed with testing in mind.

Python support

  • Python 3.7+
  • PyPy 3.7+
  • Pyston 2.2+

Documentation

You can find the latest documentation here.

If you would like to contribute, please read the contributors guide.

The latest build status on GitHub https://github.com/kura/blackhole/actions/workflows/ci.yml.

And the test coverage report on codecov.

Changelog

You can find a list of changes on the blackhole website.