Thursday, December 18, 2008

How to check your Spam Trap Log on cPanel WHM

If you suspect someone on your WHM managed server of sending spam, or if you're trying to get to the bottom of a recent security that resulted in the sending of spam then you could do a lot worse then installing a Spam Trap Log script.

How to check the WHM Spam Trap Log
An easy way to execute the script is to use the FileMan part of WHM, this lives at http://YOUR SERVER IP:2086/fileman/fileman.cgi When you are on the page click the 'command' link at the top of the page and when the command box appears at the bottom of the screen type in

perl /root/scripts/SpamCount.pl

The system will then display an outbound mail count for each account on your server.