Did as you suggested below, Nick, with the same result.
The simple test below works fine; FormMail produces the error message "close sendmail pipe failed, mailprog=[/usr/sbin/sendmail -oi -t] at nmsFormMail_LLv2.cgi line 1305."
The expanded error explanation in sendmail's response is "A message that you sent contained no recipient addresses,and therefore no delivery could be attempted." This happens even though the html form supplies a recipient. (I even tried defining the @recipients variable in the script--same response.)
I'm still hazy on what's causing the problem. Can you help, please?
At 6:38 PM +0000 3/27/03, Nick Cleaton wrote:
>On Tue, Mar 25, 2003 at 11:48:35AM -0800, Lee Lukehart wrote:
>> Hi Nick, thanks for the response.
>> The simple script, called directly via URL (installed <http://www.emeraldhills.org/cgi-bin/test_sendmail_now.cgi> is:
>> print "Content-type: text/html\n\n";
>> open (MAIL, "|/usr/sbin/sendmail -oi -t");
>> print MAIL "To: lee\@vitalzones.com\n";
>> print MAIL "From: webweaver\@emeraldhills.org\n";
>> print MAIL "Subject: Sendmail test\n\n";
>> print MAIL "This is a test of sendmail\n";
>> close (MAIL);
>> print "Message sent";
>Please try the simple test script sendmail to webweaver@...,
>so it's sending to the same address as FormMail.
>Sendmail probably logged to /var/log/maillog the reason that it wasn't
>happy with the input that FormMail gave it.