Topic awaiting preservation: Matt's CGI Form Mail Script (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: Haverhill, MA, USA |
posted 11-22-2004 21:58
I am building a static site that requires I use a CGI form mail script. The trouble I'm having is that I can't control who the form results are being emailed to. The script requires a variable called "recipient" to be sent to it from the static form page. I set "recipient" as the email addresses (jc@labelsinc.com, bchester@labelsinc.com) that I wanted to send to. The CGI script itself has no email addresses in it. It only processes what you send it through the "recipient" variable. Instead the form results get sent to csnow@labelsinc.com. What gives? |
Maniac (V) Inmate From: raht cheah |
posted 11-23-2004 04:48
Matt's FormMail contains a vulnerability that can allow your form to be used as an open relay for spammers to send mass mail through, you should try http://nms-cgi.sourceforge.net/scripts.shtml instead. |
Nervous Wreck (II) Inmate From: Haverhill, MA, USA |
posted 11-23-2004 14:47
Thanks Jason, I'll try out your script. My company's website service provider is extremely stupid. I called the guy about it, and he acted dumb the whole time. It was evident by our conversation I was better off asking him how many blizzard flavors they have at Dairy Queen. |
Nervous Wreck (II) Inmate From: Haverhill, MA, USA |
posted 11-23-2004 15:16
Here was the resulting page after the new formmail was installed and used. Unfortunately, it still sends the email to someone I didn't list in the perl script. It sends it to csnow@labelsinc.com as it did before. Is there any other explaination for why this is happening? I assume it has nothing to do with the actual script now. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 11-23-2004 16:41
well, I assume your perl script makes use of a 'special' sendmail, configured to only mail to csnow@labsinc.com - but that's something you'd have to ask your host about. |
Nervous Wreck (II) Inmate From: Haverhill, MA, USA |
posted 11-23-2004 17:31
I don't think that's possible Tyberius. I'm now using the Perl script suggested through this thread. I trashed the old one my host installed. Maybe I'm just not understanding what you mean. Would a special sendmail be something that is inside the perl script, or are you talking about something server side exclusive of the script. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 11-23-2004 20:09
Ok, sendmail is a program on unix systems that handles the actual sending of mails. |
Nervous Wreck (II) Inmate From: Haverhill, MA, USA |
posted 11-23-2004 20:54
Thanks a lot Tyberius. I called to ask my host about that, and it spawned some productive curiousity in the staff. In case your interested in the solution, my form action was sending to a globalized CGI bin on the server, instead of my own CGI bin where I had designated the proper email addresses in my perl script. It therefore defaulted to sending the form results to the name on the account, or csnow@labelsinc.com. Thank you for your time. It helped to find a solution. |
Maniac (V) Inmate From: raht cheah |
posted 11-23-2004 21:14 |