I installed a simple 'contact us' form on a clients site, using the hosts auto-install of formmail.pl. visitor could fill out a few fields and hit submit and it would email the data to client. However client started getting SPAM via this form, so I disabled it, uninstalling formmail.pl to make sure. Recently I need to use a different form, however, so I reinstalled formmail.pl (again through host's auto install feature) and immediately client started getting spam submissions again. It looks like it's from a spider that searches for pages with forms then fills them out with self-promotion and other garbage.
The strange thing is that these spam messages seem to be still be coming from the previous Contact Us page, although I have tried to delete every page that might still have the form data on it.
My question is - is there any way to tell which page on a site is generating an email, just from the email itself, or fom the site logs...? If not, is there any way to search an entire directory for the culprit page? Or does anyone else have any other advice on stopping the spam-through-forms problem??