Ray_Bman
02-24-2003, 05:52 AM
Hi, hope you can help.
I am using nms_formmail and have been getting this message:
APPLICATION ERROR
An error has occurred in the program
close sendmail pipe failed, mailprog=[/usr/sbin/sendmail -oi -t] at /var/www/cgi/processor2.cgi line 646
Note: I renamed formmail to processor2, just to help with securtiy.
I went to line 646, I think I counted correctly, but don't know what to look for.
Any suggestions?
Thanks in advance,
Ray
www.brotherhoodmusic.com
Below is my config. settings for perl and code for form:
USER CONFIGURATION SECTION
# --------------------------
# Modify these to your own settings. You might have to
# contact your system administrator if you do not run
# your own web server. If the purpose of these
# parameters seems unclear, please see the README file.
#
BEGIN
{
$DEBUGGING = 1;
$emulate_matts_code= 1;
$secure = 1;
$allow_empty_ref = 1;
$max_recipients = 2;
$mailprog = '/usr/sbin/sendmail -oi -t';
$postmaster = 'webadmin@brotherhoodmusic.com';
@referers = qw(www.brotherhoodmusic.com);
@allow_mail_to = qw(brotherhoodmusic@attbi.com);
@recipients = ();
%recipient_alias = ();
@valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT);
$locale = '';
$charset = 'iso-8859-1';
$date_fmt = '%A, %B %d, %Y at %H:%M:%S';
$style = '0';
$no_content = 0;
$double_spacing = 1;
$wrap_text = 0;
$wrap_style = 1;
$send_confirmation_mail = 0;
$confirmation_text = <<'END_OF_CONFIRMATION';
Wrom: VOTQNQEMSFDULHP
Subject: form submission
-------------------------------------------------------------
Code for Form:
<form action="/cgi-bin/processor2.cgi" method="post" enctype="multipart/form-data" name="form1" target="_self">
<input type="hidden" name="recipient" value="brotherhoodmusic@attbi.com">
<input type="hidden" name="subject" value="Band Mail">
<input type="hidden" name="required" value="realname,email">
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="10" id="FormTable">
<tr>
<td width="31%"><label><strong><font face="Arial, Helvetica, sans-serif">Your Name:</font></strong></label>
<font face="Arial, Helvetica, sans-serif"> <strong> </strong></font></td>
<td width="69%" valign="top">
<div align="left">
<input name="realname" type="text" size="35">
</div></td>
</tr>
<tr>
<td><label><font face="Arial, Helvetica, sans-serif"><strong>E-mail Address:</strong></font></label> <strong> <font face="Arial, Helvetica, sans-serif"> </font></strong></td>
<td valign="bottom">
<div align="left">
<input name="email" type="text" id="email" size="45" maxlength="45">
</div></td>
</tr>
<tr>
<td valign="middle"><font face="Arial, Helvetica, sans-serif"><strong>Comments: (optional)</strong></font></td>
<td valign="bottom">
<div align="left">
<textarea name="comments" type="text" cols="45" rows="12"></textarea>
</div></td>
</tr>
<tr>
<td> </td>
<td>
<div align="left">
<input name="Submit" type="submit" onClick="MM_validateForm('realname','','R','email','','RisEmail');return document.MM_returnValue" value="Submit">
<input name="Reset" type="reset" id="Reset" value="Reset">
<input type="hidden" name="redirect" value="http://brotherhoodmusic.com/MainPage.htm"> </div></td>
</tr>
</table>
</form>
I am using nms_formmail and have been getting this message:
APPLICATION ERROR
An error has occurred in the program
close sendmail pipe failed, mailprog=[/usr/sbin/sendmail -oi -t] at /var/www/cgi/processor2.cgi line 646
Note: I renamed formmail to processor2, just to help with securtiy.
I went to line 646, I think I counted correctly, but don't know what to look for.
Any suggestions?
Thanks in advance,
Ray
www.brotherhoodmusic.com
Below is my config. settings for perl and code for form:
USER CONFIGURATION SECTION
# --------------------------
# Modify these to your own settings. You might have to
# contact your system administrator if you do not run
# your own web server. If the purpose of these
# parameters seems unclear, please see the README file.
#
BEGIN
{
$DEBUGGING = 1;
$emulate_matts_code= 1;
$secure = 1;
$allow_empty_ref = 1;
$max_recipients = 2;
$mailprog = '/usr/sbin/sendmail -oi -t';
$postmaster = 'webadmin@brotherhoodmusic.com';
@referers = qw(www.brotherhoodmusic.com);
@allow_mail_to = qw(brotherhoodmusic@attbi.com);
@recipients = ();
%recipient_alias = ();
@valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT);
$locale = '';
$charset = 'iso-8859-1';
$date_fmt = '%A, %B %d, %Y at %H:%M:%S';
$style = '0';
$no_content = 0;
$double_spacing = 1;
$wrap_text = 0;
$wrap_style = 1;
$send_confirmation_mail = 0;
$confirmation_text = <<'END_OF_CONFIRMATION';
Wrom: VOTQNQEMSFDULHP
Subject: form submission
-------------------------------------------------------------
Code for Form:
<form action="/cgi-bin/processor2.cgi" method="post" enctype="multipart/form-data" name="form1" target="_self">
<input type="hidden" name="recipient" value="brotherhoodmusic@attbi.com">
<input type="hidden" name="subject" value="Band Mail">
<input type="hidden" name="required" value="realname,email">
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="10" id="FormTable">
<tr>
<td width="31%"><label><strong><font face="Arial, Helvetica, sans-serif">Your Name:</font></strong></label>
<font face="Arial, Helvetica, sans-serif"> <strong> </strong></font></td>
<td width="69%" valign="top">
<div align="left">
<input name="realname" type="text" size="35">
</div></td>
</tr>
<tr>
<td><label><font face="Arial, Helvetica, sans-serif"><strong>E-mail Address:</strong></font></label> <strong> <font face="Arial, Helvetica, sans-serif"> </font></strong></td>
<td valign="bottom">
<div align="left">
<input name="email" type="text" id="email" size="45" maxlength="45">
</div></td>
</tr>
<tr>
<td valign="middle"><font face="Arial, Helvetica, sans-serif"><strong>Comments: (optional)</strong></font></td>
<td valign="bottom">
<div align="left">
<textarea name="comments" type="text" cols="45" rows="12"></textarea>
</div></td>
</tr>
<tr>
<td> </td>
<td>
<div align="left">
<input name="Submit" type="submit" onClick="MM_validateForm('realname','','R','email','','RisEmail');return document.MM_returnValue" value="Submit">
<input name="Reset" type="reset" id="Reset" value="Reset">
<input type="hidden" name="redirect" value="http://brotherhoodmusic.com/MainPage.htm"> </div></td>
</tr>
</table>
</form>