Scripts using Sendmail

aushost

Verified User
Joined
Oct 26, 2003
Messages
32
Location
Western Australia
I have three servers using the DA control panel. When my customers try to use cgi or php scripts for form mail through sendmail there are problems. Other servers we have with CPanel there is no problem at all. Is there something missing in DA or can't these scripts be used on sites with DA? I noted in other posts that the path to sendmail is /usr/sbin/sendmail, is the path to perl /usr/lib/perl? Your help would be appreciated.
 
it's probably a permissions error. if you could post any error messages from the script or from your logs that would help us determine what is going on.

btw DA boxes use exim not sendmail, but there is a symlink for /usr/bin/sendmail to the exim binary.
 
Perl is /usr/bin/perl too. That may or may not need to be corrected; it depends on your box's set up.

Phi1. :)
 
Where will I find the error logs? also all of the customers receive a 500 error page when trying to execute the sendmail script.Thanks for the quick response.
 
ensure they uploaded the script in ASCII mode and not binary. is the script set to executable (from ssh: chmod +x <script name>) or you can set it +x from your FTP client (mode 755 should do).

that should most likely fix your problem
 
Back
Top