What do I need to do to configure FormMail?

The FormMail.pl script does not have to be extensively configured in order to work. There are only two variables in the perl file which you will need to define along with changing the top line of your script to match the location of you Perl interpreter.

Necessary Variables
$mailprog = '/usr/lib/sendmail';
This variable must define the location to your server's sendmail program. If this is incorrect, form results will not be mailed to you.

@referers = ('worldwidemart.com','206.31.72.203');
This array allows you to define the domains that you will allow forms to reside on and use your FormMail script. If a user tries to put a form on another server, that is not worldwidemart.com, they will receive an error message when someone tries to fill out their form. By placing worldwidemart.com in the @referers array, this also allows www.worldwidemart.com, ftp.worldwidemart.com, any other http address with worldwidemart.com in it and worldwidemart.com's IP address to access this script as well, so no users will be turned away.

Your formmail program is now configured.


If you have any suggestions for or problems with this website, please e-mail
support@mercuryd.com