| Support Home > VPS2 > Administration > vinstall > PGP Formmail > | Sunday, July 20, 2008 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
PGP FormMail CGIPGP FormMail combines FormMail and PGP into a single, secure tool for sending e-mail from web-based forms (such as an order form). FormMail is a generic WWW form to e-mail gateway, which will parse the results of any form and send them to the specified user. This CGI has many formatting and operational options, most of which can be specified through the form, meaning you don't need any programming knowledge or multiple CGIs for multiple forms. This also makes FormMail the perfect system-wide solution for allowing users form-based user feedback capabilities without the risks of allowing freedom of CGI access. PGP (Pretty Good Privacy), originally developed by Phil Zimmerman, is a high security cryptographic software application for MSDOS, UNIX, VAX/VMS, and other computers. PGP allows people to exchange files or messages with privacy, authentication, and convenience. InstallationConnect to your Virtual Private Server via SSH, su to root, and do the following.
ConfigurationSet the referer information such that only your server will have privileges to use the PGP FormMail CGI. Near the top of the pgp5formmail.pl file you will find the following line:@referers = ('YOUR-DOMAIN.NAME','YOUR.IP.ADD.RESS'); Substitute your domain name and server IP address for the values YOUR-DOMAIN.NAME and YOUR.IP.ADD.RESS respectively. UsageCreate a form that you would like the contents mailed to some address. The form should include the following fields (at the very least):
For example, the HTML source for your form may look like this:
YOUR-USER-ID is the user ID for your public key. If your user ID contains characters that could
be misinterpreted by a web browser, such as '<' and '>', you will want to replace these characters
with the proper escape sequences. For example if your user ID is:
John Q. Smith <12345.6789@compuserve.com>Represent the user ID with the following string (note the < and > escape sequences): John Q. Smith <12345.6789@compuserve.com> |
|
| Home | Site Map | Customer Backroom | Copyright © 1997-2008 AlpineWeb Design |