Localhost not set in new domain, Google marks mail as spam

ericovk

Verified User
Joined
Apr 17, 2012
Messages
229
Location
Rotterdam, Netherlands
I thought that I had thought of everything. I set up a new account in DA with an external domain / DNS setup. Set up a proper SPF record:
Code:
v=spf1 a mx ptr ip4:<ip> ~all

Copied the DKIM key from DA and set it as x._domainkey TXT.

Everything was going well, I thought. Except mails were receiving in Gmail's spam.

Mail-tester.com result: 10/10. Perfect score.

The source of the mail was telling me that Gmail's server accepted all above settings:
Code:
Delivered-To: [email protected]
Received: by 10.79.135.196 with SMTP id j187csp502192ivd; Fri, 15 Jul 2016
 00:51:25 -0700 (PDT)
X-Received: by 10.25.33.134 with SMTP id h128mr8732204lfh.82.1468569085386;
 Fri, 15 Jul 2016 00:51:25 -0700 (PDT)
Return-Path: <[email protected]>
Received: from c1.server.nl (c1.server.nl. [serverip]) by
 mx.google.com with ESMTPS id q20si5703927lfq.341.2016.07.15.00.51.24 for
 <[email protected]> (version=TLS1 cipher=AES128-SHA bits=128/128); Fri,
 15 Jul 2016 00:51:25 -0700 (PDT)
Received-SPF: pass (google.com: domain of [email protected] designates
 serverip as permitted sender) client-ip=serverip;
Authentication-Results: mx.google.com; dkim=pass [email protected];
 spf=pass (google.com: domain of [email protected] designates serverip
 as permitted sender) [email protected]; dmarc=pass (p=NONE
 dis=NONE) header.from=happy.nl
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=happy.nl; s=x; h=Message-ID:Subject:To:From:Date:Content-Type:
 MIME-Version:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=R/9ZdQIb+D+joeGXGFkz9shSAbinRkdXchKHbpXzm2o=; b=vyn5bhF0ds3saP/cxcxjq9nXw9
 Z7gcz/avvD+cuabVfXrBXe1qlVvZCuJ0E3XrzQklPxTPt00rOoeqN0qd7+Tcb/tQZ8rGyTnnLUPiC
 uRTfQ2sIcdko5KC0AGikPcFJiGazlRr/vwd77xqNPt3hv5LYO9DFi4t7cPODUmfbf30N++2US+C1C
 AXJJSjoNcO1Ct2q/V/d04v/16Wb5hDFYxErViNrMZJtDxm8R7gcgWCqBkYt38x6HlaX0lC7qJW45q
 ctHBWTAtwGpVByWME5g/tHCQLTgd+zGQ7vDUCpVh89PdWVG4owQgQXBFnKx8QBg0mXUAEKiffo/C9
 J8DJXB5w==;
Received: from [127.0.0.1] (helo=c1.server.nl) by c1.server.nl with esmtpa
 (Exim 4.87) (envelope-from <[email protected]>) id 1bNxu8-0008G4-Bu for
 [email protected]; Fri, 15 Jul 2016 09:51:24 +0200
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="=_0f30e179fb0eade1b8452b98307b182e"
Date: Fri, 15 Jul 2016 09:51:24 +0200
From: [email protected]
To: [email protected]
Subject: testlinkje
Message-ID: <[email protected]>
X-Sender: [email protected]
User-Agent: Roundcube Webmail/1.1.4
X-Authenticated-Id: [email protected]

It appers that another account on the same server was able to send mail to my Gmail without being marked as spam.

The only difference I could see was that the DNS settings in DA on the server were that localhost A and AAAA records were missing in the account that sends mail marked as spam.

So I added the A 127.0.0.1 record. Now my account isn't marking this account's mail as spam. It still does at my client's Gmail. How can I resolve this spam mystery?

And how come DA didn't add localhost records for the most recent account?

Edit: things are getting weirder with the hour: some emailadresses of the same account/domain are being received as spam and some are not. Sending from Roundcube from the same ip, same server, same domain.
 
Last edited:
Everything seems to be working fine now. I guess Gmail needed to 'warm up' on my emails. Strangest thing that all was set correctly and Gmail marked some emails as spam though. I even got a complement from my hosting provider that the mail server has been setup very neat. My client has now picked Google Apps as email provider because they are tired of all this trouble. Plus some of my clients are having trouble with setting up their email when I provide them email via DA.
 
Back
Top