Control Web Panel
WebPanel => E-Mail => Topic started by: Administrator on November 01, 2013, 08:50:06 PM
-
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