Blackhole is an MTA (message transfer agent) that (figuratively) pipes all mail to /dev/null.
https://github.com/kura/blackhole