Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#85044 - 02/04/2002 23:12 Webpage:Formmail Help?!?!?!
justinlarsen
old hand

Registered: 31/12/2001
Posts: 1109
Loc: Petaluma, CA
is anyone familar with the formail.pl script, its a prety common one, im having maor issues with it need a lil advice on getting it working right.
_________________________
---- Justin Larsen

Top
#85045 - 02/04/2002 23:14 Re: Webpage:Formmail Help?!?!?! [Re: justinlarsen]
robricc
carpal tunnel

Registered: 30/10/2000
Posts: 4931
Loc: New Jersey, USA
I use it. What is your problem?
_________________________
-Rob Riccardelli
80GB 16MB MK2 090000736

Top
#85046 - 03/04/2002 01:15 Re: Webpage:Formmail Help?!?!?! [Re: robricc]
justinlarsen
old hand

Registered: 31/12/2001
Posts: 1109
Loc: Petaluma, CA
well i set it up right as far as i know.. and i just dont get an email.. im not super familar with the server but i ran a check on it to find the path, but nothing.. can i check out the website u use it on and see if i can get it to work by looking at it.
_________________________
---- Justin Larsen

Top
#85047 - 03/04/2002 07:02 Re: Webpage:Formmail Help?!?!?! [Re: justinlarsen]
robricc
carpal tunnel

Registered: 30/10/2000
Posts: 4931
Loc: New Jersey, USA
Here's the site:
http://www.tslight.com/catalog.html

What is your server (Linux, Windows, etc.)? I think Formmail.pl will only run on a server with sendmail installed. If you are using a Unix-like OS, type 'which sendmail' at the prompt. If you get nothing back, you must install it.
_________________________
-Rob Riccardelli
80GB 16MB MK2 090000736

Top
#85048 - 03/04/2002 09:17 Re: Webpage:Formmail Help?!?!?! [Re: robricc]
justinlarsen
old hand

Registered: 31/12/2001
Posts: 1109
Loc: Petaluma, CA
oh no im certain its installed becuase thats the same command i got and its in the usr/sbin/sendmail, but i just never get the results mailed to me.
_________________________
---- Justin Larsen

Top
#85049 - 03/04/2002 09:21 Re: Webpage:Formmail Help?!?!?! [Re: justinlarsen]
justinlarsen
old hand

Registered: 31/12/2001
Posts: 1109
Loc: Petaluma, CA
you think i coudl maybe see your formail.pl file.. i really cant figure out whats wrong everything else looks good to me. thanks
_________________________
---- Justin Larsen

Top
#85050 - 03/04/2002 09:28 Re: Webpage:Formmail Help?!?!?! [Re: justinlarsen]
robricc
carpal tunnel

Registered: 30/10/2000
Posts: 4931
Loc: New Jersey, USA
#!/usr/bin/perl

##############################################################################
# FormMail Version 1.9 #
# Copyright 1995-2001 Matt Wright [email protected] #
# Created 06/09/95 Last Modified 08/03/01 #
# Matt's Script Archive, Inc.: http://www.worldwidemart.com/scripts/ #
##############################################################################
# COPYRIGHT NOTICE #
# Copyright 1995-2001 Matthew M. Wright All Rights Reserved. #
# #
# FormMail may be used and modified free of charge by anyone so long as this #
# copyright notice and the comments above remain intact. By using this #
# code you agree to indemnify Matthew M. Wright from any liability that #
# might arise from its use. #
# #
# Selling the code for this program without prior written consent is #
# expressly forbidden. In other words, please ask first before you try and #
# make money off of my program. #
# #
# Obtain permission before redistributing this software over the Internet or #
# in any other medium. In all cases copyright and header must remain intact #
##############################################################################
# ACCESS CONTROL FIX: Peter D. Thompson Yezek #
# http://www.securityfocus.com/archive/1/62033 #
##############################################################################
# Define Variables #
# Detailed Information Found In README File. #

# $mailprog defines the location of your sendmail program on your unix #
# system. #

$mailprog = '/usr/lib/sendmail';

# @referers allows forms to be located only on servers which are defined #
# in this field. This security fix from the last version which allowed #
# anyone on any server to use your FormMail script on their web site. #

@referers = ('tslight.com','216.179.112.6');

# @recipients defines the e-mail addresses or domain names that e-mail can #
# be sent to. This must be filled in correctly to prevent SPAM and allow #
# valid addresses to receive e-mail. Read the documentation to find out how #
# this variable works!!! It is EXTREMELY IMPORTANT. #
@recipients = ('^[email protected]');

# ACCESS CONTROL FIX: Peter D. Thompson Yezek #
# @valid_ENV allows the sysadmin to define what environment variables can #
# be reported via the env_report directive. This was implemented to fix #
# the problem reported at http://www.securityfocus.com/bid/1187 #

@valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_USER_AGENT');

# Done #
##############################################################################
_________________________
-Rob Riccardelli
80GB 16MB MK2 090000736

Top
#85051 - 03/04/2002 10:31 Re: Webpage:Formmail Help?!?!?! [Re: justinlarsen]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Try running ``mailq'' (or its equivalent, ``sendmail -bp'', if mailq doesn't exist for some reason) and see if you see your emails sitting in sendmail's queue. If you do, then you need to fix sendmail. If not, check root's mail and the mail of whatever user is running Formmail (should be the same user that's running your web server) and see if you can see any bounces. If so, then you still need to fix sendmail. If neither of these are true, then you probably need to fix Formmail.
_________________________
Bitt Faulk

Top
#85052 - 04/04/2002 04:37 Re: Webpage:Formmail Help?!?!?! [Re: robricc]
justinlarsen
old hand

Registered: 31/12/2001
Posts: 1109
Loc: Petaluma, CA
hey rob thanks.. i still didt get it working im going to try another server, do u think if all else fails i could host it on your site in a subfile. its only 23kb total including pictures. and will probably only have 20mbs of trsver a month, its a servey for my moms friend, just a one pager with a thank you submission resonde, i would put a link to you page as well, i just cant seem to get this thing working on the server i have now.. thanks again
_________________________
---- Justin Larsen

Top
#85053 - 04/04/2002 07:09 Re: Webpage:Formmail Help?!?!?! [Re: justinlarsen]
robricc
carpal tunnel

Registered: 30/10/2000
Posts: 4931
Loc: New Jersey, USA
I'm sorry Justin, but I don't own the bandwidth personally (owned by the business I work for). For cheap web hosting with good features take a look at Cyberwings. They have plans that cost less than $10 per year!
_________________________
-Rob Riccardelli
80GB 16MB MK2 090000736

Top
#85054 - 04/04/2002 07:18 Re: Webpage:Formmail Help?!?!?! [Re: justinlarsen]
robricc
carpal tunnel

Registered: 30/10/2000
Posts: 4931
Loc: New Jersey, USA
Justin, I am re-thinking what I just said. I could probably just host the script and tell it to accept forms from your website. Send me a private message with your website and the email address your form gets mailed to.
_________________________
-Rob Riccardelli
80GB 16MB MK2 090000736

Top