InformationBodyThis article explains what SPF is and provides an example for how to set it up. As of February 2024, Google and Yahoo have increased their enforcement of domain authentication. To avoid issues with email delivery, it’s crucial to complete DKIM and DMARC authentication for the domain you use to send emails. ☑TipFor best deliverability results, we recommend adding our domain to your domain’s SPF record. In This Article Video Tutorial What Is SPF? Checking for SPF Setting Up SPF Validating SPF Testing Your SPF Authentication Frequently Asked Questions Additional Resources Watch a Video Tutorial on Email Authentication Setup What Is SPF? Sender Policy Framework (SPF) is an email authentication method that specifies which IP addresses or servers are allowed to send emails on behalf of your domain. By verifying that an email is sent from an approved source, SPF helps prevent spoofing and reduces the likelihood of your emails being marked as spam. ✎NoteSPF can only be set up for a domain that you own. Free email domains like @gmail.com do not support custom SPF settings. Checking for SPF If you’re not sure whether your domain already has Emma in your SPF record, you can easily find out right in your Emma account. You must have DKIM set up before you can use this tool. Navigate to your Account > Deliverability tab. Parent account: Click on the gear icon in the upper right corner of your screen and choose Account from the dropdown menu.Subaccounts: Navigate to the appropriate subaccount and click on the gear icon in the upper right corner of your screen. If you are a Manager or Parent user, scroll down to "Subaccount Settings" and choose Account from the dropdown menu.If you are an Administrator user, choose Account from the dropdown menu. Standalone accounts: Click on the gear icon in the upper right corner of your screen and choose Account from the dropdown menu. On the next screen, click on the Deliverability tab.Scroll down to the section that says "SPF status check".Click on the Check SPF status button. If you have added Emma to your SPF record, you’ll see a green pill icon that says "Pass". If you have not added Emma to your SPF record, you’ll see a red pill icon that says "Fail". If you do not have an SPF record, you’ll see a red pill icon that says "No SPF record found". ✎NoteIf your SPF record is flattened or hidden from public lookup, Emma cannot check your SPF record and will return the red pill icon that says "Fail". If you have questions about this, please reach out to your IT team for assistance. Setting Up SPF SPF setup requires adding a TXT record in your DNS settings that includes a list of IP addresses authorized to send on your domain’s behalf. There are many ways to set up your domain’s SPF record, depending on your organization’s needs and priorities. When in doubt, reach out to someone who specializes in DNS if you need assistance. Log in to your DNS provider's website or app.Look at your existing TXT records. Do you see one that contains v=spf1? Yes: Edit the existing TXT record and add include:_spf.e2ma.net immediately after v=spf1. Then proceed to step 5.No: Continue to the next step. Create a new TXT record and enter the following text, exactly as it appears. Refer to your DNS provider's help documents if they do not allow the @ symbol. NameValue@v=spf1 include:_spf.e2ma.net ~all Select the TTL value (300 seconds - 30 minutes).Save the record. ☑TipThe ~all or -all at the end of your SPF record determines whether unauthorized emails should be soft-failed (accepted but flagged) or hard-failed (rejected). Both are acceptable, so be sure to follow your organization’s policy for either one. Validating SPF After creating the SPF TXT record, allow at least 30 minutes for it to propagate. It may take as long as 24 hours to fully propagate. Once the record has propagated, you can verify that it’s correct by using an SPF record checker tool. How to use emailstuff.org to check your SPF record Navigate to emailstuff.org. Under the "Check a published SPF record" heading, type your domain in the "Domain name" box and click on the Check button. If you see e2ma listed in the record, then you have already added Emma to your SPF record. ⒾInfoThis is the only SPF setup that Emma can provide support for. If you choose to set it up differently, that's okay, but we won't be able to help with any questions or troubleshooting for other methods. For anything related to SPF, your IT team or DNS specialist will be your go-to for assistance. Optional: Testing Your SPF Authentication To confirm your SPF setup, send a test email campaign and check the email header. For example, in Gmail: Open the test email and click on the three vertical dots on the right side. Choose Show original from the dropdown menu.On the next screen, you’ll see a table and one of the rows will be labeled "SPF". If SPF has been successfully set up, the "SPF" row should say "PASS". For detailed instructions on locating headers in specific email clients, refer to this guide. ✎NoteThe return-path domain for all emails coming from Emma is e2ma.net. This cannot be changed. SPF alignment is partially dependent on the return-path of the sender address, so even if you add Emma to your SPF record, the mailings that you send from Emma will only partially pass SPF. As long as you have DKIM set up, your campaigns should still pass DMARC. Frequently Asked Questions About SPF ⒾInfoFor more frequently asked questions about SPF, check out our frequently asked questions about email authentication article. I followed all of the instructions exactly, but I'm seeing an error when I try to check them in Emma! Did I do something wrong? It can take up to 24 hours for DNS records to fully propagate, so there's no need to panic if you don’t see the SPF record check tool update right away. Just give the record some time and then try again. If you're still seeing errors after 24 hours, there may be a small typo in the record. Try checking it for errant spaces or typos. If you copied and pasted the record into your DNS, try typing it in manually instead. Alternately, you can paste it into a text editor, copy it again, and then paste it into your DNS. The goal is to strip any hidden formatting that might tag along when you enter or paste the record into your DNS, as this formatting can prevent Emma from reading those records. Finally, if your SPF record is flattened, hidden from public lookups, it is expected for the error to remain visible in Emma. I’ve added Emma to my SPF record, why are my Emma campaigns still showing SPF failures? It is expected for SPF to remain unaligned, even after you’ve added _spf.e2ma.net to your SPF record. This is because SPF is checked against an email's return-path. By default, emails that come from Emma’s servers will always use our domain for the return-path, so when SPF is checked for a mailing, a portion of it won't pass for your domain. At this time, it is not possible to update the return-path to a different domain. This should not interfere with DMARC because DMARC checks require SPF or DKIM, not both. As long as you have DKIM set up, your mailings should pass DMARC. The SPF status check tool is showing an error about the “maximum number of DNS lookups”, what does this mean? If you see an error message that says something like "Parsing the SPF record requires x/10 maximum DNS lookups", then you have most likely added our sending domain to your SPF record correctly. However, SPF records typically have a maximum of 10 “lookups” and your record has exceeded this limit. Resolving this error is not within Emma’s scope, so you’ll need to reach out to your IT team or DNS specialist for assistance. I don’t have an IT team and I don’t know how to do any of this. Where do I even put this record? We understand that authenticating your domain can feel overwhelming, especially for someone who may not have a lot of experience with these topics. Our goal is to make this process as smooth as possible for everyone, so we've created several resources that will hopefully help you feel a little more confident. All of those resources are listed in our overview of email authentication. As far as the DNS records are concerned, you or whoever manages your domain should be able to log in to the registrar that hosts your domain to create the required records. Every DNS provider looks a little different, so if you have specific questions about where to click or what to do, your registrar’s help documentation will be your best bet for guidance. We’ve collected a list of some popular domain providers and their instructions for how to edit DNS records. Just click on the link that corresponds to your domain provider; if you don’t see yours listed here, try visiting your provider’s website and searching their help documents, or contact their Support team. Amazon Route 53: Configuring DNS, DNS Record TypesBluehost: DNS ManagementCloudflare: Manage DNS RecordsDreamhost: DNS OverviewGoDaddy: Add a TXT RecordHostgator: Basics of DNS RecordsHover: Managing DNS RecordsIONOS: Managing TXT RecordsNamecheap: How to Add a TXT RecordNetwork Solutions: How to Manage DNS and Advanced DNS Records, Help & Support HomeSiteground: Manage Your DNS RecordsSquarespace: Accessing Your DNS Settings, Adding Custom DNS RecordsWix: Adding or Updating TXT RecordsWordPress: Manage Your DNS Records Additional Resources Allowlisting Emma's AddressesDeliverability HubDeliverability: Video LibraryDKIM and DeliverabilityDKIM Authentication SetupDKIM for Tiered AccountsDMARC Authentication SetupDomain Names and RegistrarsEmail Authentication: Frequently Asked QuestionsEmail Authentication: OverviewEmail Authentication: SecurityTitleSPF Authentication SetupURL Namespf-authentication-setup