Skip to content

Instantly share code, notes, and snippets.

@drakakisgeo
Created December 2, 2016 07:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drakakisgeo/28e09b3aba75eb94b474bbb970d3fb95 to your computer and use it in GitHub Desktop.
Save drakakisgeo/28e09b3aba75eb94b474bbb970d3fb95 to your computer and use it in GitHub Desktop.
Check Spam sourcein a shared server
grep cwd /var/log/exim_mainlog | grep -v /var/spool | awk -F"cwd=" '{print $2}' | awk '{print $1}' | sort | uniq -c | sort -n
More info at http://www.inmotionhosting.com/support/email/exim/find-spam-script-location-with-exim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment