How to know if the SPF config is working (Amazon SES/Route53)?

前端 未结 2 1315
走了就别回头了
走了就别回头了 2021-02-09 10:24

I\'m using Amazon SES and Route53 and confused how I specify the TXT value to include the proper SPF config. Amazon gave me a SES TXT name/value pair which looks something like

相关标签:
2条回答
  • 2021-02-09 11:08

    Tim,

    I have always used TXT records for keeping SPF and SenderID information, like follows (the lines below are the result of a dig):

    mydomain.com. 86400 IN TXT "v=spf1 include:amazonses.com ?all"
    mydomain.com. 86400 IN TXT "spf2.0/pra include:amazonses.com ?all"

    This is also how Amazon recommends you to do it.

    Both SPF and SenderID are mechanisms ISPs use to verify the server which sent the email as being from your domain is really authorized by your domain to do so. Whenever an ISP is about to forward your email message, they will perform this kind of checks in order to guarantee it is not a SPAM. The explanation on Amazon SES page is one of the most concise I could find:

    ISPs that forward email traffic on the Internet are well aware of spammers and their activities. Most ISPs have taken measures to evaluate whether email is legitimate. One such action that ISPs consider is email authentication, in which senders provide evidence that they are the owner of the account that they are sending from. In some cases, ISPs will refuse to forward email that is not authenticated.

    If providers like Gmail, Yahoo!, etc, delivered your email to its final destination, your DNS entries are probably already correct. If you try to remove them and wait some time for the DNS settings to propagate, it is very likely your email will start being classified as spam. There are some web tools, like this one, which can help you validate your SPF records.

    Hope it helps.

    0 讨论(0)
  • 2021-02-09 11:15

    SPF and Amazon SES

    If you are using Amazon SES to send from your domain, you need to know that the current SES implementation involves sending emails from an SES-owned MAIL-FROM domain. This means that you do not need to make any changes to your DNS records in order for your emails to pass SPF authentication.

    Source: SPF and Amazon SES

    More info:

    • Authenticating Email with SPF in Amazon SES
    • Authenticating Email with DKIM in Amazon SES
    0 讨论(0)
提交回复
热议问题