Last Updated: February 25, 2016
·
341
· javierwilson

analyze sendmail queue

this will simply list the top 20 "To" or "From" in your mail queue.

cd /var/spool/mqueue

grep -E "From: |To: " qf*|cut -f3 -d":"|sort|uniq -c|sort -nr|head -20