Linux Mailq Monitor

Version 1

    If you run postfix or another SMTP relay on linux, cron this job to run every 10 minutes.

     

    It counts the number of emails stacked up in the mailq, and when it hits a configurable limit (default to 1000) it sends an email (from an alternate host!) warning you of the mail buildup.