Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 25
  1. #1
    Member
    Join Date
    Aug 2007
    Posts
    66

    Default SPF record

    If my domain does not have SPF record then where and how could I set it up?
    I belive I should go to address http://www.openspf.org/
    However I have no clue how to get started over there.

    Could someone guide me through?

  2. #2
    Member
    Join Date
    Apr 2007
    Posts
    144

    Wink

    Whm Admin Panel
    -DNS Functions
    + Edit DNS Zone

    Select your domain and click Edit

    scroll page Below
    Add New Entries Below this Line

    yourdomain.com. 14400 IN TXT "v=spf1 a mx ptr ip4:xxx.xxx.xxx.xxx ip4:xxx.xxx.xxx.xxx ~all"

    and Click Save

    Note :xxx.xxx.xxx.xxx is your server Ip's

    Regards,
    Tymsah

  3. #3
    Member
    Join Date
    Aug 2007
    Posts
    66

    Default

    Ok, I did that and it gave me following results:

    Modifying Zone mydomain.com
    zone mydomain.com/IN: loaded serial xxxxxxxxxx
    OK

    Bind reloading on myhost using rndc zone: [mydomain.com]


    Reconfiguring Local Mail: This server will serve as the primary mail exchanger for mydomain.com's mail.


    Zone Modified!


    But dnsstuff.com gives me still warning message:

    Your domain does not have an SPF record. This means that spammers can easily send out E-mail that looks like it came from your domain, which can make your domain look bad (if the recipient thinks you really sent it), and can cost you money (when people complain to you, rather than the spammer). You may want to add an SPF record ASAP, as 01 Oct 2004 was the target date for domains to have SPF records in place (Hotmail, for example, started checking SPF records on 01 Oct 2004).
    I should have SPF working or do I have to do anything else?
    Also was that text ment to be typed with or without quotation marks?

  4. #4
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Not sure this applies here, but the tools to do this are trickling down the pipe right now (in CURRENT and EDGE ATM.) http://changelog.cpanel.net/index.cgi

    Enhancements:
    Added interface for installing Domain Keys and SPF via cPanel

  5. #5
    Member
    Join Date
    Aug 2002
    Posts
    1,120

    Default

    Quote Originally Posted by Infopro View Post
    Not sure this applies here, but the tools to do this are trickling down the pipe right now (in CURRENT and EDGE ATM.) http://changelog.cpanel.net/index.cgi
    I just updated a test server to the latest Current, thought I would take a look at this new feature and see what all it offers. Granted, I've only looked at for about 5 or 10 minutes right now, so I haven't put a lot of investigation into this.

    I do wonder whether or not if this feature was tested or not.

    It doesn't seem to work for me when I test it out.

    When I Enable SPF, the DNS zone for the account just gets the following added to it:

    IN TXT "v=spf1 a mx ?all"

    and the serial number for the DNS zone isn't updated.

    Further, when I revisit the Email Authentication section in the control panel, it still says that SPF is disabled.

    This was suppose to fix the enhancement request as detailed at:

    http://bugzilla.cpanel.net/show_bug.cgi?id=5224

    But it doesn't provide any level of customization. SPF is either enabled or not. The bug report that I originall filed requested for some level of customization of the SPF record. I'm not a big fan of having a blanket SPF record, because a webhost can't know what mail servers (and what IPs those mail servers are using to send out mail) each of their accounts are using.

    From this quick glance I have had of this new Email Authentication system, I don't recommend it.

  6. #6
    Member
    Join Date
    Feb 2003
    Posts
    191

    Default

    Quote Originally Posted by sparek-3 View Post
    I do wonder whether or not if this feature was tested or not.
    It has literally only been released to the "EDGE" and "CURRENT" versions in the last couple of days, so the testing is taking place right now with users such as yourself trying it out. To some extent, that is the point of an EDGE release...

    You would be better served adding your thoughts about enhancements to Bugzilla than complaining about it in the forum, as it is literally a brand new and undeveloped addition to cPanel at this stage

  7. #7
    Member
    Join Date
    Mar 2006
    Posts
    25

    Default

    Quote Originally Posted by sparek-3 View Post
    When I Enable SPF, the DNS zone for the account just gets the following added to it:

    IN TXT "v=spf1 a mx ?all"
    I have been trying to add an SPF TXT record manually today. For some reason, adding a TXT record to the zone seems to result in something like:

    "v=spf1" "a" "mx" "?all"

    ...note the extra quotes.

    This results in a broken SPF record. It looks like a bug in the Edit DNS Zone function that adds in extra quotes where they are not wanted. I'm running Release WHM 11.11.0 cPanel 11.16.0-R18450

    Further to this, manually editing /var/named/mydomain.com.db to correctly enter "v=spf1 a mx ?all" and restarting named gets the SPF record working fine - so it looks like a bug.
    Last edited by AlanH; 12-21-2007 at 11:44 AM.

  8. #8
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    We fixed the problems with the serial number(s) not updating when adding the SPF/DomainKeys records.

    I just tested adding "v=spf1 a mx ?all" to a zone on 11.16.0-C18546, it added the record just fine:

    Code:
    morespf.test.   14400   IN      TXT     "v=spf1 a mx ?all"

    AlanH, does the above still malfunction on the latest Release build (18546) for you?


    sparek-3, if you notice, I didn't close that Bugzilla request. My comment was purely for informational purposes only.

  9. #9
    Member
    Join Date
    Mar 2006
    Posts
    25

    Default

    Yep, still malfunctions on R18546 adding extra quotes - updated cPanel to test earlier this afternoon.

    cPanel tool also doesn't seem to function correctly when there is a parked domain.

    Edit: Correction - quotes issue is fixed in R18546
    Last edited by AlanH; 12-24-2007 at 02:16 AM.

  10. #10
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I'm detecting some "fruitiness" with this tool

  11. #11
    Member
    Join Date
    Mar 2006
    Posts
    25

    Default

    I don't think I'll be letting clients loose with it just yet.

  12. #12
    Member
    Join Date
    Jun 2003
    Posts
    88

    Default

    I just tried this tool, and while the SPF/DomainKeys entries were added, from cPanel it reports both as:

    Enabled & Inactive (Dns Check Failed)

    So not entirely sure what to do there, no real documentation or diagnostic route was given, but if I don't disable it, both entries stay live in the zone still.

  13. #13
    Member
    Join Date
    Mar 2006
    Posts
    25

    Default

    Does the same for me where there is a parked domain. It seems to try updating the zone file for the parked domain, creates a working file in /var/named but then gives up...

  14. #14
    Member
    Join Date
    Jun 2003
    Posts
    88

    Default

    Yeah - this account I am testing has a few other domains on it, so that may be the case, I just started going thru the files and noticed that the TXT record doesn't reflect the primary domain in the primary dns zone - if I manually edit it, and move SPF above the DomainKey I get the status changed to:

    Enabled & Active (DNS Check Passed)

    So maybe a "Per-Domain" option should be added that way cPanel only attempts to add the records to the domain requested, would remove some complexity from the code in my mind, then if folks use parked/add-on domains for active email, they can enable each accordingly.

    A good start for sure.

  15. #15
    Member
    Join Date
    Aug 2007
    Posts
    66

    Default

    In my case it didn't automatically add the dot after domain name so I had to do it manually and I've got it working too now.

Similar Threads & Tags
Similar threads

  1. Please help with SPF record
    By iLLuSi0nS in forum E-mail Discussions
    Replies: 10
    Last Post: 12-02-2009, 11:18 PM
  2. ptr record & SPF record
    By yantomulia in forum New User Questions
    Replies: 2
    Last Post: 03-17-2008, 07:32 PM
  3. SPF Record
    By GoWilkes in forum E-mail Discussions
    Replies: 11
    Last Post: 01-18-2008, 04:45 PM
  4. SPF Record and Quotes
    By carverrn in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-23-2006, 06:28 AM
  5. May be i need SPF Record help or its a faulty one
    By mohit in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-27-2006, 04:48 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube