Discard mail with exim4 using :blackhole:

The most obvious way to discard mail to a particular alias with the exim4 mail server is to send it to /dev/null, but unless file_transport is set in the exim configuration it won’t work. You can use :blackhole: instead.

Flush the exim mail queue

I have the exim mail server running on one of my customer’s webservers. Their internal mail server hadn’t been accepting mail overnight so they hadn’t got a whole bunch of important emails from the webserver and I needed to flush the exim mail queue. A quick read of the exim man page answered my question about how to do this and I thought I’d write a quick post to show how to flush the exim mail queue.