T
tutt
Guest
I get this error in a virtual host's web error log when trying to use sendmail via Perl (or qmail-inject) to send mail via a script over the web (CGI):
[Sun Aug 13 20:51:52 2006] [error] [client xx.67.68.120] qmail-inject: fatal: unable to exec qq (#4.3.0), referer: http://xxxxxx.net/proofing/index2.cgi
[Sun Aug 13 20:54:39 2006] [error] [client xx.67.68.120] qmail-inject: fatal: unable to exec qq (#4.3.0), referer: http://xxxxxnet/proofing/index2.cgi
However, if I login via SSH as root or even a non-root user, i can execute a Perl script and have it send mail just fine. The problem only occurs when accessing the script over the web.
I DO have MailWasher Server installed on the machine, which did replace the qmail-conduit file with its own version, but I am doubting that it is related. Why am I unable to send email via CGI scripts over the web?
[Sun Aug 13 20:51:52 2006] [error] [client xx.67.68.120] qmail-inject: fatal: unable to exec qq (#4.3.0), referer: http://xxxxxx.net/proofing/index2.cgi
[Sun Aug 13 20:54:39 2006] [error] [client xx.67.68.120] qmail-inject: fatal: unable to exec qq (#4.3.0), referer: http://xxxxxnet/proofing/index2.cgi
However, if I login via SSH as root or even a non-root user, i can execute a Perl script and have it send mail just fine. The problem only occurs when accessing the script over the web.
I DO have MailWasher Server installed on the machine, which did replace the qmail-conduit file with its own version, but I am doubting that it is related. Why am I unable to send email via CGI scripts over the web?