Do I install SPF, DKIM, on the hostname?


Sep 28, 2011
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 and I have created 2 accounts on them and

I added SPF for all three,,

So TXT records were automatically added for all three (,, with the same value "v=spf1 a mx -all"

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

And when I check Brandon Checketts , it says this:

Helo Address =

From Address = [email protected]

From IP      =
SPF Record Lookup[/B]

Looking up TXT SPF record for domain1.comFound the following namesevers for 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: No applicable sender policy availablespf_header = Received-SPF: none ( No applicable sender policy available); identity=mfrom; envelope-from="[email protected]";; client-ip=
And this is the headers from an email sent programmatically from to a gmail account [email protected]

Delivered-To: [email protected]

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

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

Return-Path: <[email protected]>

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

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

Received: from domain1 by 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 -

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

AntiAbuse: Sender Address Domain -
Please help :) !!!