Formmail is giving a 500 error, how do I fix this?
Why is it giving this error?
I ran fixeverything and its still not working.
Formmail is giving a 500 error, how do I fix this?
Why is it giving this error?
I ran fixeverything and its still not working.
What are the permissions to /usr/local/cpanel/cgi-sys/formmail.pl ?
# ll /usr/local/cpanel/cgi-sys/formmail.pl
-rwxr-xr-x 2 root wheel 964876 May 29 08:43 /usr/local/cpanel/cgi-sys/formmail.pl*
Is that correct? Why was the file last updated on 5/29?
Yea, that is correct. When do you get the 500 error message? What does the error log say? The error log should be in /usr/local/apache/logs/error_log
I am having the same problem, my error log says:
[Sun Jun 5 18:59:45 2005] [error] [client 69.209.xx.xx Premature end of script headers: /usr/local/cpanel/cgi-sys/FormMail.cgi
How can fix this?
Do you have SuExec enabled on your server? Are the permissions and ownership of FormMail.cgi set correctly?
It should be set to 755 and owned by root:wheel
What is the md5sum of the FormMail.cgi binary?
74b51d2bc2a3d40006c4b3e77b649344 FormMail.cgi
I have never had any of these problems with FormMail. As a last resort you can try deleting or moving the formmail binaries from /usr/local/cpanel/cgi-sys and doing a cpanel update. This should copy new formmail binaries over to your server with the correct permissions and settings.