NEW FORMMAIL SCRIPT
We are happy to announce a new formmail.pl script that will help us to maintain a more secure server
environment for our clients. We have rewritten our formmail.pl script to plug a security hole in the
previous script that would allow someone to send spam through. This new script will stop spamming from
our servers using the formmail.pl as an access to our sendmail. This only applies to customers who want their mail
sent to an address outside their doamin. We will roll the new formmail script on
Wednesday July 10, 2002.
Our new script will introduce the following changes to
the way formmail works on the servers and with your forms:
If the script is called from the global cgi-sys,
it checks to see if any of the recipients domains
are on the local machine first. If they are, then
the information in the form is sent to the recipients
email address. If you want to send the information
in the form to an "offsite" email address, you will
have to create a link from the cgi-bin to the global formmail.pl script.
You then can create a .recips file in your cgi-bin directory.
It is a "hidden" file, which means that it will not show up in
your File Manager but "can" be created and accessed through your
File Manager. You will be able to enter "offsite" email addresses
in this file. If you are sending the information on the form to
several different email addresses and one of them is either "off"
the server or not listed in the .recips file, none of the email
addresses listed as recipients will receive the information on the form.
All the email addresses used as recipients on the form must either be on the server or listed in the .recips file.
Step by Step instructions for sending formmail to an offsite email address:
1. Login to your account using a SSH Client.
2. cd /home/user/www/cgi-bin (Replace "user" with your domains username)
3. Create a link from your users cgi-bin to the global cgi-bin using the following commands:
ln -s /home/httpd/cgi-bin/formmail.pl formmail.pl
4. In the users cgi-bin create a .recips file:
vi .recips (the . dot indicates that this will be a hidden file)
5. Type "i" (to get into insert mode)
6. Enter the email addresses (one address per line)
Please Note: The email addresses should match the email addresses in the recipient field on your form.
7. Hold down the "Shift" key and hit colon ( you will see ":")
8. Then type "wq" to save the file. (e.g. ":wq")
9. Setup your form using the addresses you placed in the .recips file
|
|
|