exim4

exim oneliner

This oneliner is really practical if you’re administering mailsystems with thousands of email accounts.

# exim -bp | grep "<.*>" | awk '{ print $4 }' | sort | uniq -c | sort -n

If you suspect some account is being abused for sending spam you’ll get a quick overview .
It simply returns sorted list of counted mail in queue per user.