email - Mail sent "on behalf of" when using PHP Pear -
i using pear send mails our server. however, email clients (most importantly gmail) "mail received nobody@server on behalf of john doe". causes this? php or server config itself?
with headers set:
$headers["from"] = john doe<johndoe@example.com>; $headers["return-path"] = john doe<johndoe@example.com>; $headers["sender"] = john doe<johndoe@example.com>;
however, when e-mail headers of actual mail arrived, see:
return-path: <nobody@server> received: nobody server local (exim 4.69) (envelope-from <nobody@server>) id 1thn0y-0001yy; tue, 25 jan 2011 11:48:46 -0600 from: john doe<johndoe@example.com> sender: nobody <nobody@server> date: tue, 25 jan 2011 11:48:46 -0600
so except field, other header settings ignored...! do?
what seeing envelope headers being generated exim. need change configuration, or send differently around this. normal sendmail, there few simple commandline switches specify, , imagine same exim.
Comments
Post a Comment