E-Mail Is Not Your Error Log

Or, how NOT to “log” errors. Especially on web based stuff. ESPECIALLY.

Output from one of our mail processing frontends. The script runs mailq and collates the output, sorted by recipient domain. Redacted of course to protect the people with the bad idea.

mfe3:~# /opt/bin/top-mailq-to-domains 
   2947 *REDACTED*.com
    158 *REDACTED*.co.uk
    117 *REDACTED*.org
    116 mailbox.com

This is why sending yourself an email for every error on your site is A BAD IDEA. Make a log. Process the log.