SPF passed, DKIM signed and DMARC added but email goes to spam - email

I have configured DKIM, SPF and DMARC correct and from the email headers it seems to be working fine but the emails I sent from my SMTP server are marked as spam. Here is my email headers
Received: from SG2APC01HT253.eop-APC01.prod.protection.outlook.com
(10.163.105.24) by SG2PR03MB1582.apcprd03.prod.outlook.com with HTTPS via
SG2PR06CA0014.APCPRD06.PROD.OUTLOOK.COM; Tue, 7 Feb 2017 02:03:11 +0000
Received: from SG2APC01FT015.eop-APC01.prod.protection.outlook.com
(10.152.250.60) by SG2APC01HT253.eop-APC01.prod.protection.outlook.com
(10.152.251.100) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.2; Tue, 7 Feb
2017 02:03:09 +0000
Authentication-Results: spf=pass (sender IP is 191.101.230.42)
smtp.mailfrom=ezpc.com.my; hotmail.com; dkim=pass (signature was verified)
header.d=ezpc.com.my;hotmail.com; dmarc=bestguesspass action=none
header.from=ezpc.com.my;
Received-SPF: Pass (protection.outlook.com: domain of ezpc.com.my designates
191.101.230.42 as permitted sender) receiver=protection.outlook.com;
client-ip=191.101.230.42; helo= mail.ezpc.com.my;
Received: from BAY004-MC1F48.hotmail.com (10.152.250.55) by
SG2APC01FT015.mail.protection.outlook.com (10.152.250.181) with Microsoft
SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.2 via Frontend
Transport; Tue, 7 Feb 2017 02:03:06 +0000
X-IncomingTopHeaderMarker: OriginalChecksum:B3C91582F4E1A8BEB3081753A75091AB6E10F9554C8EB64EF3F4DBAEBFBBCCAD;UpperCasedChecksum:FDA1A8FF432113AA359CED44F62CC1B29335E24D01725A791958063140028963;SizeAsReceived:1267;Count:16
Received: from mail.ezpc.com.my ([191.101.230.42]) by BAY004-MC1F48.hotmail.com with Microsoft SMTPSVC(7.5.7601.23143);
Mon, 6 Feb 2017 18:03:04 -0800
Received: by mail.ezpc.com.my (Postfix, from userid 48)
id AB46E2213CB; Mon, 6 Feb 2017 21:03:03 -0500 (EST)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.ezpc.com.my AB46E2213CB
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ezpc.com.my;
s=default; t=1486432983;
bh=9v0acwudeB20jRA3DCLi3/n8gPxEJUSqP+DRE97Rs/8=;
h=To:Subject:From:Date:From;
b=Pr71KmBKnlBDX6KEY3PNzaRVqj1njANZe4fVyDI/3a+uNDCqE933329nhyoaeyS2U
c5pbo1szpI2lI5Io9AV5q33w/HeIYnsGvstpM9e/mtpBUeNoYk7ajIeJldSyI1kbGv
AtYp7oGy2ltmDcO4nkwqEBRpkPJr3jwcKhY6Ucys=
Any idea on fixing the problem?

Your ip reputation is neutral (which is good but can be improved)
http://www.senderbase.org/lookup/?search_string=191.101.230.42
As long as all those settings are configured correct, then you should use this form from Microsoft!
https://support.microsoft.com/en-us/getsupport?oaspworkflow=start_1.0.0.0&wfname=capsub&productkey=edfsmsbl3&locale=en-us&ccsid=636225696037961710

Related

Why my website emails go to SPAM box HOTMAIL

We have a small company, we send sometimes few emails.
All these emails are considered as safe emails by all emails provider, only HOTMAIL.
How can i know the reason why HOTMAIL consider our emails as SPAM ?
Understand our Outlook / Hotmail / Office365 Deliverability Issues with X-Forefront-Antispam-Report ?
You can find bellow an exemple of an email classified by HOTMAIL as SPAM :
Received: from HE1EUR04HT080.eop-eur04.prod.protection.outlook.com
(2603:10b6:a03:100::41) by BYAPR17MB2341.namprd17.prod.outlook.com with HTTPS
via BYAPR08CA0028.NAMPRD08.PROD.OUTLOOK.COM; Wed, 5 Dec 2018 10:35:04 +0000
Received: from HE1EUR04FT013.eop-eur04.prod.protection.outlook.com
(10.152.26.59) by HE1EUR04HT080.eop-eur04.prod.protection.outlook.com
(10.152.26.72) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1404.13; Wed, 5 Dec
2018 10:35:03 +0000
Authentication-Results: spf=pass (sender IP is xx.xxx.xx.xx)
smtp.mailfrom=xxxxxxxxxx.com; hotmail.com; dkim=pass (signature was verified)
header.d=xxxxxxxxxx.com;hotmail.com; dmarc=temperror action=none
header.from=xxxxxxxxxx.com;
Received-SPF: Pass (protection.outlook.com: domain of xxxxxxxxxx.com designates
xx.xxx.xx.xx as permitted sender) receiver=protection.outlook.com;
client-ip=xx.xxx.xx.xx; helo=xxxxxxxxxx.com;
Received: from xxxxxxxxxx.com (xx.xxx.xx.xx) by
HE1EUR04FT013.mail.protection.outlook.com (10.152.26.126) with Microsoft SMTP
Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
15.20.1404.13 via Frontend Transport; Wed, 5 Dec 2018 10:35:01 +0000
X-IncomingTopHeaderMarker: OriginalChecksum:AB1002FDAF6A587890EE7D690A8B7C0533694AA27CC8CD5DD9887E9B10F6A6AA;UpperCasedChecksum:2C9C5779BC7CA07579C2ABCCDCC6DC4EF6E1F5707AEA3F3E3B8FB9DB8A5964FE;SizeAsReceived:1060;Count:12
Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP])
by xxxxxxxxxx.com (Postfix) with ESMTPA id 3042C13B6
for <prenom.nom#hotmail.com>; Wed, 5 Dec 2018 10:35:01 +0000 (UTC)
Date: Wed, 05 Dec 2018 10:35:00 +0000
Content-Type: multipart/alternative;
boundary="--=_RainLoop_184_159261189.1544006100"
From: xxxx.xxxx#xxxxxxxxxx.com
Message-ID: <1d5dbc12b0ad9f393b60bdcf281453d4#xxxxxxxxxx.com>
Reply-To: xxxx.xxxx#yahoo.fr
Subject: Mail de test
To: "prenom nom" <prenom.nom#hotmail.com>
X-Spamd-Bar: /
Authentication-Results-Original: auth=pass smtp.auth=xxxx.xxxx#xxxxxxxxxx.com
smtp.mailfrom=xxxx.xxxx#xxxxxxxxxx.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xxxxxxxxxx.com;
s=dkim; t=1544006101;
h=from:reply-to:subject:date:message-id:to:mime-version:content-type;
bh=rUWyfwQa5tHrCBIwEq0ehhhrOAC/x3JYLLdxQgyDPyI=;
b=fevC4RxDsG9+KynrDFzJZtm/NreksALp7vHODFCUspUglru5PsIM0ta0JUCaNpAldMCbpo
Fp7dWa84dYFBnh85l9oV9HFpzHTgCzk/v63Hjw5ggxJJq41e46mlgr3wbdJjb8gDNcE4gc
AV9BATZpIZH8OKpXgtOk53N+laqJRZg=
X-IncomingHeaderCount: 12
Return-Path: xxxx.xxxx#xxxxxxxxxx.com
X-MS-Exchange-Organization-ExpirationStartTime: 05 Dec 2018 10:35:01.9575
(UTC)
X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit
X-MS-Exchange-Organization-ExpirationInterval: 2:00:00:00.0000000
X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit
X-MS-Exchange-Organization-Network-Message-Id: 4730759b-0399-41af-5552-08d65a9d5017
X-EOPAttributedMessage: 0
X-EOPTenantAttributedMessage: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa:0
X-MS-Exchange-Organization-MessageDirectionality: Incoming
X-Microsoft-Exchange-Diagnostics: 1;HE1EUR04FT013;1:f6d7toPjHds79kfjb8F8a92RxuOXFF60QrueiBIAci0rI6sqqY48Bzu8uaNPzyL+FT+X9g/kG7bzmFi2V3HyDeZeMuGeuUuP9oSB16V/YB9PGJWjCgb0fJhRv68sm8lk
X-Forefront-Antispam-Report: EFV:NLI;
X-MS-Exchange-Organization-AuthSource:
HE1EUR04FT013.eop-eur04.prod.protection.outlook.com
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-PublicTrafficType: Email
X-MS-UserLastLogonTime: 12/5/2018 10:31:45 AM
X-MS-Office365-Filtering-Correlation-Id: 4730759b-0399-41af-5552-08d65a9d5017
X-Microsoft-Antispam:
BCL:0;PCL:0;RULEID:(2390098)(5000110)(711020)(4605076)(610169)(650170)(651021)(8291501071);SRVR:HE1EUR04HT080;
X-Microsoft-Exchange-Diagnostics:
1;HE1EUR04HT080;3:DybF6SUpFveGAxx8na3Ize3Nkt11joOtHTmP4K19riue2nfmCDbAyWtEYCFb39NFLsV0PICKRCZizik1veZYKZZAcyTwiQmwBg5eXjW0fGglhIgvt9/rQ5isFDOhdIvBHmH3ibQzaj7ZwH7Iir5xLlUh6KuQjK4wqbZ70xNx7L9xtCkl1KIZn9nyqt1CvAT8C1eCok0fU+ox4kGY8NzL87N2fRqer12pTDSEatEWoGcBosOnaKKbfJQZ8xn3738k09JlzAajuEghTgVNfAM3qpJyVk3ZD4FWpYcStFs23qSty17srM/Tayf11c8uB46uix5Y7KnAXa9rNRUfMONZBA==;25:/SJAdxq4u4Qs1hsqopWz0P0KJHrriehmS29nQXtMgNdyC/cclr2pHh4viLne8HpxsTcz6FrSKBu+mJqB84LON4ctSh+BHbxE3WmdWSndOZn+1S4dDARLgb+uzcn/JbOCCaYuIG98V+QZ8fbqqyYkamo9JsOmiGCMTQIDAQD/cJrgvbrRUfSu6gkYhzYAn4vP2SwFf5pxMZ4WrWMmc0bNrPEUOSvG6VFM5JlGO2Os6dlpTbb6TTRv2l7y9BfvANVnXEwB53LOCclUNVKFf6+2fz9bKKw+VIy5/swsy2z+h8n/WPKoqM92Mpdnoq6LFItoTKRqWwQDqvv2F3nO0OKQmA==;31:dOrm256zuEt/hE/ekHqoTmIFEXc3zHxEZayzOO42bqB36gH75boqRurWRKHauLRLvCYkTvXymjaXQsUJKVXs80ws5rCMaT7QiwMplBdg0VWdDFZvwjh/tt2Nex/4a7uaO8g5M9D8rS0CXCrpSVzTp+Jga6sxIzEMgtq3OlmJIhulvmOsoSld1HvPcOGpXMeRZZD2PsotmP2Tn9ElHF5AmGU4ViCtza4/J9FB+E4A2W0=
X-MS-TrafficTypeDiagnostic: HE1EUR04HT080:
X-MS-Exchange-EOPDirect: true
X-Sender-IP: xx.xxx.xx.xx
X-SID-PRA: xxxx.xxxx#xxxxxxxxxx.COM
X-SID-Result: PASS
X-MS-Exchange-Organization-PCL: 2
X-Exchange-Antispam-Report-CFA-Test:
BCL:0;PCL:0;RULEID:(444111751)(6300000075)(1201097)(52401380)(52601095)(52505095)(52406095)(52305095)(52206095)(88860335)(82015058);SRVR:HE1EUR04HT080;BCL:0;PCL:0;RULEID:;SRVR:HE1EUR04HT080;
X-Microsoft-Exchange-Diagnostics:
1;HE1EUR04HT080;4:bokg6rTSYvxEH9tWbCTyUYr0q5d15BPnt3b/6NKV1aU47utLwxgQ3Uen6CF95MioWJ7vvtnrkzk/fZP/MnWwvPlt2LRJsAvjCcM+DhRB4Xe2oCPUZzR/2mfZz5VsEfraEDaZ8s4GsoKPIKsJ4B6Y9xz+xUec4kc3cmIHh5SEfv+AXcHtdM1TKdA4usesZy47wEFH2rlFaKJEJxViqyBx/+26SDBbLD9PQP2hUUDWn8YbKAzJz7kR23nsBU5mvnQitvIfh5Bt3+zV2wg1zwahMA==;6:l6ijCjczte/M+2grONf/7pGyIkA1XNf4ID15Esb3yess1e9qhWDPeZwXlbH4hdWZK9DAagKkup3nQoQmaHFWM1UyZrK/yXBDWwbu2CYkI0LYD0/x2bGkNcnFXUuZvjEwhBI276G4Q9s1niDBXrLyCy6nrroKStX+XVdwQJRN+SOmn1nRBk4ve83RRKErll45NODrJ1gs+ohoPuPKKE+WsiHVqPqXc8/tAYQ2+6rDDDuSe1JW8tbwG6GPQTgmTB4VCZCmDHE+OYv/AwUI9E5/tvjDaR+AUGfmxkNEfAGy5FaGIpPyc5ooj2Ccoc78uJ1uSJSG0PaRkC9BpBqzDAyDCUMtNiYKxkmT/BX7G7izvr4YSz3/2IjYroc3BRaBgR1ysgDdJaNQxMdgvdSLf+QT7GAjoPlzHjg5kdbhboJ21LA7FUbD38w9sCeLL/quipitUon1NWPG86s5Sqvk2Dlp0A==;5:Swo0LieNeMdG7TItYBICIBs0+ruylDAdbXBR0mvw8RBGaL8cuIubr/SDBiw8BowyZ1QpMwH8zEyR1DPU0K18Po7sIcdApik4BOkjw3sVVlUr8Q0i6hFhkjWbbhCTcJLzQ2vHbiB9TubWWw5v9b1bNTvzvsYSCsmct8RLj7klb+Y=
X-Microsoft-Exchange-Diagnostics:
1;HE1EUR04HT080;7:/enTEOqI+9/YUuE8ZQ9zGk1y/OeSFzGo3DLWTFNT1Df2M9R68+jdV3s+KWz8wPKd8cpou9+NhTU/Ly60rQh2wB1nSL9Z+W+mqZLXhdfPmN+sIfwIAOXAY74iQZfUMqyY5fDb4d5X13fGQzKO8ZFERQ==
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Dec 2018 10:35:01.8638
(UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 4730759b-0399-41af-5552-08d65a9d5017
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-FromEntityHeader: Internet
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg:
c001924d-3e68-4f40-89c2-901a49278da7
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR04HT080
X-MS-Exchange-Transport-EndToEndLatency: 00:00:02.1382293
X-MS-Exchange-Processed-By-BccFoldering: 15.20.1404.009
X-Microsoft-Exchange-Diagnostics:
1;BYAPR17MB2341;27:WzLF8uqdvJVnu4T9cEu69DvAmSYq5iH/pHwrHXwIpXlnvNE4YIOzmmcexyxApqb4mygEC4ri6vNS095zA9lD+HsJyGDlK7UPUWAaQzIxM32oVjRuf6gKM+HN6e0fSZ9Bes900pfhufceV5TD3RyFTczEgE+rYmRxjKWcWr2L9jInBXy0DsJyUbYMGn2F/rGKlTpWFbva4M2R8UtxFB5aqaTfC5eTKsCUJ4q8ICVCPBd2RmPLWm/Kg6eKH4NOhsr0Uwznp24MCk5dl9QfUrec/K4QMsSG3VLtksdTwUe0dJE5QJwo3JSv9hYocobTUxm7l57Gkj5OyKrCdguMjyfYw8P1mDhqW63zg5rCA1rMKNlSrO8fndJ+ISQ0isjRQkHrtKHcKkJu2S35Z6yzu348GbQQoKWiYsqbREclISUnkSXs1FHgGQKwE/3z9RqSQ39cAFx4yl5zDeotk2sRMJANJ48z853v+LFsNVvCik2uVDTcuz8wlBnkWQtFpWrlTBfsUxXlTYvKSqgQfGCLYUIfcQ55A3CBlTCqUpV87rLkV0rLGQzjCuXWORHZplmm6RlETzMDbhqh2yDCce9ZR1iBsOzvvJNVPVW4DZL5odgWAFTYZeH5wm0TqcGgGsG6RCWRPvWo0+8hDf6pA62rZaPQja3HGxGsKwkhfDWXMzEAdwUtRXcDjSrBaghKPmnxokg6Hc+CjPOkGqZQvZnQ4DeyHqxVugL97+ZCfzbRuFv4rxU=
X-Microsoft-Antispam-Mailbox-Delivery:
abwl:0;wl:0;pcwl:0;kl:0;iwl:0;dwl:0;dkl:0;rwl:0;ucf:0;jmr:0;ex:0;auth:1;dest:J;OFR:SpamFilterAuthJ;ENG:(5062000261)(5061607266)(5061608174)(4900095)(4920089)(6375004)(4950130)(4990090)(9140004);RF:JunkEmail;
X-Message-Info:
qoGN4b5S4yog6nY042nLw3cqoJY/BsdeIdvpFyeEToIfBWdMiTy9ohwkOjOHX/mmYDuIIXAZuntJB/jcvsI8N12HJabUBoRzEX6xvbe2KE26SyeTZwImTZfxGqX28h5yd+X+vl4xYK4JrDiB4OS5lY4EIUJKI6TMjc2520XsSe62AVW/zBal1X8WxWxQRjLLJ2OD1DdMGUwrpwctIvbXmA==
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MjtHRD0yO1NDTD02
X-Microsoft-Antispam-Message-Info:
kn8GS6I4/kPnpU/s+UZNNPbSeg3rfdTgFyHeBXLCZvoE6uXKC7trydLv9phn7DwZaRocm++y+Ifx6fakEyZGC5OF4oMZSmC8SPGjRMeIw5JRyrZGj1nnAPzRIzWBkY3knBBDPNNNCMc8tzhV8Ky/rpuMc/pCeOfv3VeRILR6ZIs6FA4hikmY6STGkXj6pwIiYwZ1EECRVO4v9pZCfEce/bYYyp9HDAwmqd9g25w7g4P5Any8jodv+LSB+sNvclLSwKtB5cd1hRqcAscvJfReflSU9Q3aPgTwSUufImnPCUiFN2HyCeKhx6qMHLY3kcTT79SSrZMIF79RU+8+rP4Qu7TfXKWeCWZf7yF9m8kw4LSWlhbN9b7nnxB+N2rggThM0fS3OJD3azvSKC9OHVq0D0sAki7UeNKaiyNx+hzNE/9gbV/HvMe0QM9zW2lP4mEJieBTCRfAl56mJJ3z0y6xSN0h8o+o3M00W7US96q4UEg9FXHA1Ei8yUpw6BlnCJSfRzMYlX1DZ7N9HKyIyoVIiIt5EeG631x9aU4bgaovXGokkqWh8jaVu6kZlr1cj8yxq2PVT4hJ1zGbDf7Yudzfcg/P2oRVijIWAwI9qrh+G7q3Z5AdkW4w2oiFV08o8BNevj5YCnWFKUD8CkpbW9U8nzMiknoahVbGLQbZTKaLsSouKh3qcRdP+9bQsKoun4Z+zQwmb+hlMltxT3ArfrT9Hwia8A9sWhd24OtCO392HhE=
Blacklisting of a sending ip or your sending domain could be a probable reason. And it is that Hotmail smtp server has only blacklisted your domain /Ip . Try changing your sending Ip or the domain and see if it lands in the spam or not.
I would start with something like checking my domain's send reputation on a site like Sender Score. That will tell you if you've been blacklisted. Then I would reach out to the Outlook postmaster to see what I can do to fix my errors. I also would really double check how my emails look in Hotmail, user engagement counts in many spam scores, and if the content doesn't look good it, users could be deleting it or marking it as spam.

DMARC behaviour on Gmail

We've configured SPF, DKIM and DMARC records for our domain and they're working fine. Our DMARC reports from Gmail, Hotmail, Yahoo also confirm the same.
However, just last week, one of our (Gmail) users brought to our attention a fraudulent email sent from a spoofed email address on our domain.
After looking at the email headers, we realised Gmail didn't initiate a DMARC check at all and the email landed in user's inbox. Gmail had only performed an SPF check which had passed because the check was performed on the envelop FROM header domain.
The email header (with identifying details redacted) looked like the following:
Delivered-To: redacted#gmail.com
Received: by 10.28.167.23 with SMTP id q23csp326872wme;
Mon, 20 Feb 2017 23:53:04 -0800 (PST)
X-Received: by 10.36.147.1 with SMTP id y1mr22192213itd.34.1487663583976;
Mon, 20 Feb 2017 23:53:03 -0800 (PST)
Return-Path: <redacted#fraudulentdomain.net>
Received: from server2.fraudulentdomain.net (server2.fraudulentdomain.net. [144.X.Y.Z])
by mx.google.com with ESMTP id i196si19658513ioi.78.2017.02.20.23.53.03
for <redacted#gmail.com>;
Mon, 20 Feb 2017 23:53:03 -0800 (PST)
Received-SPF: pass (google.com: domain of redacted#fraudulentdomain.net designates 144.X.Y.Z as permitted sender) client-ip=144.X.Y.Z;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of redacted#fraudulentdomain.net designates 144.X.Y.Z as permitted sender) smtp.mailfrom=redacted#fraudulentdomain.net
Received: by server2.fraudulentdomain.net (Postfix, from userid 330)
id 385716C165; Tue, 21 Feb 2017 08:53:03 +0100 (CET)
To: redacted#gmail.com
Subject: Some Subject
From: My Service <spoofed#mydomain.com>,
"MIME-Version:1.0"#server2.fraudulentdomain.net
Content-type: text/html; charset=iso-8859-1
Message-Id: <20170221075303.385716C165#server2.fraudulentdomain.net>
Date: Tue, 21 Feb 2017 08:53:03 +0100 (CET)
Why did Gmail not initiate a DMARC check and just performed an SPF check? Is it got to do something with the Display FROM header having 2 values?
That's a bug, I reported it to Google, they have fixed it now.

Emails from VPS going to Spam folder

i'm using unmanaged VPS from Contabo, i don't know why my emails are going to Spam folder, i checked many articles, i set SPF record but the same problem, any idea?
Delivered-To: r_haceb#esi.dz
Received: by 10.140.28.98 with SMTP id 89csp63344qgy;
Sun, 6 Apr 2014 13:02:57 -0700 (PDT)
X-Received: by 10.229.230.68 with SMTP id jl4mr29009103qcb.2.1396814577669;
Sun, 06 Apr 2014 13:02:57 -0700 (PDT)
Return-Path: <contact#printdz.com>
Received: from vmi19458 (ip-30-185-143-79.static.contabo.net. [79.143.185.30])
by mx.google.com with ESMTPS id m6si5836502qay.218.2014.04.06.13.02.53
for <r_haceb#esi.dz>
(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Sun, 06 Apr 2014 13:02:57 -0700 (PDT)
Received-SPF: neutral (google.com: 79.143.185.30 is neither permitted nor denied by best guess record for domain of contact#printdz.com) client-ip=79.143.185.30;
Authentication-Results: mx.google.com;
spf=neutral (google.com: 79.143.185.30 is neither permitted nor denied by best guess record for domain of contact#printdz.com) smtp.mail=contact#printdz.com;
dkim=neutral (no key for signature) header.i=#printdz.com
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=printdz.com; s=default;
h=Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Message-ID:Date:To:From; bh=vEH0oxcAnuvem9JO5KMEXGGPvJrXQ46uir2TfFo6T0U=;
b=SnGkZAXRW9gO1IY3TP4v3QJ7gHArhtjIJN/sOCk2sOf0i/jLDNLNneZ8xaU2s/oV4OEzmETVPqJ2wFk5g1WDG9e8R27sKfzbwXj8R6H5UmvLgecJ/W7nJZRNeBYOxB6HJx4BkXoi4KaYFR2FYekufmfGWhExo/nPRPJyelzkvg4=;
Received: from ip-30-185-143-79.static.contabo.net ([79.143.185.30]:46956 helo=www.printdz.com)
by vmi19458 with esmtpa (Exim 4.82)
(envelope-from <contact#printdz.com>)
id 1WWtHI-0000ie-Gv
for r_haceb#esi.dz; Sun, 06 Apr 2014 22:02:52 +0200
I'm having the same problem. Note that your SPF is not configured or this line wouldn't appear
Received-SPF: neutral (google.com: 79.143.185.30 is neither permitted nor denied by best guess record for domain of contact#printdz.com) client-ip=79.143.185.30;
To confirm that your SPF is not ok, go here http://www.kitterman.com/spf/validate.html
The solution would be asking Contabo to fix your DNS record regarding SPF.

Mail into GMail spam folder, SPF and everyting passes

My mails that I send from my vps keeps going to the spam folder of Google mail (gmail), only gmail, all other receivers get the mail!
I've been struggling with the following problem for a couple of hours now.
First of all the mail went straight to the spam, with a soft fail on the SPF records. After some googling and adjusting the dns and everything is correct on all the tests I do on internet.
What am I doing wrong, see the email headers below:
Delivered-To: info#MYWEBSITE.nl
Received: by 10.140.49.2 with SMTP id p2csp254884qga;
Wed, 18 Dec 2013 05:09:01 -0800 (PST)
X-Received: by 10.180.103.193 with SMTP id fy1mr8266239wib.10.1387372141146;
Wed, 18 Dec 2013 05:09:01 -0800 (PST)
Return-Path: <info#SENDINGWEBSITE.nl>
Received: from www.SENDINGVPS.nl ([2a02:1234::777:3eff:fed6:7ef6])
by mx.google.com with ESMTPS id s9si717710wiw.41.2013.12.18.05.09.00
for <info#MYWEBSITE.nl>
(version=TLSv1 cipher=RC4-SHA bits=128/128);
Wed, 18 Dec 2013 05:09:01 -0800 (PST)
Received-SPF: pass (google.com: domain of info#SENDINGWEBSITE.nl designates 2a02:1234::777:3eff:fed6:7ef6 as permitted sender) client-ip=2a02:1234::777:3eff:fed6:7ef6;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of info#SENDINGWEBSITE.nl designates 2a02:1234::777:3eff:fed6:7ef6 as permitted sender) smtp.mail=info#SENDINGWEBSITE.nl
Received: from i12345.upc-i.chello.nl ([62.195.XX.XXX] helo=[192.168.1.12])
by www.SENDINGVPS.nl with esmtpsa (TLSv1:AES128-SHA:128)
(Exim 4.76)
(envelope-from <info#SENDINGWEBSITE.nl>)
id 1VtGrz-0004Rq-8k; Wed, 18 Dec 2013 14:08:59 +0100
Subject: Mail gmail hotmail
Mime-Version: 1.0 (1.0)
From: "info#SENDINGWEBSITE.nl" <info#SENDINGWEBSITE.nl>
Content-Type: text/plain;
charset=us-ascii
X-Mailer: iPhone Mail (11B554a)
Message-Id: <62D8B201-8243-43A5-B15D-6371DD208D23#SENDINGWEBSITE.nl>
Date: Wed, 18 Dec 2013 14:08:58 +0100
Content-Transfer-Encoding: 7bit
To: "info#MYWEBSITE.nl" <info#MYWEBSITE.nl>
Hi
Verstuurd vanaf mijn iPhone

Emails marked as spam - SPF passes, DKIM passes, sender-id passes

I've been struggling to figure out why this is happening, but my emails are being marked as spam by Gmail and Hotmail (they work in Yahoo.)
SPF, DKIM, rDNS, and sender-id all pass. What's weirder is I've send the EXACT same email with its exact contents from my dev server and Gmail accepts it as not spam even though every one of those checks which passes in production fails in dev. Hotmail still marks it as spam though.
Any idea what could be going on? Here is an example header from Gmail (with IPs and domains changed for privacy):
Delivered-To: REMOVED#gmail.com
Received: by 10.194.16.130 with SMTP id g2csp192349wjd;
Mon, 13 Aug 2012 14:04:10 -0700 (PDT)
Received: by 10.236.193.105 with SMTP id j69mr12819871yhn.21.1344891849751;
Mon, 13 Aug 2012 14:04:09 -0700 (PDT)
Return-Path: <mailer#mydomain.com>
Received: from mail.mydomain.com (mydomain.com. [xxx.xxx.xxx.xxx])
by mx.google.com with ESMTPS id e22si563514yhh.132.2012.08.13.14.04.08
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 13 Aug 2012 14:04:09 -0700 (PDT)
Received-SPF: pass (google.com: domain of mailer#mydomain.com designates xxx.xxx.xxx.xxx as permitted sender) client-ip=xxx.xxx.xxx.xxx;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of mailer#mydomain.com designates xxx.xxx.xxx.xxx as permitted sender) smtp.mail=mailer#mydomain.com; dkim=pass header.i=#mydomain.com
Received: from mydomain.com (localhost [127.0.0.1])
by mail.mydomain.com (8.14.4/8.14.4/Debian-2ubuntu1) with ESMTP id q7DL48tq019625
for <REMOVED#gmail.com>; Mon, 13 Aug 2012 17:04:08 -0400
X-DKIM: OpenDKIM Filter v2.3.2 mail.mydomain.com q7DL48tq019625
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mydomain.com;
s=server; t=1344891848;
bh=lpw+5POmINBjQYgQBdJvY2d+m84MY8hwTqZ6riNfH8I=;
h=Date:From:To:Message-ID:Subject:Mime-Version:Content-Type:
Content-Transfer-Encoding;
b=KnYSvSzFewOGFyYWvP1DfCvyRfp6y31BfOPTOgRsZ7nGB4PXuau84euzuhs82V4lx
++DjN3iPxSj07euW+y7aRe9R2YiXKJFVNh7cbcJX8+tc3LMmnR7Cv27iP3Yvv6mQMd
uz4Engql3bXLVVDKcLLj/Fj2eiwtWzW4chA2GNTQ=
Received: (from root#localhost)
by mydomain.com (8.14.4/8.14.4/Submit) id q7DL48Dm019624
for REMOVED#gmail.com; Mon, 13 Aug 2012 17:04:08 -0400
Date: Mon, 13 Aug 2012 17:04:08 -0400
From: "Website" <mailer#mydomain.com>
To: REMOVED#gmail.com
Message-ID: <50296bc866dfc_4b8593bd18556b8#mydomain.com.mail>
Subject: You've received a message from Bob.
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mydomain.com; q=dns/txt; s=server; t=1344891848; bh=LfadLl6eJEB+NgiTbBlcBhOt/9NKcG0wapkrAjlGqfg=; h=content-transfer-encoding:content-type:date:from:message-id:mime-version:subject:to; b=mTB8TBb+gG7ESxeVbfqHANKUMeNbdwK/hSIq58oin5ERNSMKOIvZKY9cQJRoY/Q96PQ7J+7b3ZkZuwcg+zMkQyhK7YACvFAz4SUWqpdqiZrBDw8Vqy3PjkGFcz2V5vyUOjI6vN/Y6iOj1zlocC+/p8lkpw3upwxr7cNoe5/Kwu8=
The other guy doesn't know what he's talking about and just guessing.
'Received: (from root#localhost)' is your problem. That needs to reflect the from email...
You problem is:
domain: mydomain.com
ip: xxx.xxx.xxx.xxx
and root#localhost too
You need change informations in your mail client!
I have the exact same problem. In my case, I have configured my mail client correctly. I have one main domain (mydomain.com), my mail server also supports another domain (mydomain2.com) using virtual_domains. However, the emails for (mydomain2.com) always end up in Spam in Gmail. The mail-tester score for mydomain2.com is 9.7/10. Here is the original header from Gmail (i have replaced IP and email address with example ips)
Delivered-To: myemail#gmail.com
Received: by 10.80.177.154 with SMTP id m26csp9759783edd;
Sat, 7 Jan 2017 16:28:58 -0800 (PST)
X-Received: by 10.84.128.67 with SMTP id 61mr108683153pla.153.1483835337902;
Sat, 07 Jan 2017 16:28:57 -0800 (PST)
Return-Path: <noreply#mydomain2.com>
Received: from mail.mydomain.com (xx-xxx-x-xxx.com. [xx.xxx.x.xxx])
by mx.google.com with ESMTPS id s186si84168719pgb.6.2017.01.07.16.28.57
for <myemail#gmail.com>
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Sat, 07 Jan 2017 16:28:57 -0800 (PST)
Received-SPF: pass (google.com: domain of noreply#mydomain2.com designates xx.xxx.x.xxx as permitted sender) client-ip=xx.xxx.x.xxx;
Authentication-Results: mx.google.com;
dkim=pass header.i=#mydomain2.com;
spf=pass (google.com: domain of noreply#mydomain2.com designates xx.xxx.x.xxx as permitted sender) smtp.mailfrom=noreply#mydomain2.com;
dmarc=pass (p=REJECT dis=NONE) header.from=mydomain2.com
Received: from myhomerouter by mail.mydomain.com (Postfix) with ESMTPSA id 284538419F for <myemail#gmail.com>; Sun,
8 Jan 2017 00:28:57 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mydomain2.com; s=mail; t=1483835337; bh=g3zLYH4xKxcPrHOD18z9YfpQcnk/GaJedfustWU5uGs=; h=From:Subject:Date:To:From; b=rwN/rSaqojz5pKVoYwb99Ec0TZzkHCo140KMlFVe47jl7Ui64w4DoNpCgZFeYEX87
8NZuBQdfnrirZWbZ7ibydoi07Poz6PZjKoLdRToMcqrtcGVfA+UrJPGQ3EE/QrnYf4
W0Hyb3PpUO+WVcwDL/rvvVm6ZnfjdIjobJpFj1fU=
From: First Name lastname <noreply#mydomain2.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
Subject: Test
Message-Id: <8D89561C-0226-4C6B-A8D1-54A2F210F031#mydomain2.com>
Date: Sat, 7 Jan 2017 19:28:56 -0500
To: First Name <myemail#gmail.com>
X-Mailer: Apple Mail (2.3259)
test