New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSCache and CWP CageFS at no extra cost with all CWPpro licences. The LSCache plugin is integrated into our WordPress and other script installers, and CWP CageFS gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

How to track and stop outgoing SPAM?

Started by Administrator, November 01, 2013, 08:50:06 PM

Previous topic - Next topic

Administrator

How to track and stop outgoing SPAM?

For outgoing mail you can track it with this script
save file as: spam_track.sh
while true
do
    sudo lsof -i | grep smtp
    sleep 5
done

run script: sh spam_track.sh



If you find that spam sender is php user than you can track this user and PHP SPAM file location with script
save file as: php_spam_track.sh
while true
do
    ps -aux|grep USERNAME
    sleep 1
done

don't forget to replace USERNAME in script with username you think sends spam!
run script: php_spam_track.sh


Check posible spam files
Download script
wget http://cbl.abuseat.org/findbot.pl

Run script
perl findbot.pl FOLDER_LOCATION

eg. perl findbot.pl /home/testuser1/public_html