Author Topic: How to track and stop outgoing SPAM?  (Read 25104 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to track and stop outgoing SPAM?
« 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
Code: [Select]
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
Code: [Select]
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
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services