ericovk
Verified User
I am experiencing trouble with a php form that I wrote for my customer. The problem is that the fields of "Return-Path", "Received-SPF", "Authentication-Results" and "envelope-from" are being set with [email protected] in stead of [email protected]. (see mail header below)
Google is treating those mails as spam. SPF records seem okay. I checked at mxtoolbox.com:
MXtoolbox results:
The ip address of where the php script is, is the same as the website, and so being set in the A-record (right??)
But the mail headers are telling me Google doesn't like my setup:
I tried to change sendmail_path variable in DA (source), but it looks like it isn't working.
In DA admin > Custom HTTPD Configurations > my customer's account
I set:
Restarted httpd after change of this setting.
It feels like I am really close to the solution, but I cannot find it. Hope someone can help my find my last piece of the puzzle.
Google is treating those mails as spam. SPF records seem okay. I checked at mxtoolbox.com:
Code:
v=spf1 a mx include:anotherserver.eu include:spf.protection.outlook.com ~all
- SPF Record Published Record found
- SPF Syntax Check The record is valid
- SPF Multiple Records Less than two records found
- SPF Record Deprecated No deprecated records found
- SPF Included Lookups Number of included lookups is OK
The ip address of where the php script is, is the same as the website, and so being set in the A-record (right??)
But the mail headers are telling me Google doesn't like my setup:
Code:
Delivered-To: [email protected]
Received: by 10.xx.xx.71 with SMTP id b68csp21147wla;
Tue, 24 Nov 2015 07:12:47 -0800 (PST)
X-Received: by 10.xx.xx.133 with SMTP id q5mr13281060l86.14487967607;
Tue, 24 Nov 2015 07:12:47 -0800 (PST)
Return-Path: <[email protected]>
Received: from myserverurl.com ([95.xx.xx.82])
by mx.google.com with ESMTPS id d129si1xxxx1lfe.84.2015.11.24.07.12.47
for <[email protected]>
(version=TLS1 cipher=AES128-SHA bits=128/128);
Tue, 24 Nov 2015 07:12:47 -0800 (PST)
Received-SPF: temperror (google.com: error in processing during lookup of [email protected]: DNS error) client-ip=95.xx.xx.82;
Authentication-Results: mx.google.com;
spf=temperror (google.com: error in processing during lookup of [email protected]: DNS error) [email protected]
Received: from directadminaccountname by myserverurl.com with local (Exim 4.76)
(envelope-from <[email protected]>)
id 1a1FGw-0003Al-Tm
for [email protected]; Tue, 24 Nov 2015 16:12:46 +0100
To: [email protected]
Subject: Subject set in php mail script
X-PHP-Originating-Script: 534:send.php
MIME-Version: 1.0
Content-Type: text/html; charset=iso-8859-1
From: My customers company name <[email protected]>
Message-Id: <[email protected]>
Sender: <[email protected]>
Date: Tue, 24 Nov 2015 16:12:46 +0100
I tried to change sendmail_path variable in DA (source), but it looks like it isn't working.
In DA admin > Custom HTTPD Configurations > my customer's account
I set:
Code:
Restarted httpd after change of this setting.
It feels like I am really close to the solution, but I cannot find it. Hope someone can help my find my last piece of the puzzle.
Check answer #7 for the solution
Last edited: