Find a hacked mail account by its SMTP logins
which mailbox is sending spam | find out if email account is hacked | server blacklisted because of spam | grep | postfix | spam | securitygrep -o "sasl_username=[^ ,]*" /var/log/maillog | sort | uniq -c | sort -rn | head -20Counts how often each account authenticated via SMTP and submitted a message. An account with hundreds or thousands of entries, often from changing IPs, points to a compromised password. Afterwards, change the password and clean up the queue.
Also searched as
- which mailbox is sending spam
- find out if email account is hacked
- server blacklisted because of spam