Email who is getting it all on hsphere

Head Surfer
October 10th, 2008

If you’re using hsphere – qmail and you’re trying to locate a spammer or user that’s abusing email use the following:

cat /var/log/messages|grep -v named|grep -v crond|grep -v sshd|cut -d’|’ -f2|sort|uniq -c|sort -n

cat /var/log/messages|grep -v named|grep -v crond|grep -v sshd|cut -d’|’ -f3|sort|uniq -c|sort -n

cat /var/log/messages|grep -v named|grep -v crond|grep -v sshd|cut -d’|’ -f3|cut -d’@’ -f2|sort|uniq -c|sort -n

These commands will show you what domains or email addresses are receiving  and sending the bulk of the email through your system.

How To Host A Website is a Web Hosting Review service. We provide web hosting reviews for best hosting, server hosting, cheap hosting and more as we answer the most important website hosting question - How To Host Website pages successfully.

Words visitors used that found this page online:

Disclosure: We are a professional review site that receives compensation from the companies whose products we review. We are independently owned and the opinions expressed here are our own. Please contact us if you would like your web hosting company considered for a web hosting and support review.
Back to top Copyright 2012 © How To Host A Website, An OS Hosting, LLC Company