I figured that the culprit is forking or executing to Sendmail, but why does
it work on all our other test servers, and hangs on the Solaris box running
Apache?

This is one version:
open(MAIL, "| /usr/lib/sendmail -t") || die "No sendmail available: $!\n";
select(MAIL); $| = 1;
print MAIL "To: $rademail\n";
print MAIL "From: $email\n";
print MAIL "Subject: $subject\n\n";
print MAIL "$salutation\n";
print MAIL ".\n";
close(MAIL);

And I've used:
open MAIL, "| /usr/lib/sendmail -t -i" or die "Could not open mail $!";
print MAIL <<EOF;
To: $rademail
Reply-To: $rademail
Subject: $subject

This is a test message body.
EOF
close MAIL;

When I run it in a shell the process takes ages, but finally reports "No
recipient addresses found in header". So why did this work on a Linux box
and not a Solaris box.

Thanks heaps,
Steven


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to