|
Any Web script that sends mail will eventually be visited by a spammer who will try to trick your script into becoming a spam relay.
If you've just started to write your own CGI scripts, do NOT try to write a mailing script. Use one from the list at the end of this page.
Because of the prevalence of automated scripts (bots) that try to abuse Web pages that send email or post to blogs, all web forms that send email must have some kind of test to block (or at least slow down) the bots.
One common method of doing so is to provide the client a "puzzle" to solve, such as a "CAPTCHA" image of blurry letters or numbers that require human interpretation of the image. The web page form does not accept any input unless the correct code is typed in by the client.
A much easier method is known as the "idiot test". This asks a very simple question and answer, simple enough that it is not a burden to program it into your form or for the human using your web site to answer. For example:
Joe's favorite food is chicken. To verify that you are not a bot, please answer this question: What is Joe's favorite food?
And in the above case, the form would not proceed unless the answer "chicken" was provided by the user.
Slightly more complex versions of the "idiot test" ask the user to add two numbers together (sometimes using different numbers at each invocation), or to ask a question where the answer is not explicitly specified in the question:
What is the common abbreviation for New York City?
or
How deep is Mark Twain?
If you are making a new form to collect e-mail addresses, you must use an idiot test or a CAPTCHA. If you are already using such a form on Panix, and it creates backscatter, we will require you to add an idiot test or a CAPTCHA. We would appreciate you doing so on existing scripts, even if they are not yet causing backscatter.
The following free CGI mail programs have recent development activity and are more secure against attacks by spammers:
For scripts you have developed yourself, make sure that:
Last Modified Monday, 20-Dec-2010 11:19:17 EST