Is the user inputting an email address? Do you have some type of field checking set up so the form won't be emailed unless there is a valid email address? I know that if the user doesn't input an email address, it will say from ts1.myhost.com (in my case), which I'm guessing is what's happening and why it's saying apache. Not sure on that though, but i'd definately check to see if users aren't submitting an email address. Maybe they are and $from just has no value. In which case you may need to use $GET['from'] or $POST['from']
And just a quick note
$header = "From: $from\nReply-To: $from\n";
$header .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1\n";
you have two variables there, $header and $headers. And why not put Reply-to on a new line?
$header = "From: $from\n";
$header .= "Reply-To: $from\n";
$header .= "MIME-Version: 1.0\r\n";
$header .= "Content-Type: text/html; charset=iso-8859-1\n";
Cgraz