Forum Moderators: bakedjake
I can do:
grep -c "sample@somesite.com" /var/log/maillog
Which works great for that email account, but unfortinitly I have 1000's of email accounts, and I don't have the time to do this for every account, and then find which account was receiving the most email.
Is there a way use something like grep -c, that will allow me to group results by email address sorted by which email account in /var/log/maillog is receiving the most emails?