A separate directory is used for security reasons. The processing of the data is controlled by the form-spec file. In general the lines are executed in the order they occur in the file. The order shown above is a typical one. Matches are case-sensitive.
Blanks are significant.
Unrecognized lines are ignored, so you can put comments in. These environment variables are set by the web server, as defined in the CGI specification. There are two ways to specify what goes in the mail message. A mail template file has the usual file name, but ends in .form-mail. The template file should contain the entire email message, complete with all headers.