1. Make sure the permissions are right for the script. Telnet to your unix host and type:chmod 755 mail.cgi2. Make sure the script AND DATABASE was uploaded in ASCII mode. I can't emphasize this enough. If you open the script, and it contains a bunch of ^M characters, you know it was uploaded in binary. This should fix the problem. If it doesn't, type:perl -c mail.cgiPost the response on IRC or the forum if you don't understand it.
If you are using a UNIX system, make sure you specified the correct email address and the correct location for the 'sendmail' program.1. Finding 'sendmail'. The $mailprog variable points to the location of 'sendmail' and is required. Many people run into the problem on the $mailprog variable, because they forget to change this. To find out where its located on your system, use the following command at your unix prompt:
which sendmailThis will tell you where sendmail is on your system. If it says it could not find it, you don't necessarily not have it, just ask your system administrator.The second most common error is that your system doesn't have sendmail. If you don't, then contact your system administrator.
Your database should look like this (but not exactly):username!Full Name!email@host.com!/path/to/home/!Let's say you gave a friend, John Doe, a directory on your system (which we'll call host.com) with the path /home/friend/www/, and his web page is at http://www.host.com/friend and his email address is friend@host.com. Make a new database line that says:friend!John Doe!friend@host.com!/home/friend/www/!Make sure the '!'s are there and there are FOUR of them. They are very important.