Forum Moderators: phranque

Message Too Old, No Replies

FormMail (and clones) and security issues

         

vkaryl

9:30 pm on Jul 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do any of you know of a decent replacement for the non-secure crop of FormMail and its clones out there? I've found clones written in php and other lang's, with various extensions including php, cgi, etc. but they all seem to have some fairly severe caveats as to the basic impossibility of closing the door to use by spammers.

Ideas?

DaveAtIFG

10:41 pm on Jul 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



nms-formmail (perl) is said to be unhacked (so far! :) ) and it's installed/preferred by several leading hosting companies that I'm familiar with.

claus

10:43 pm on Jul 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



afaik, NMS formmail is one of the better ones: [nms-cgi.sourceforge.net...]

quote from the site:

nms was started when a group of Perl programmers got tired of telling people not to use Matt's programs and getting the reply "But what shall I use instead?"

...seems Dave beat me to it ;)

vkaryl

10:53 pm on Jul 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks to both of you! I will surf there posthaste and check this out. I usually hit sourceforge, wonder what happened this time? Blond AND senior, apparently!

encyclo

12:23 am on Jul 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Oh, and whatever you do, don't ever use a script with the name "formmail.pl" - rename it to feedback.cgi or somethingelse.cgi - a tiny bit of security by obscurity which can help you avoid problems. There are bots which actively seek out /cgi-bin/formmail.* and try spamming through them, and if you call it something else no-one knows that it's a generic script rather than a custom job.

If you're feeling more advanced, get a spider-trap script and name that formmail.pl and place it in the cgi-bin - then any automated queries for that script will ban the IP address automatically rather than giving out a 404.

Oh, and I'd add my vote for NMS Formmail too - it's an excellent drop-in script.

vkaryl

12:47 am on Jul 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks, encyclo. I will definitely try that. Sounds like fun, the spider-trap thing, though I'm not the owner of this site (it's a non-prof) and she might not want to do that sort of stuff. I'll check with her, and we'll see....