Do I install SPF, DKIM, on the hostname?

ampaho

Registered
Sep 28, 2011
2
0
51
cPanel Access Level
Root Administrator
Hi, I looked around but couldn't find anything helpful..

So I just got a dedicated server with cPanel/WHM and I would like to install SPF, Domain Keys and DKIM so I can send emails safely.. I found some tutorial online that I followed Installing DomainKeys and SPF Records :: The cPanel Admin

Say the hostname of my server is host.example.com and I have created 2 accounts on them www.domain1.com and www.domain.com..

I added SPF for all three host.example.com, www.domain1.com, www.domain.com

So TXT records were automatically added for all three (host.example.com, www.domain1.com, www.domain.com) with the same value "v=spf1 a mx -all"

But the emails sent (programmatically through PHP mail function) from both www.domain1.com and Welcome to DOMAIN2.COM have headers with neutral SPF. I should add that emails for www.domain1.com and www.domain.com are hosted at Google. But I send newsletter from the dedicated server.

And when I check Brandon Checketts , it says this:


Code:
Helo Address = host.example.com

From Address = [email protected]

From IP      = 108.115.109.67
[B]
SPF Record Lookup[/B]

Looking up TXT SPF record for domain1.comFound the following namesevers for domain1.com: ns1.example.com ns2.example.comRetrieved this SPF Record: [B]v=spf1 a mx ~all[/B] (TTL = 14400)[B]Result: None (No applicable sender policy available)[/B]


[B]Result code: none[/B]Local Explanation: domain1.com: No applicable sender policy availablespf_header = Received-SPF: none (domain1.com: No applicable sender policy available) receiver=xpgrinders.com; identity=mfrom; envelope-from="[email protected]"; helo=host.example.com; client-ip=108.115.109.67
And this is the headers from an email sent programmatically from domain1.com to a gmail account [email protected]

Code:
Delivered-To: [email protected]

Received: by 10.68.41.8 with SMTP id b8cs141372pbl;        Tue, 27 Sep 2011 22:06:52 -0700 (PDT)

Received: by 10.151.99.4 with SMTP id b4mr8130947ybm.403.1317186407418;        Tue, 27 Sep 2011 22:06:47 -0700 (PDT)

Return-Path: <[email protected]>

Received: from host.example.com ([208.115.199.66])        
by mx.google.com with ESMTPS id q41si416106ybc.53.2011.09.27.22.06.47        
(version=TLSv1/SSLv3 cipher=OTHER);        
Tue, 27 Sep 2011 22:06:47 -0700 (PDT)Received-SPF: neutral (google.com: 108.115.109.67 is neither permitted nor denied by best guess record for domain of [email protected]) client-ip=108.115.109.67;

Authentication-Results: mx.google.com; spf=neutral (google.com: 108.115.109.67 is neither permitted nor denied by best guess record for domain of [email protected]) [email protected]

Received: from domain1 by host.example.com with local (Exim 4.69)

    (envelope-from <[email protected]>)    id 1R8mM2-00038x-8n    for [email protected]; Wed, 28 Sep 2011 00:06:46 -0500

To: [email protected]

Subject: Just a test

MIME-Version: 1.0

Content-type: text/html; charset=UTF-8

From: Peter Ampaho <[email protected]>

Reply-To: [email protected]

Message-Id: <[email protected]>Date: Wed, 28 Sep 2011 00:06:46 -0500X-

AntiAbuse: This header was added to track abuse, please include it with any abuse reportX-AntiAbuse: 

Primary Hostname - host.example.com

X-AntiAbuse: Original Domain - domain1.comX-AntiAbuse: Originator/Caller UID/GID - [500 500] / [47 12]X-

AntiAbuse: Sender Address Domain - host.example.com
Please help :) !!!