I inherited a couple of sites that send the webmaster an email with each 404 error. I get a smattering of errors each day, but there are times when I'll get dozens, even hundreds, of errors from these sites in just a couple of minutes. Given what they're looking for (directories like phpmyadmin, wp-admin, register, admin, etc. and files like setup.php, register.php, admin.php, etc.) it's obviously a spambot trying to get access to the site.
Is there a way to prevent them from even looking at the site? Should I set up a honeypot that provides some bogus info or something? And how do I accomplish this?
I'm guessing that other sites (maybe all?) that I manage are being "attacked" in the same way, but I don't have a script that reports those errors in the same way so the squeaky wheel is getting my attention.