The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Do I install SPF, DKIM, on the hostname?

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

  1. ampaho

    ampaho Registered

    Joined:
    Sep 28, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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 = me@domain1.com
    
    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="me@domain1.com"; 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 pete_ampago@gmail.com

    Code:
    
    Delivered-To: pete_ampaho@gmail.com
    
    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: <domain1@host.example.com>
    
    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 domain1@host.example.com) 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 domain1@host.example.com) smtp.mail=domain1@host.example.com
    
    Received: from domain1 by host.example.com with local (Exim 4.69)
    
        (envelope-from <domain1@host.domain1.com>)    id 1R8mM2-00038x-8n    for peter_ampaho@gmail.com; Wed, 28 Sep 2011 00:06:46 -0500
    
    To: peter_ampaho@gmail.com
    
    Subject: Just a test
    
    MIME-Version: 1.0
    
    Content-type: text/html; charset=UTF-8
    
    From: Peter Ampaho <me@domain1.com>
    
    Reply-To: me@domain1.com
    
    Message-Id: <E1R8mM2-00038x-8n@host.example.com>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 :) !!!
     
Loading...

Share This Page