No matter how I slice it, I can not ssem to get a bounce to go to either the email sender or anyother address I try listing in the header. Why do emails from php3 & 4 not bounce appropriatly?
Here is a simple test I used:
<?
$recipient = "asdfghjkl@aol.com";
$subject = "A bounce test";
$message = "This is a bounce test";
$bounced = "jimzarvis@vsamarketing.com";
$headers = "From: jimzarvis@vsamarketing.com\r\n";
$headers .= "Errors-To: ".$bounced."\r\n";
$headers .= "Return-Path: ".$bounced."\r\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1\n"; // Mime type
mail($recipient, $subject, $message, $headers);
emails go out just fine but if it is a bounce, the return message always goes to the server root user, never to a user I specify or the sender. All I really want is the email to bounce back to to the sender. I've looked at the php.ini, and the sendmail.cf. I see no abnormalities, although I find sendmail a little obtuse. What is going on? How can I fix this?