Firebird News

Wednesday, May 10, 2006

TFMail secure replacement for formmail - I needed a good replacement for formmail and found nms-scripts
nms FormMail is a drop-in replacement for Matt Wright's FormMail scrip
is recomended on the Matt Wright's scripts page as an secure and better written FormMail script

But what i will test today is something new TFMail (improved Form Mail) With that script page/encoding for text message can use UTF-8 for form fields and there are more options in the configuration area.

tar -zxvf tfmail.tar.gz

cd tfmail

vi .htaccess
Order Deny,Allow
Deny from all

copy the file into your cgi-bin

cp ../

vi default.trc
complete the recipient field with your email address

cd ../

In my case was '/example/cgi-bin/tfmail'

MAILPROG '/usr/sbin/sendmail -oi -t'

chown apache.apache (in case you run it with suexec under apache or nobody user)

create an html form like for the formmail script (without recipient field)

< action="" method="POST" name="test">

< type="text" name="contact" size="40">

Test the contact script
Post a Comment