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.

Setting up SPF Records

Discussion in 'E-mail Discussions' started by h0tmailz, Feb 6, 2009.

  1. h0tmailz

    h0tmailz Member

    Joined:
    Dec 5, 2008
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Currently I'm using:

    domain.com. IN TXT "v=spf1 a mx ptr -all"

    is that right? Could I do it better?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If I was setting up a SPF record, I'd simply go to the cPanel interface, in the "Mail" section click on "Email Authentication" then click "Enable" under SPF. This screen will also allow you to customize your SPF entry without worrying about the proper syntax for the DNS entry.
     
  3. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    David, there isn't a section called Email Authentication, and I don't see this option in the Exim Confuguration either. So, can you please tell us where this option is?
     
  4. MethOd63

    MethOd63 Active Member

    Joined:
    Aug 20, 2007
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    This option is in cPanel, not in WHM.
     
  5. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    So, are you saying that I need to enable this for every account? Is there any way to enable this server wide? We have hundreds of accounts on multiple server,and I don't see it as an option to enable it in every user's cPanel.
     
  6. h0tmailz

    h0tmailz Member

    Joined:
    Dec 5, 2008
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    There is a script that adds SPF records to every account that comes with CPanel, its kinda glitchy since its not coming out till CPanel 12. I'm starting to look into DomainKeys since places like yahoo and aol encourage the use of them over SPF.
     
  7. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You can build a shell script to run the following:

    /usr/local/cpanel/bin/spf_installer <username>
    /usr/local/cpanel/bin/domain_keys_installer <username>

    Where <username> is the username of the user you wish to install SPF and/or Domain Keys for.

    If you're looking for a sample shell script to automate this process for all users, an internet search for the following phrase will yield useful results: Installing domain keys on a cPanel Server script
     
Loading...

Share This Page