IP count

Ariën Huisken <[email protected]>
Newsgroups gmane.linux.trustix.general
Message-ID <[email protected]>
Hi list,

I like to build a list of source IP's who send a lot of email to  
unknown users.
Does anyone know how to automate this, I can use something like:
cat /var/log/mail/info |grep "User unknown in virtual alias table"|cut  
-f3 -d [|cut -f1 -d ]|sort|uniq -d -c to get a list, but I want only  
entries where the IP  is listed for more than 50 times or so.

Any help is welcome.

Greetings,

Ariën
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.