View Full Version : nms formmail installation trouble
argon
12-05-2003, 04:22 PM
Any clues on troubleshooting nms fromail installation? It was supposed to be a "drop in" replacement for FormMail, but it won't work for me.
I get an internal server error notice when I run the form, and when I look at the server log it says "Premature end of script headers: ..." Whatever that means.
I ran the CGI debugger and there were several items that failed becuase they were not found (NMS Charset, Script, Vaildiator, Mailer:ByScheme, and NMS:ScriptLFromMail), however, I have no idea how to proceeed now.
Any help would be great!
Thanks,
David
Hello,
My suggestion for using NMS starts with K.I.S.S...
1) Get a clean copy of the script from the authors web site.
http://nms-cgi.sourceforge.net/scripts.shtml
2) Unzip it locally.
3) Upload just the script, FormMail.pl, to your /cgi-bin making sure you upload it using either the CNC and "Auto Detect" or if using FTP make sure it is in ASCII mode.
4) Using your CNC text editor open the script and make only three changes...
A) $postmaster = '';
Place the email address you want any bounces to come to
within the ' ' such as 'myaddress@example.com'
B) @referers = qw(dave.org.uk 209.207.222.64 localhost);
remove red highlighted text and
replace with just your domain name such as (example.com)
C) @allow_mail_to = qw(you@your.domain some.one.else@your.domain localhost);
remove the red highlighted text and
replace with the email address at your domain you want this
form to send email to such as (you@example.com)
5) Save the edited script.
Point your submission form to the exact path /cgi-bin/FormMail.pl test the script and if it works then start making changes to the naming structure, location and or your form.
Always take the shortest - simplest installation route, verify the script works, and then make additional changes one by one testing each step so if there is a problem you will know exactly what you last did...
Hope this helps,
Bob
ricktrip
01-02-2004, 07:02 PM
NMS also has an "improved" formmail script called "TFMail." Since it is more complex, it isn't clear to me whether the improvements are worth the extra complexity. Does anyone have experience with it? If so, I'd like to know what you think of it.
johnnyblood
07-22-2004, 12:54 PM
Hi, I'm new to this forum and web page building. I'm making a contact page to avoid having my email address visible to harvesters. TFmail seems to be the most advanced thing I can find... so advanced that I can't really figure out how to get it going. So far I've downloaded and unzipped it and uploaded the script to my cgi-bin. Anyone know what comes next? The readme file is daunting. Also, does anyone out there have an opinion about TFmail? Thanks for any help!
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.