Skip to main content

Blackhole is an MTA (message transfer agent) that (figuratively) pipes all mail to /dev/null.

Project description

Latest version released on PyPi Build status of the master branch Requirements Status Test coverage Chat on Gitter

Blackhole is an MTA (message transfer agent) that (figuratively) pipes all mail to /dev/null.

Blackhole is built on top of asyncio and utilises async def and await statements available in Python 3.5 and above.

While blackhole is an MTA (mail transport agent), none of the actions performed via SMTP or SMTPS are actually processed and no email or sent or 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. No matter how you choose to configure it, the email is never actually delivered, it just appears to have been delivered or bounced.

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

Service status

You can find the current service status on status.blackhole.io.

Donations

Blackhole costs a bit of money to run, it receives millions of emails on a daily basis, sometimes millions every 5 minutes depending on the load of the platform.

To keep Blackhole running, please think about donating even just a little to the project via Gratipay.

Why?

Blackhole was first built when I was working on a project that required me to be able to send/receive millions of emails per minute. As the sender was being prototyped, I quickly realised that any mail server I pointed it at would fall over due to the stess – thus blackhole was born.

Documentation

You can find the latest documentation here.

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

The latest build status on travis.

And the test coverage report on codecov.

Changelog

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blackhole-2.1.6.tar.gz (54.5 kB view hashes)

Uploaded Source

Built Distribution

blackhole-2.1.6-py35-none-any.whl (66.0 kB view hashes)

Uploaded Python 3.5

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page