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.

Updating an SPF / TXT record

Discussion in 'E-mail Discussions' started by GoWilkes, Jun 20, 2013.

  1. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I have few questions regarding the SPF filter. I've checked a few online tutorials, and I'm still not clear, so any clarification at all would be appreciated!

    1. When writing the SPF record, do I need to list the IP and MX record that's already in the DNS, or only those that are not listed? For example, if I have an A entry of:

    example.com. A 123.45.67.89

    Then does my SPF need to say:

    "v=spf1 a mx ip4:123.45.67.89 mx:example.com -all"

    Or does it just need:

    "v=spf1 a mx -all"


    2. I've read that I should include "ptr" if all of the reverse DNS records resolve to outbound email servers for the domain. How do I test to see if this is true?


    3. I see several references to a SPF filter that's separate from the TXT record. Is this something I should create somewhere else, or is it just something that WHM doesn't have in it's DNS zone section yet?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    1. You should use the IP address that will be used for sending email. You can use the "Email Authentication" option in cPanel to generate the correct SPF record for you. EX:

    Code:
    v=spf1 +a +mx +ip4:1.2.3.4 ?all
    2. You can check to see if RDNS has been configured for an IP address with the "host" command. EX:

    Code:
    host 1.2.3.4
    3. The following option is available under the "ACL Options" tab in "WHM Home » Service Configuration » Exim Configuration Manager":

    "Reject SPF failures"

    This option will ensure mail is rejected at SMTP time if the sender fails SPF checks.

    Thank you.
     
Loading...

Share This Page