Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Do I install SPF, DKIM, on the hostname?

Discussion in 'General Discussion' started by ampaho, Sep 28, 2011.

  1. ampaho

    ampaho Registered

    Sep 28, 2011
    Likes Received:
    Trophy Points:
    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 =
    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="";; client-ip=
    And this is the headers from an email sent programmatically from to a gmail account

    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: <>
    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 client-ip=;
    Authentication-Results:; spf=neutral ( is neither permitted nor denied by best guess record for domain of
    Received: from domain1 by with local (Exim 4.69)
        (envelope-from <>)    id 1R8mM2-00038x-8n    for; Wed, 28 Sep 2011 00:06:46 -0500
    Subject: Just a test
    MIME-Version: 1.0
    Content-type: text/html; charset=UTF-8
    From: Peter Ampaho <>
    Message-Id: <>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 :) !!!

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice