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.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.