For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > January 2006 > Problem with Matt Wright's formmail.cgi









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problem with Matt Wright's formmail.cgi
c.2

2006-01-10, 3:56 am

I have a few problem's with Matt's script for formmail available at
http://www.scriptarchive.com

I just can't get the
@recipients = &fill_recipients(@referers);
to work if I replace it with:
@recipients = ('^myname\@mydomain\.com');

It bombs every time and dumps the test to the postmaster's mailbox.

The second problem is trying to add additional form fields.
The default script has "subject" "email" "realname" not to forget the
body

I'd like to add: companyname, address, city, state, zipcode and phone.

I dropped a note to Matt, asking if there was an area for support, but
I don't expect an answer.

The server I'm on now prefers I use this script.

Any help would be greatly appreciated!

Cordially,
Gerry
Paul Lalli

2006-01-10, 3:56 am

c.2 wrote:
> I have a few problem's with Matt's script for formmail available at
> http://www.scriptarchive.com


STOP

Read that actual site. Even Matt Wright himself now suggests you DO
NOT USE those scripts. They were written years ago, and are full of
security holes and spam openings. DO NOT USE Matt's Scripts. EVER

For drop-in replacements for all of Matt's original scripts, check out
"NOT Matt's Scripts" at http://nms-cgi.sourceforge.net/about.html

Paul Lalli

c.2

2006-01-10, 3:56 am

On 26 Dec 2005 04:39:32 -0800, "Paul Lalli" <mritty@gmail.com> wrote:

>c.2 wrote:
>
>STOP
>
>Read that actual site. Even Matt Wright himself now suggests you DO
>NOT USE those scripts. They were written years ago, and are full of
>security holes and spam openings. DO NOT USE Matt's Scripts. EVER
>
>For drop-in replacements for all of Matt's original scripts, check out
>"NOT Matt's Scripts" at http://nms-cgi.sourceforge.net/about.html
>
>Paul Lalli


Thank you Paul. (I think.)
It looks a hell of a lot more complicated, but I'll give it a go.
Problem is I needed the script several days ago.

short history; I have one client that had a third party write a script
for use on a windows server. I had to take that client off the windows
server because the server was continually crashing as of late. The
site is now on a linux server. The new site recommended and installed
the script of Matts I can't make it work with the fields I need and by
hiding the destination address in the formmail.cgi

Are you intimately involved with NMS project?

Cordially,
Gerry


Paul Lalli

2006-01-10, 3:56 am

c.2 wrote:
> On 26 Dec 2005 04:39:32 -0800, "Paul Lalli" <mritty@gmail.com> wrote:
[color=darkred]
> Thank you Paul. (I think.)
> It looks a hell of a lot more complicated, but I'll give it a go.


Yes, correct software is often more complicated than incorrect
software. Shocking, I know.

> Problem is I needed the script several days ago.


Then you failed to plan. That is not a valid excuse for compromising
your client's system by installing buggy and security-holed scripts.

> short history; I have one client that had a third party write a script
> for use on a windows server. I had to take that client off the windows
> server because the server was continually crashing as of late. The
> site is now on a linux server. The new site recommended and installed
> the script of Matts


Please let me know what server / host this is so I know to never
recommend them to anyone else?

> Are you intimately involved with NMS project?


No. I am just aware enough to know never to use MSA.

Paul Lalli

c.2

2006-01-10, 3:56 am

On 26 Dec 2005 09:43:57 -0800, "Paul Lalli" <mritty@gmail.com> wrote:

>c.2 wrote:
>
>
>Yes, correct software is often more complicated than incorrect
>software. Shocking, I know.
>
>
>Then you failed to plan. That is not a valid excuse for compromising
>your client's system by installing buggy and security-holed scripts.
>


Yes you could say that I failed to plan. The new server being linux
and the old server being windows based, I just totally forgot about
the formmail.

>
>Please let me know what server / host this is so I know to never
>recommend them to anyone else?


The move was rather hasty, and I still have two other domains with the
host that had the problems so I dare not put out the name yet.

>
>
>No. I am just aware enough to know never to use MSA.
>
>Paul Lalli



I'll be trying to get it working tonight, it looks like it will do the
trick except for the extra fields I need.

Cordially,
G
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com