Linode Forum
https://forum.linode.com/

Exim email localhost.localdomain
https://forum.linode.com/viewtopic.php?f=11&t=8636
Page 1 of 1

Author:  aot2002 [ Sat Mar 31, 2012 3:39 pm ]
Post subject:  Exim email localhost.localdomain

It seems that in this email the FROM: is being changed to "localhost.localdomain".

From: mypersonalemailaddress<mydomainname.com@localhost.localdomain>

Exim is some how rewriting the envelope on me to using this domain?

Any idea's what might be happening?







Delivered-To: mypersonalemailaddress@gmail.com
Received: by 10.112.9.66 with SMTP id x2csp32962lba;
Sat, 31 Mar 2012 12:29:53 -0700 (PDT)
Received: by 10.229.137.144 with SMTP id w16mr1175818qct.8.1333222192567;
Sat, 31 Mar 2012 12:29:52 -0700 (PDT)
Return-Path: <apache@localhost.localdomain>
Received: from mydomainNAME.com (mydomainNAME.com. [97.107.128.**])
by mx.google.com with ESMTPS id m16si5712730qct.73.2012.03.31.12.29.52
(version=TLSv1/SSLv3 cipher=OTHER);
Sat, 31 Mar 2012 12:29:52 -0700 (PDT)
Received-SPF: neutral (google.com: 97.107.128.** is neither permitted nor denied by best guess record for domain of apache@localhost.localdomain) client-ip=97.107.128.**;
Authentication-Results: mx.google.com; spf=neutral (google.com: 97.107.128.** is neither permitted nor denied by best guess record for domain of apache@localhost.localdomain) smtp.mail=apache@localhost.localdomain
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
by mydomainNAME.com with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.63)
(envelope-from <apache@localhost.localdomain>)
id 1SE3zj-0008T6-RK
for mypersonalemailaddress@gmail.com; Sat, 31 Mar 2012 12:29:51 -0700
Received: (from apache@localhost)
by localhost.localdomain (8.13.8/8.13.8/Submit) id q2VJTpbB032554;
Sat, 31 Mar 2012 12:29:51 -0700
Date: Sat, 31 Mar 2012 12:29:51 -0700
Message-Id: <201203311929.q2VJTpbB032554@localhost.localdomain>
To: mypersonalemailaddress@gmail.com
Subject: mypersonalemailaddressING
From: mypersonalemailaddress<mydomainname.com@localhost.localdomain>
Reply-To: noreply@mydomainNAME.com
X-Mailer: PHP/5.1.6MIME-Version: 1.0
Content-Type: text/html; charset=ISO-8859-1


This is just a mypersonalemailaddress.

Author:  keefo [ Mon Apr 30, 2012 6:46 pm ]
Post subject:  Re: Exim email localhost.localdomain

aot2002 wrote:
It seems that in this email the FROM: is being changed to "localhost.localdomain".

From: mypersonalemailaddress<mydomainname.com@localhost.localdomain>

Exim is some how rewriting the envelope on me to using this domain?

Any idea's what might be happening?




My best guess is you could do this in runtime.
I have same problem before(but i use Postfix not Exim). I send email through php script

$from = youremail@yourdomain.com
$mail = new PHPMailer();
$mail->From=$from;
$mail->Sender=$from;
$mail->AddCustomHeader("Reply-to:$from");

these lines fix my problem.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/