Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Dennis Johansen on December 19, 2002, 12:16:09 AM

Title: formmail.pl
Post by: Dennis Johansen on December 19, 2002, 12:16:09 AM
Hi there,

I’m running a webpage where I need formmail.pl in the /cgi-bin dir. But I can’t get it to work with qmail. I runs fine with sendmail?

Anyone got a suggestion?

It’s a HUGE problem.

/ Dennis Johansen
Title: Re: formmail.pl
Post by: Greg on December 19, 2002, 12:22:51 AM
We had a similar problem using the formail.pl. After much pain we setup and script using PHP3 and it was so easy and much more secure.

Forget the CGI script and use PHP3!

Greg
Title: Re: formmail.pl
Post by: Steen Loecke on December 19, 2002, 01:05:05 AM
> I’m running a webpage where I need formmail.pl in the
> /cgi-bin dir. But I can’t get it to work with qmail. I runs
> fine with sendmail?

Hi!

PHP is much better than Perl and cgi/pl. It's easy to set up and it's very fast.
If you don't know PHP scripting, then send me your html-form and I'll make you a formmail.php :)

Cheers
Steen
Title: Re: formmail.pl
Post by: Henrik on December 21, 2002, 01:27:04 AM
You should try php instead. I have a link here: http://www.myezserver.com/downloads/mitel/howto/phpformmail-howto.html

/Henrik
Title: Re: formmail.pl
Post by: Darrell May on December 22, 2002, 09:04:29 AM
Henrik wrote:
>
> You should try php instead. I have a link here:
> http://www.myezserver.com/downloads/mitel/howto/phpformmail-howto.html

The above HowTo is quite old.  It has subsequently been reported that phpformmail creates a potential open mail relay vulnerability.  Due to this security weakness the above HowTo has now been removed.  It is recommended that both the PHP and perl variant of formmail not be used anymore.

Possibly someone may suggest a more secure alternative?

Darrell