Locate spam activity
Hi
I am new in WHM/cPanel and I have VPS (centOS) on which i host up-to-date Wordpress sites, with up-to-date licenced theme and plugins.
So I am total noob, with no money to pay for some system administrator or CSF i have to fight the potential spam by myself.
I know how to locate spam activity by subject with command:
or by looking what email account was logging in more often then others with command:
by the most used mailing script's location:
Do you have some other method of finding spam activity? Thank you very much!
awk -F"T=\"" '/<=/ {print $2}' /var/log/exim_mainlog | cut -d\" -f1 | sort | uniq -c | sort -n or by looking what email account was logging in more often then others with command:
grep -Po '(?<=A=(dovecot|courier)_(login|plain):)[[:alnum:]-_+@.]+' /var/log/exim_mainlog | sort | uniq -c | sort -n | grep -v 'service__auth__exim'by the most used mailing script's location:
grep cwd /var/log/exim_mainlog | grep -v /var/spool | awk -F"cwd=" '{print $2}' | awk '{print $1}' | sort | uniq -c | sort -nDo you have some other method of finding spam activity? Thank you very much!
-
Hello :) The following document is a good place to start when attempting to prevent SPAM: cPanel - Prevent Email Abuse Thank you. 0 -
Thank you very much! 0
Please sign in to leave a comment.
Comments
2 comments