Skip to main content

Problems With Spam

Comments

5 comments

  • cPanelLauren
    Hi @charisma09 Ultimately you want to find out where the spam is originating from then you can identify how to remove it. If you think there's a script sending the mail running something like: grep cwd /var/log/exim_mainlog | grep -v /var/spool | awk -F"cwd=" '{print $2}' | awk '{print $1}' | sort | uniq -c | sort -n
    Will show each directory in the exim logs mail was sent from and how many were sent. Let us know the output of this if you need any assistance. Thanks!
    0
  • Skhilled44
    Sorry for butting in but this is very interesting. @cPanelLauren, what is the time frame of that code...like all emails sent today, all week or what?
    0
  • cPanelLauren
    Sorry for butting in but this is very interesting. @cPanelLauren, what is the time frame of that code...like all emails sent today, all week or what?

    It depends on how long it's been since the exim_mainlog was rotated. I've seen some folks that don't rotate theirs often so it'll go back pretty far but usually the log file is rotated every few days. Thanks!
    0
  • Skhilled44
    Ok, thank you very much! :)
    0
  • cPanelLauren
    You're very welcome @Skhilled44
    0

Please sign in to leave a comment.