Hello list, I wanted to get the IP addresses of the top smtp submitters, to analyze them and block possible spammers. I searched a lot and found no script or log processor available to do that... so I made one: grep "CHKUSER accepted" /var/log/qmail/smtpd/* | sed 's/.*remote .*:\([^>]*\)> .*/\1/' | sort | uniq -c | sort -rn | head 20 regards, |
Title: Ingo Claro