{"id":2133,"date":"2020-07-24T12:27:03","date_gmt":"2020-07-24T10:27:03","guid":{"rendered":"https:\/\/woodpecker.co\/blog\/?p=2133"},"modified":"2025-01-21T10:17:03","modified_gmt":"2025-01-21T09:17:03","slug":"spf-dkim","status":"publish","type":"post","link":"https:\/\/woodpecker.co\/blog\/spf-dkim\/","title":{"rendered":"What is DKIM, SPF &#038; DMARC? And How to Set Them Up"},"content":{"rendered":"<p>This is serious. This is about your email deliverability. I know from my own experience that these acronyms may sound unfamiliar, scary and may seem totally uninteresting. Or maybe they sound familiar, but you never cared enough to check what they really are.<\/p>\n<p>Either way, it&#8217;s time to learn a bit about what <span id=\"urn:enhancement-9580da0f\" class=\"textannotation disambiguated wl-thing\">SPF,<\/span>\u00a0<span id=\"urn:enhancement-4e876fb6\" class=\"textannotation disambiguated wl-thing\">DKIM<\/span> and DMARC are and how to set them up in your <a href=\"https:\/\/woodpecker.co\/blog\/what-is-dns\/\" target=\"_blank\" rel=\"noopener noreferrer\">DNS records<\/a> for your mail server, if you want to have better control over your email deliverability. I&#8217;ll also show you where in Woodpecker you can check if they are set up properly.<\/p>\n<p>I&#8217;ll do my best to explain that in simple words, which\u00a0will be understood not only by programmers.<\/p>\n<h2 id=\"SPF\">What is SPF? How does SPF work?<\/h2>\n<p>Simply speaking, Sender Policy Framework (<span id=\"urn:enhancement-6f2e5bf9\" class=\"textannotation disambiguated wl-thing\">SPF<\/span>) is a security mechanism created to prevent the bad guys from sending emails on your behalf. The mechanism is all about communication between DNS servers&#8230; and this is the point when it all starts to sound scary! But don&#8217;t panic. I&#8217;ll try to keep it as simple as possible.<\/p>\n<p>Let&#8217;s say you&#8217;ve sent an email to Bob. But how does Bob&#8217;s DNS server know that the email was in fact sent by you? The problem is, it doesn&#8217;t really. Unless you have <span id=\"urn:enhancement-7b272321\" class=\"textannotation disambiguated wl-thing\">SPF<\/span> set on your DNS server.<\/p>\n<p><span id=\"urn:enhancement-3148e6a\" class=\"textannotation disambiguated wl-thing\">SPF<\/span>\u00a0defines which\u00a0IP addresses can be used to send emails from your domain. So let&#8217;s imagine two possible server &#8220;conversations&#8221;. To make it all easier, let&#8217;s assume your name is Mike.<\/p>\n<h3>Scenario 1 &#8211; You don&#8217;t have SPF set up.<\/h3>\n<p><strong>Mike&#8217;s\u00a0server:<\/strong> <em>Hey, Bob&#8217;s server. I&#8217;ve got a new message from Mike.<\/em><br \/>\n<strong>Bob&#8217;s server:<\/strong> <em>Hi Mike&#8217;s server. What&#8217;s your <span id=\"urn:enhancement-f95d6e5\" class=\"textannotation disambiguated wl-thing\">SPF<\/span>?<\/em><br \/>\n<strong>Mike&#8217;s\u00a0server:<\/strong> <em>Yeah, about the <span id=\"urn:enhancement-ba99cafd\" class=\"textannotation disambiguated wl-thing\">SPF<\/span>&#8230; Who cares, really. I don&#8217;t have one. Trust me, it&#8217;s from Mike.<\/em><br \/>\n<strong>Bob&#8217;s server<\/strong>: <em>If you don&#8217;t have <span id=\"urn:enhancement-ee5b3f24\" class=\"textannotation disambiguated wl-thing\">SPF<\/span>, I can&#8217;t be sure\u00a0it was Mike\u00a0who sent this. Give me Mike&#8217;s allowed IPs, so I can compare it with yours.<\/em><br \/>\n<strong>Mike&#8217;s\u00a0server:<\/strong> <em>I don&#8217;t have the list of Mike&#8217;s allowed IPs.<\/em><br \/>\n<strong>Bob&#8217;s server:<\/strong> <em>Then I don&#8217;t want your message. Delivery denied. Sorry, buddy&#8230;<\/em><\/p>\n<h3>Scenario 2 &#8211; You do have SPF set up.<\/h3>\n<p><strong>Mike&#8217;s\u00a0server:<\/strong> <em>Hey, Bob&#8217;s server. I&#8217;ve got a new message from Mike.<\/em><br \/>\n<strong>Bob&#8217;s server:<\/strong> <em>Hi Mike&#8217;s server. What&#8217;s your <span id=\"urn:enhancement-c1a781aa\" class=\"textannotation disambiguated wl-thing\">SPF<\/span>?<\/em><br \/>\n<strong>Mike&#8217;s server:<\/strong> <em>There you go, here&#8217;s my <span id=\"urn:enhancement-12bb624e\" class=\"textannotation disambiguated wl-thing\">SPF<\/span>.\u00a0There&#8217;s a whole list of IPs that Mike himself declared as the ones which\u00a0can be used on his behalf.<\/em><br \/>\n<strong>Bob&#8217;s server:<\/strong> <em>Ok, let me see&#8230; And the message\u00a0you have for me is sent from IP 64.233.160.19. Ok, it&#8217;s on the list. Everything looks fine. Gimme the message, I&#8217;ll show it to Bob. Thanks!<\/em><\/p>\n<p>My apologies to all tech-savvy readers of this blog for this ignorant oversimplification. Please forgive us dummies, and keep in mind that we do envy you your super-analytical minds.<\/p>\n<p>Anyway, the moral of those two short dialogues is: set your <span id=\"urn:enhancement-702668e4\" class=\"textannotation disambiguated wl-thing\">SPF<\/span>. If you don\u2019t, you risk having your <a href=\"https:\/\/www.aura.com\/learn\/how-does-email-get-hacked\">email hacked<\/a> or spoofed or you may look like a bad guy, and not all your emails will be delivered.<br \/>\n\n<aside class=\"cta-block cta-block--a-version js-cta-block ab-no-10-cta-block ab-no-11-cta-block\">\n  <p class=\"cta-block__heading u-heading-preset-md-600\">More emails to the main inbox<\/p>\n  <div class=\"cta-block__form-container\">\n    <form class=\"js-cta-block-form\" action=\"https:\/\/woodpecker.co\/signup\/\" class=\"cta-block__button-only-form js-cta-block-no-input-form\">\n      \n\n\n\n\n\n\n\n\n<button class=\"c-button js-button c-button--color-main c-button--size-small u-focus-visible-outline\">\nStart free trial\n<\/button>    <\/form>\n    \n    <form class=\"c-input-button-form js-cta-block-form cta-block__form\" action=\"https:\/\/woodpecker.co\/signup\/\" method=\"POST\" novalidate>\n        \n  <div class=\"c-form-field js-form-field  c-input-button-form__form-field\">\n    \n    <label class=\"c-label c-form-field__label\" for=\"cta-block-form-email-120529918\">Work email<\/label>\n\n                    \n  <input class=\"c-input  js-input c-input-button-form__input\" placeholder=\"will@woodpecker.co\" name=\"email\" id=\"cta-block-form-email-120529918\" type=\"email\" \/>\n            \n    <span class=\"c-form-field__error js-error\">\n                                      Invalid email format\n        \n\n                <\/span>\n  <\/div>\n\n        <div class=\"c-input-button-form__button\">\n          \n\n\n\n\n\n\n\n\n<button class=\"cta-block__button c-button js-button c-button--color-main c-button--size-small u-focus-visible-outline\">\n                Start free trial\n        \n\n<\/button>        <\/div>\n\n            <\/form>\n  <\/div>\n<\/aside><\/p>\n<p><aside class=\"cta-ebook-bundle js-cta-ebook-bundle ab-no-11-cta-ebook-bundle\">\n\t<div class=\"cta-ebook-bundle__container\">\n\t\t<div class=\"cta-ebook-bundle__content\">\n\t\t\t<div class=\"u-heading-preset-md-600\">\n\t\t\t\tSign up now and get our exclusive 3-ebook pack\n\t\t\t<\/div>\n\n\t\t\t<div class=\"cta-ebook-bundle__subheading u-heading-sm-400 u-text-l-400@mobile\">\n\t\t\t\t<span class=\"u-text-bg cta-ebook-bundle__accent\">Beginners Bundle<\/span> for free!\n\t\t\t<\/div>\n\n\t\t\t<img src=\"https:\/\/woodpecker.co\/blog\/app\/themes\/woodpecker-blog\/assets\/img\/cta-ebook-bundle-drawing.svg\" alt=\"\" class=\"cta-ebook-bundle__image\">\n\n\t\t\t\n    <form class=\"c-input-button-form js-cta-ebook-bundle-form\" action=\"https:\/\/woodpecker.co\/signup\/?variant=ebook-bundle\" method=\"POST\" novalidate>\n        \n  <div class=\"c-form-field js-form-field  c-input-button-form__form-field\">\n    \n    <label class=\"c-label c-form-field__label\">Work email<\/label>\n\n                    \n  <input class=\"c-input  js-input c-input-button-form__input\" placeholder=\"will@woodpecker.co\" name=\"email\" type=\"email\" \/>\n            \n    <span class=\"c-form-field__error js-error\">\n                          \t\t\t\t\tInvalid email format\n\t\t\t\t\n\n                <\/span>\n  <\/div>\n\n        <div class=\"c-input-button-form__button\">\n          \n\n\n\n\n\n\n\n\n<button class=\" c-button js-button c-button--color-main c-button--size-small u-focus-visible-outline\">\n    \t\t\t\t\tGet free TRIAL & ebook pack\n\t\t\t\t\n\n<\/button>        <\/div>\n\n            <\/form>\n\t\t<\/div>\n\t<\/div>\n<\/aside>\n<\/p>\n<h2>What apps should you include in your SPF?<\/h2>\n<p>The general idea is to make sure all applications that send emails on your behalf (and are using their own SMTP, not yours) are included in your <span id=\"urn:enhancement-bbd6de55\" class=\"textannotation disambiguated wl-thing\">SPF<\/span>. For instance, if you&#8217;re using Google Apps to send emails from your domain, you should put Google in your <span id=\"urn:enhancement-b974bea4\" class=\"textannotation disambiguated wl-thing\">SPF<\/span>. Here&#8217;s <a href=\"https:\/\/support.google.com\/a\/answer\/178723?hl=en\">Google&#8217;s instruction<\/a>\u00a0on how to do this.<\/p>\n<p>But it&#8217;s important to make sure, if Google is the only app that you should &#8220;allow&#8221; in your SPF. For instance, we\u2019re using HelpScout <a href=\"https:\/\/www.helpscout.com\/playlists\/customer-service-software\/\">customer service software<\/a> to manage our support emails and MailChimp to send our newsletters. We include both of them in our SPF.<\/p>\n<h3 id=\"should\">Should you include Woodpecker in my SPF as well?<\/h3>\n<p>No. Like I mentioned, you should remember to put into your <span id=\"urn:enhancement-7a35c232\" class=\"textannotation disambiguated wl-thing\">SPF record<\/span> the apps that send emails on your behalf, but are using their own SMTP. <span id=\"urn:enhancement-d671f455\" class=\"textannotation disambiguated wl-organization\">Woodpecker<\/span> uses your SMTP to send your emails, so it&#8217;s more of an online email client with super powers than a mass email\u00a0sending app.<\/p>\n<p>That said, the deliverability of the emails sent from <span id=\"urn:enhancement-53e67ceb\" class=\"textannotation disambiguated wl-organization\">Woodpecker<\/span> depends on the reputation of your domain. Setting <span id=\"urn:enhancement-1d11b268\" class=\"textannotation disambiguated wl-thing\">SPF<\/span> and\u00a0<span id=\"urn:enhancement-cdf2f75d\" class=\"textannotation disambiguated wl-thing\">DKIM<\/span> will help you protect the good reputation of your domain, and thus improve the deliverability of your emails.<\/p>\n<h2 id=\"firststep\">How to set up SPF record on your server step by step?<\/h2>\n<p>The first step is to check what is your current <span id=\"urn:enhancement-d0e8075d\" class=\"textannotation disambiguated wl-thing\">SPF record<\/span>. You can do that using tools like:<\/p>\n<ul>\n<li><a href=\"http:\/\/mxtoolbox.com\/SuperTool.aspx\">MxToolbox<br \/>\n<\/a><\/li>\n<li><a href=\"https:\/\/toolbox.googleapps.com\/apps\/checkmx\/check\">Google Apps Toolbox<\/a><\/li>\n<\/ul>\n<p>When you type in your domain there (for instance I would type in woodpecker.co), the tools will run some tests and show you your current <span id=\"urn:enhancement-8283731b\" class=\"textannotation disambiguated wl-thing\">SPF<\/span>, or a notification that it hasn&#8217;t been set yet.<\/p>\n<p id=\"nextsteps\">What are the next steps?<\/p>\n<p>Depending on your domain host, the steps will differ. Basically, it&#8217;s about pasting a properly structured line of text in the right place in the console.<\/p>\n<p>For instance, if you are using Google Apps to send all emails from your domain, the line would look like this:<\/p>\n<p><strong>&#8220;v=spf1 include:_spf.google.com ~all&#8221;<\/strong><\/p>\n<p>The &#8220;<strong>v=spf1<\/strong>&#8221; part of the record is called the version, and the ones that come after that are called mechanisms.<\/p>\n<p>Now let&#8217;s see what each part means exactly.<\/p>\n<ol>\n<li><strong>v=spf1<\/strong> this element identifies the record as an <span id=\"urn:enhancement-906459a3\" class=\"textannotation disambiguated wl-thing\">SPF<\/span><\/li>\n<li><strong>include:_spf.google.com<\/strong> this mechanism includes mail servers that are authorized servers<\/li>\n<li><strong>~all<\/strong> this one indicates that if an email is received from an unauthorized (not listed in the &#8220;include:&#8221; mechanism) server, it gets tagged as soft fail, which means it can be let through, but could be flagged as spam or suspicious.<\/li>\n<\/ol>\n<p>But if you&#8217;re using more apps than that (for instance something to send your newsletter, something to send your support messages, etc.), the line will be a bit longer, because you will have to include all the other apps in it. Or if you don&#8217;t use Google Apps but a server from another host, for instance, GoDaddy, the line will look different.<\/p>\n<p>Here&#8217;s how to set up SPF for the most common domain hosts:<\/p>\n<ul>\n<li><a href=\"https:\/\/support.google.com\/a\/answer\/33786?hl=en\">Google<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/pl-pl\/microsoft-365\/security\/office-365-security\/set-up-spf-in-office-365-to-help-prevent-spoofing\">Microsoft<\/a><\/li>\n<li><a href=\"https:\/\/www.zoho.com\/mail\/help\/adminconsole\/spf-configuration.html\">Zoho<\/a><\/li>\n<li><a href=\"https:\/\/www.namecheap.com\/support\/knowledgebase\/article.aspx\/317\/2237\/how-do-i-add-txtspfdkimdmarc-records-for-my-domain\">NameCheap<\/a><\/li>\n<li><a href=\"https:\/\/pl.godaddy.com\/help\/add-an-spf-record-19218\">GoDaddy<\/a><\/li>\n<li><a href=\"https:\/\/docs.aws.amazon.com\/ses\/latest\/DeveloperGuide\/spf.html\">Amazon SES<\/a><\/li>\n<\/ul>\n<p>Or\u00a0you can watch this step-by-step guide in which we explain how to do it:<\/p>\n<p><center><iframe loading=\"lazy\" title=\"How to set up an SPF record \u2013 Gmail &amp; Yahoo 2024 guidelines\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/ycdB0eFLkdo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p><\/center><br \/>\nIf you&#8217;re currently using or testing <a href=\"https:\/\/woodpecker.co\">Woodpecker<\/a> and you&#8217;re\u00a0not sure if your SPF is properly set, you may check it directly in the app: go to SETTINGS &gt; EMAIL ACCOUNTS &gt; click the gear next to your email &gt; DOMAIN CHECK-UP (on the left-hand side) or contact us at <a href=\"mailto:support@woodpecker.co\">support@woodpecker.co<\/a> to get some individual help.<br \/>\n\n<aside class=\"cta-block cta-block--a-version js-cta-block ab-no-10-cta-block ab-no-11-cta-block\">\n  <p class=\"cta-block__heading u-heading-preset-md-600\">Start improving deliverability for free<\/p>\n  <div class=\"cta-block__form-container\">\n    <form class=\"js-cta-block-form\" action=\"https:\/\/woodpecker.co\/signup\/\" class=\"cta-block__button-only-form js-cta-block-no-input-form\">\n      \n\n\n\n\n\n\n\n\n<button class=\"c-button js-button c-button--color-main c-button--size-small u-focus-visible-outline\">\nStart free trial\n<\/button>    <\/form>\n    \n    <form class=\"c-input-button-form js-cta-block-form cta-block__form\" action=\"https:\/\/woodpecker.co\/signup\/\" method=\"POST\" novalidate>\n        \n  <div class=\"c-form-field js-form-field  c-input-button-form__form-field\">\n    \n    <label class=\"c-label c-form-field__label\" for=\"cta-block-form-email-1186406420\">Work email<\/label>\n\n                    \n  <input class=\"c-input  js-input c-input-button-form__input\" placeholder=\"will@woodpecker.co\" name=\"email\" id=\"cta-block-form-email-1186406420\" type=\"email\" \/>\n            \n    <span class=\"c-form-field__error js-error\">\n                                      Invalid email format\n        \n\n                <\/span>\n  <\/div>\n\n        <div class=\"c-input-button-form__button\">\n          \n\n\n\n\n\n\n\n\n<button class=\"cta-block__button c-button js-button c-button--color-main c-button--size-small u-focus-visible-outline\">\n                Start free trial\n        \n\n<\/button>        <\/div>\n\n            <\/form>\n  <\/div>\n<\/aside><\/p>\n<p><aside class=\"cta-ebook-bundle js-cta-ebook-bundle ab-no-11-cta-ebook-bundle\">\n\t<div class=\"cta-ebook-bundle__container\">\n\t\t<div class=\"cta-ebook-bundle__content\">\n\t\t\t<div class=\"u-heading-preset-md-600\">\n\t\t\t\tSign up now and get our exclusive 3-ebook pack\n\t\t\t<\/div>\n\n\t\t\t<div class=\"cta-ebook-bundle__subheading u-heading-sm-400 u-text-l-400@mobile\">\n\t\t\t\t<span class=\"u-text-bg cta-ebook-bundle__accent\">Beginners Bundle<\/span> for free!\n\t\t\t<\/div>\n\n\t\t\t<img src=\"https:\/\/woodpecker.co\/blog\/app\/themes\/woodpecker-blog\/assets\/img\/cta-ebook-bundle-drawing.svg\" alt=\"\" class=\"cta-ebook-bundle__image\">\n\n\t\t\t\n    <form class=\"c-input-button-form js-cta-ebook-bundle-form\" action=\"https:\/\/woodpecker.co\/signup\/?variant=ebook-bundle\" method=\"POST\" novalidate>\n        \n  <div class=\"c-form-field js-form-field  c-input-button-form__form-field\">\n    \n    <label class=\"c-label c-form-field__label\">Work email<\/label>\n\n                    \n  <input class=\"c-input  js-input c-input-button-form__input\" placeholder=\"will@woodpecker.co\" name=\"email\" type=\"email\" \/>\n            \n    <span class=\"c-form-field__error js-error\">\n                          \t\t\t\t\tInvalid email format\n\t\t\t\t\n\n                <\/span>\n  <\/div>\n\n        <div class=\"c-input-button-form__button\">\n          \n\n\n\n\n\n\n\n\n<button class=\" c-button js-button c-button--color-main c-button--size-small u-focus-visible-outline\">\n    \t\t\t\t\tGet free TRIAL & ebook pack\n\t\t\t\t\n\n<\/button>        <\/div>\n\n            <\/form>\n\t\t<\/div>\n\t<\/div>\n<\/aside>\n<\/p>\n<h2 id=\"dkim\">What is DKIM?<\/h2>\n<p>DomainKeys Identified Mail (DKIM) standard has been created for the same reason as SPF: to prevent the\u00a0bad guys from impersonating you as an email sender. It&#8217;s a way to additionally sign your emails in\u00a0a way that will allow the recipient&#8217;s server check if the sender was really you or not.<\/p>\n<p>By setting DKIM on your DNS server, you&#8217;re adding additional\u00a0way to tell your receivers &#8220;yes, it&#8217;s really me who&#8217;s sending this message&#8221;.<\/p>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-11262\" src=\"https:\/\/woodpecker.co\/blog\/app\/uploads\/2020\/12\/dkim_i_spf-01-1.png\" alt=\"how to set up dkim and spf\" width=\"700\" height=\"465\" srcset=\"https:\/\/woodpecker.co\/blog\/app\/uploads\/2020\/12\/dkim_i_spf-01-1.png 700w, https:\/\/woodpecker.co\/blog\/app\/uploads\/2020\/12\/dkim_i_spf-01-1-300x199.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/>\n<p>&nbsp;<\/p>\n<p>The whole idea is based on encrypting and decrypting the additional signature, put in the <a href=\"https:\/\/support.google.com\/mail\/answer\/22454?hl=en\">header<\/a> of your message. To make that possible, you need to have two keys:<\/p>\n<ul>\n<li>the <strong>private key<\/strong> (which is unique to your domain and available exclusively to you. It allows you to encrypt your signature in the header of your messages.)<\/li>\n<li>the <strong>public key<\/strong> (which you add to your DNS records using DKIM standard, in order to allow your recipient&#8217;s server retrieve it and decrypt your hidden\u00a0signature from the header of your message).<\/li>\n<\/ul>\n<p>Take Game of Thrones to get the bigger picture of DKIM. Ned Stark is sending a raven with a message to king Robert. Everyone could take a piece of paper, write a message and sign it <em>Ned Stark<\/em>. But there&#8217;s a way to authenticate the message <span style=\"font-weight: 400;\">\u2013<\/span> the seal. Now, everyone knows that Ned&#8217;s seal is\u00a0a\u00a0direwolf (that&#8217;s the public key). But only Ned has the original seal and can set it on his messages (that&#8217;s the private key).<\/p>\n<img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/static-ssl.businessinsider.com\/image\/574c75aedd0895d2438b46e7-960-720\/sansa-is-writing-letters-with-the-stark-seal-this-episode-will-really-be-a-focal-point-of-the-starks-vengeance.jpg\" alt=\"Image result for direwolf seal\" \/>\n<p>Setting DKIM is just putting the information about the public key into your server&#8217;s records. It is also a txt record that needs to be put in the right place.<\/p>\n<p>Once you have set that up, each time someone gets an email from you, the receiver&#8217;s server will try to decrypt your hidden signature using\u00a0the public key. If it succeeds, this will additionally authenticate your message and in result increase the deliverability of all your emails.<\/p>\n<h2 id=\"howdkim\">How to set up DKIM record on your server step by step?<\/h2>\n<p>First, you need to generate the public key. To do that, you need to log in to your email&#8217;s provider admin console. The next steps may differ depending on your email provider.<\/p>\n<p>If you&#8217;re using Google Apps to send your emails, here&#8217;s a step-by-step\u00a0<a href=\"https:\/\/support.google.com\/a\/answer\/174124?hl=en\">instruction<\/a>. Google Apps email users, you should know that on default the DKIM signatures are turned off, so you need to turn them on manually in your Google Admin console.<\/p>\n<p>When you have the public key, you take the generated txt record and paste it in the right place into your DNS records.<\/p>\n<img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-6856 size-full\" src=\"https:\/\/woodpecker.co\/blog\/app\/uploads\/2016\/09\/domain-dkim-add.png\" alt=\"how to add dkim to a domain\" width=\"516\" height=\"387\" srcset=\"https:\/\/woodpecker.co\/blog\/app\/uploads\/2016\/09\/domain-dkim-add.png 516w, https:\/\/woodpecker.co\/blog\/app\/uploads\/2016\/09\/domain-dkim-add-300x225.png 300w\" sizes=\"(max-width: 516px) 100vw, 516px\" \/>\n<p>Finally, you need to turn on email signing to start sending emails including your signature encrypted\u00a0with your private key. Here&#8217;s <a href=\"https:\/\/support.google.com\/a\/answer\/180504\">how to do it<\/a>, if you&#8217;re using Google Apps to send your emails.<\/p>\n<p>Here&#8217;s how to set DKIM in some of the other domain hosts:<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.microsoft.com\/pl-pl\/microsoft-365\/security\/office-365-security\/use-dkim-to-validate-outbound-email\">Microsoft<\/a><\/li>\n<li><a href=\"https:\/\/www.zoho.com\/mail\/help\/adminconsole\/dkim-configuration.html\">Zoho<\/a><\/li>\n<li><a href=\"https:\/\/www.namecheap.com\/support\/knowledgebase\/article.aspx\/317\/2237\/how-do-i-add-txtspfdkimdmarc-records-for-my-domain\">NameCheap<\/a><\/li>\n<\/ul>\n<p>For more details, watch a video guide that explains how to do it:<\/p>\n<p><center><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/DMc0WkzWcFY\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/center><br \/>\nIf you&#8217;re currently using\u00a0<a href=\"https:\/\/woodpecker.co\">Woodpecker<\/a>\u00a0and don&#8217;t have an IT person\u00a0to ask for help with SPF and DKIM settings, you may contact us at support@woodpecker.co for\u00a0some individual help.<\/p>\n<p>If you&#8217;d like to check if your SPF and DKIM are set up properly, you may do so in the app. After logging in to Woodpecker, go to SETTINGS &gt; EMAIL ACCOUNTS &gt; click the gear next to your email &gt; DOMAIN CHECK-UP (on the left-hand side).<\/p>\n<h2>Set up SPF &amp; DKIM and improve your deliverability<\/h2>\n<p>If you&#8217;re sending lots of emails, whether it&#8217;s for marketing or for <a href=\"https:\/\/woodpecker.co\/blog\/inbound-outbound\/\">inbound or outbound sales<\/a>, the reputation of your domain is crucial and you should take really good care of it. You don&#8217;t want your domain to get on a\u00a0blacklist and your emails to end up in spam. Setting SPF and DKIM records properly on your DNS server is a necessary step towards the security of your domain and high\u00a0deliverability of your messages.<\/p>\n<p>Setting it up may seem complicated, but it&#8217;s undoubtedly worth the effort. If I were you, I&#8217;d go to my Woodpecker account and check if my SPF and DKIM are properly set right now or ask my IT guys to do it (if you&#8217;re not a Woodpecker user). And if it turned out that the answer is &#8220;no&#8221;, I&#8217;d ask them to help me out. And I wouldn&#8217;t let them to fob me off. Not with this one.<\/p>\n<p>Check also these four posts on email deliverability:<\/p>\n<ul>\n<li><strong><a href=\"https:\/\/woodpecker.co\/blog\/cold-email\/boost-cold-email-deliverability\/\">What Can We Do to Boost Our Cold Email Deliverability?\u00a0&gt;&gt;<\/a><\/strong><\/li>\n<li><strong><a href=\"https:\/\/woodpecker.co\/blog\/cold-email\/mailbox-for-outbound\/\">Why We Set up a Separate Mailbox for Outbound Campaigns?\u00a0&gt;&gt;<br \/>\n<\/a><\/strong><\/li>\n<li><strong><a href=\"https:\/\/woodpecker.co\/blog\/cold-email\/deliverability-faq\/\">Answers to 8 Frequently Asked Email Deliverability Questions &gt;&gt;<\/a><\/strong><\/li>\n<li><a href=\"https:\/\/woodpecker.co\/blog\/deliverability-checks\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>14 Deliverability Checks to Carry Out Before Sending Your\u00a0 <\/strong><strong>Cold Email Campaign &gt;&gt;<\/strong><\/a><\/li>\n<\/ul>\n<p>\n<aside class=\"cta-block cta-block--a-version js-cta-block ab-no-10-cta-block ab-no-11-cta-block\">\n  <p class=\"cta-block__heading u-heading-preset-md-600\">Send powerful emails &amp; boost replies<\/p>\n  <div class=\"cta-block__form-container\">\n    <form class=\"js-cta-block-form\" action=\"https:\/\/woodpecker.co\/signup\/\" class=\"cta-block__button-only-form js-cta-block-no-input-form\">\n      \n\n\n\n\n\n\n\n\n<button class=\"c-button js-button c-button--color-main c-button--size-small u-focus-visible-outline\">\nStart free trial\n<\/button>    <\/form>\n    \n    <form class=\"c-input-button-form js-cta-block-form cta-block__form\" action=\"https:\/\/woodpecker.co\/signup\/\" method=\"POST\" novalidate>\n        \n  <div class=\"c-form-field js-form-field  c-input-button-form__form-field\">\n    \n    <label class=\"c-label c-form-field__label\" for=\"cta-block-form-email-2085433295\">Work email<\/label>\n\n                    \n  <input class=\"c-input  js-input c-input-button-form__input\" placeholder=\"will@woodpecker.co\" name=\"email\" id=\"cta-block-form-email-2085433295\" type=\"email\" \/>\n            \n    <span class=\"c-form-field__error js-error\">\n                                      Invalid email format\n        \n\n                <\/span>\n  <\/div>\n\n        <div class=\"c-input-button-form__button\">\n          \n\n\n\n\n\n\n\n\n<button class=\"cta-block__button c-button js-button c-button--color-main c-button--size-small u-focus-visible-outline\">\n                Start free trial\n        \n\n<\/button>        <\/div>\n\n            <\/form>\n  <\/div>\n<\/aside><\/p>\n<h2 id=\"what-is-dmarc\">What is DMARC?<\/h2>\n<p>In a nutshell \u2013 it\u2019s an\u00a0<span id=\"urn:enhancement-db7a51a2\" class=\"textannotation disambiguated wl-thing\">email<\/span>\u00a0security measure that protects your domain against being used by the bad guys and gives you better control of your\u00a0<span id=\"urn:enhancement-ea27559a\" class=\"textannotation disambiguated wl-thing\">email<\/span>\u00a0deliverability. It\u2019s based on the SPF and\u00a0<span id=\"urn:enhancement-161cc519\" class=\"textannotation disambiguated wl-thing\">DKIM<\/span> mechanisms.<\/p>\n<p>The bizarre-sounding acronym stands for Domain-based Message Authentication, Reporting and Conformance. What does THAT mean, though?<\/p>\n<p>DMARC allows you to conclude if an\u00a0<span id=\"urn:enhancement-c5107012\" class=\"textannotation disambiguated wl-thing\">email<\/span>\u00a0you got was legitimately sent by the person who claims to have sent it. That\u2019s the authentication part.<\/p>\n<p>If the\u00a0<span id=\"urn:enhancement-9b216227\" class=\"textannotation disambiguated wl-thing\">email<\/span>\u00a0doesn\u2019t pass the DMARC test, it will be handled in line with the DMARC policy that has been set by the receiver (I describe it in detail later on in the article). That\u2019s the conformance part.<\/p>\n<p>DMARC also makes it possible for the receiver to send reports to the sender, describing how the message was handled: was it let through to the main\u00a0<span id=\"urn:enhancement-ca21821\" class=\"textannotation disambiguated wl-thing\">inbox<\/span>, did it end up in a spam folder or was it rejected. And that\u2019s the reporting part.<\/p>\n<p>All in all, DMARC allows\u00a0<span id=\"urn:enhancement-46ccc4e9\" class=\"textannotation disambiguated wl-thing\">email<\/span>\u00a0receivers to check if the incoming\u00a0<span id=\"urn:enhancement-9b7db845\" class=\"textannotation disambiguated wl-thing\">email<\/span>\u00a0matches with what they know about the sender. And if it doesn\u2019t, it tells the receivers\u2019 servers what they should do with such a message.<\/p>\n<p>It\u2019s not set up by default \u2013 you need to do it yourself if you want to put an additional\u00a0<span id=\"urn:enhancement-d64f7284\" class=\"textannotation disambiguated wl-thing\">email<\/span>\u00a0security measure on top of your SPF and\u00a0<span id=\"urn:enhancement-2f5ad128\" class=\"textannotation disambiguated wl-thing\">DKIM<\/span>\u00a0mechanisms.<\/p>\n<p>But why is it important?<\/p>\n<h2><a id=\"section2\"><\/a>Why does DMARC matter?<\/h2>\n<p>There are three reasons why DMARC is so valuable for\u00a0<span id=\"urn:enhancement-df51c221\" class=\"textannotation disambiguated wl-thing\">email<\/span>\u00a0users:<\/p>\n<h3>1. It\u2019s\u00a0<strong>a safety measure<\/strong>.<\/h3>\n<p>On the sender\u2019s end, it protects your domain against unauthorized use, e.g. by phishers who try to steal your personal information this way. On the receiver\u2019s end, it makes it harder for fraudulent\u00a0<span id=\"urn:enhancement-7fe37a22\" class=\"textannotation disambiguated wl-thing\">email<\/span>\u00a0to go through to your main\u00a0<span id=\"urn:enhancement-2a50899f\" class=\"textannotation disambiguated wl-thing\">inbox<\/span>.<\/p>\n<p>DMARC protects against domain spoofing, aka when somebody who isn\u2019t allowed to use your domain tries to pretend they\u2019re you or that they work at your company to trick someone into believing they\u2019re you. They do it to steal personal data, such as login details or a credit card number.<\/p>\n<h3>2. It helps you to\u00a0<strong>better control your\u00a0<span id=\"urn:enhancement-b5d63aa9\" class=\"textannotation disambiguated wl-thing\">email<\/span>\u00a0deliverability<\/strong>.<\/h3>\n<p>Another perk of employing DMARC is that you\u2019ll be able to better control how many of your\u00a0<span id=\"urn:enhancement-31faa5c3\" class=\"textannotation disambiguated wl-thing\">emails<\/span>\u00a0are considered legitimate and get to your recipients\u2019 main inboxes. And if someone\u2019s trying to impersonate you and send\u00a0<span id=\"urn:enhancement-7564d17b\" class=\"textannotation disambiguated wl-thing\">emails<\/span>\u00a0on your behalf, but I\u2019ll come back to that in a bit.<\/p>\n<h3>3. It\u00a0<strong>protects your brand reputation.<\/strong><\/h3>\n<p>If someone\u2019s pretending to be you and trying to trick people into giving them money or some personal info, it reflects badly on your brand. DMARC helps to avoid that.<\/p>\n<p>DMARC is published in the DNS by the domain owner, alongside SPF and\u00a0<span id=\"urn:enhancement-71c02a0c\" class=\"textannotation disambiguated wl-thing\">DKIM<\/span>. It\u2019s a simple one-line record.<\/p>\n<p>Here\u2019s an exemplary one:<\/p>\n<p>v=DMARC1; p=none; rua=mailto:sandra.wilk@woodpecker.co;<\/p>\n<h2><a id=\"section3\"><\/a>How does DMARC work?<\/h2>\n<p>DMARC specifies what has to happen for the message to go through to the inbox, and what will happen if the conditions aren\u2019t met.<\/p>\n<p>When an email is being tested by DMARC, 4 things might (or should) happen:<\/p>\n<ol>\n<li>DKIM pass \u2013 the additional signature put in the header needs to be validated: the private key matches the public key published in DNS.<\/li>\n<li>DKIM alignment \u2013 the parent domain matches the Header From domain.<\/li>\n<li>SPF pass \u2013 the receiving server will take the domain included in the Envelope From address and check for an existing SPF record (and it checks if the IP address is included in the SPF record).<\/li>\n<li>SPF alignment \u2013 the domain in Envelope From matches the domain in the email\u2019s Header From.<\/li>\n<\/ol>\n<img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-8005 size-full\" src=\"https:\/\/woodpecker.co\/blog\/app\/uploads\/2020\/04\/schemat__-2.png\" sizes=\"(max-width: 660px) 100vw, 660px\" srcset=\"https:\/\/woodpecker.co\/blog\/app\/uploads\/2020\/04\/schemat__-2.png 660w, https:\/\/woodpecker.co\/blog\/app\/uploads\/2020\/04\/schemat__-2-150x150.png 150w, https:\/\/woodpecker.co\/blog\/app\/uploads\/2020\/04\/schemat__-2-300x300.png 300w\" alt=\"schemat dmarc\" width=\"660\" height=\"658\" \/>\n<p>&nbsp;<\/p>\n<p>A message will fail DMARC if it fails both SPF and DKIM.<\/p>\n<p>Keep in mind, though, that if you forward a message, only the DKIM stays aligned.<\/p>\n<h3>Wait, but aren\u2019t SPF and DKIM already used to protect email?<\/h3>\n<p>The SPF and DKIM mechanisms both work to protect against unauthorized use. The thing is, though, that they work in isolation. There is no one universal law to say what the receiver should do when those fail. Every receiver handles such failed messages differently. So for example, one receiver may redirect it straight away to the junk folder, while another will put it to some additional tests to determine where it should go.<\/p>\n<p>Not to mention the domain owner never gets any info about his emails and if they reached the recipient\u2019s main inbox.<\/p>\n<p>DMARC allows us to define our own rules on how to handle an email that doesn\u2019t comply, reducing the risk of our domain being spoofed.<\/p>\n<p>It also allows us to report back to the sender.<\/p>\n<p>Adding a DMARC record to DNS will allow you to set rules for the incoming emails: should they be quarantined, rejected or let through?<\/p>\n<p>\n<aside class=\"cta-block cta-block--a-version js-cta-block ab-no-10-cta-block ab-no-11-cta-block\">\n  <p class=\"cta-block__heading u-heading-preset-md-600\">Send powerful emails &amp; boost replies<\/p>\n  <div class=\"cta-block__form-container\">\n    <form class=\"js-cta-block-form\" action=\"https:\/\/woodpecker.co\/signup\/\" class=\"cta-block__button-only-form js-cta-block-no-input-form\">\n      \n\n\n\n\n\n\n\n\n<button class=\"c-button js-button c-button--color-main c-button--size-small u-focus-visible-outline\">\nStart free trial\n<\/button>    <\/form>\n    \n    <form class=\"c-input-button-form js-cta-block-form cta-block__form\" action=\"https:\/\/woodpecker.co\/signup\/\" method=\"POST\" novalidate>\n        \n  <div class=\"c-form-field js-form-field  c-input-button-form__form-field\">\n    \n    <label class=\"c-label c-form-field__label\" for=\"cta-block-form-email-2044110830\">Work email<\/label>\n\n                    \n  <input class=\"c-input  js-input c-input-button-form__input\" placeholder=\"will@woodpecker.co\" name=\"email\" id=\"cta-block-form-email-2044110830\" type=\"email\" \/>\n            \n    <span class=\"c-form-field__error js-error\">\n                                      Invalid email format\n        \n\n                <\/span>\n  <\/div>\n\n        <div class=\"c-input-button-form__button\">\n          \n\n\n\n\n\n\n\n\n<button class=\"cta-block__button c-button js-button c-button--color-main c-button--size-small u-focus-visible-outline\">\n                Start free trial\n        \n\n<\/button>        <\/div>\n\n            <\/form>\n  <\/div>\n<\/aside><\/p>\n<h2 id=\"dmarc-policies-and-reporting\"><a id=\"section4\"><\/a>DMARC policies and reporting<\/h2>\n<p>There are three possible DMARC policies:<\/p>\n<ul>\n<li>None<\/li>\n<li>Quarantine<\/li>\n<li>Reject<\/li>\n<\/ul>\n<p>In email this means that with a \u2018none\u2019 policy all the emails will go through, even if they don\u2019t pass the SPF and\/or DKIM test. With a \u2018quarantine\u2019 policy set up, the ones that don\u2019t pass will be redirected to the spam folder. And with a \u2018reject\u2019 policy, they\u2019ll bounce.<\/p>\n<p>A couple days after you publish a DMARC record in DNS, you\u2019ll start getting reports from ISPs. Those will include stats about all emails sent from your domain (including those that claim to come from your domain).<\/p>\n<p>If you see more emails than you\u2019ve really sent, this means someone other than you is using your domain. The report will give you a clear overview on where the emails come from and if they\u2019d be halted by a \u201cquarantine\u201d or \u201creject\u201d policy.<\/p>\n<p>These reports will allow you to assess the health of your outgoing messages. What elements do they include? How the messages were handled (in line with the DMARC policies that have been set up), IP addresses that have used your domain to send emails (as well as how many messages have been sent), and SPF and DKIM results.<\/p>\n<p>The reports can be read with a\u00a0<a class=\"inlinks\" href=\"https:\/\/woodpecker.co\/blog\/prospect-list-building-tools\/\">tool such as\u00a0<\/a><a href=\"https:\/\/dmarc.postmarkapp.com\/\">Postmark<\/a>\u00a0or\u00a0<a href=\"https:\/\/dmarcian.com\/xml-to-human-converter\/\">dmarcian<\/a>.<\/p>\n<h2 id=\"how-to-set-up-dmarc\"><a id=\"section5\"><\/a>How to set up DMARC?<\/h2>\n<ol>\n<li>Set up SPF and DKIM<br \/>\nFirst things first: you need to make sure your SPF and DKIM records are set up. If you\u2019ve thought about your deliverability before, chances are you\u2019ve already crossed that off your list.<\/li>\n<li>Generate a DMARC record, e.g.\u00a0<a href=\"https:\/\/dmarcian.com\/dmarc-record-wizard\/\">here<\/a>.<br \/>\nFor now, choose the \u2018none\u2019 policy for all emails.<\/li>\n<li>Add your DMARC record to DNS<\/li>\n<li>Modify the policy according to data as you go<\/li>\n<\/ol>\n<p>Analyze several reports that you get and once you know how to maneuver through the DMARC policies, switch from \u2018none\u2019 to \u2018quarantine\u2019, and later on to \u2018reject\u2019.<\/p>\n<h2 id=\"over-to-you\">Over to you<\/h2>\n<p>A combination of SPF, DKIM and DMARC is deemed to be the golden trio of email authentication. SPF and DKIM are better known and more widely used. Right now DMARC is more of a nice-to-have than a must-have, but this will probably change in the future as more and more people are setting it up for better domain protection against spoofing and phishing.<\/p>\n<p>\n<aside class=\"cta-block cta-block--a-version js-cta-block ab-no-10-cta-block ab-no-11-cta-block\">\n  <p class=\"cta-block__heading u-heading-preset-md-600\">Start sending powerful cold emails<\/p>\n  <div class=\"cta-block__form-container\">\n    <form class=\"js-cta-block-form\" action=\"https:\/\/woodpecker.co\/signup\/\" class=\"cta-block__button-only-form js-cta-block-no-input-form\">\n      \n\n\n\n\n\n\n\n\n<button class=\"c-button js-button c-button--color-main c-button--size-small u-focus-visible-outline\">\nStart free trial\n<\/button>    <\/form>\n    \n    <form class=\"c-input-button-form js-cta-block-form cta-block__form\" action=\"https:\/\/woodpecker.co\/signup\/\" method=\"POST\" novalidate>\n        \n  <div class=\"c-form-field js-form-field  c-input-button-form__form-field\">\n    \n    <label class=\"c-label c-form-field__label\" for=\"cta-block-form-email-1592101048\">Work email<\/label>\n\n                    \n  <input class=\"c-input  js-input c-input-button-form__input\" placeholder=\"will@woodpecker.co\" name=\"email\" id=\"cta-block-form-email-1592101048\" type=\"email\" \/>\n            \n    <span class=\"c-form-field__error js-error\">\n                                      Invalid email format\n        \n\n                <\/span>\n  <\/div>\n\n        <div class=\"c-input-button-form__button\">\n          \n\n\n\n\n\n\n\n\n<button class=\"cta-block__button c-button js-button c-button--color-main c-button--size-small u-focus-visible-outline\">\n                Start free trial\n        \n\n<\/button>        <\/div>\n\n            <\/form>\n  <\/div>\n<\/aside><\/p>\n<p><aside class=\"cta-ebook-bundle js-cta-ebook-bundle ab-no-11-cta-ebook-bundle\">\n\t<div class=\"cta-ebook-bundle__container\">\n\t\t<div class=\"cta-ebook-bundle__content\">\n\t\t\t<div class=\"u-heading-preset-md-600\">\n\t\t\t\tSign up now and get our exclusive 3-ebook pack\n\t\t\t<\/div>\n\n\t\t\t<div class=\"cta-ebook-bundle__subheading u-heading-sm-400 u-text-l-400@mobile\">\n\t\t\t\t<span class=\"u-text-bg cta-ebook-bundle__accent\">Beginners Bundle<\/span> for free!\n\t\t\t<\/div>\n\n\t\t\t<img src=\"https:\/\/woodpecker.co\/blog\/app\/themes\/woodpecker-blog\/assets\/img\/cta-ebook-bundle-drawing.svg\" alt=\"\" class=\"cta-ebook-bundle__image\">\n\n\t\t\t\n    <form class=\"c-input-button-form js-cta-ebook-bundle-form\" action=\"https:\/\/woodpecker.co\/signup\/?variant=ebook-bundle\" method=\"POST\" novalidate>\n        \n  <div class=\"c-form-field js-form-field  c-input-button-form__form-field\">\n    \n    <label class=\"c-label c-form-field__label\">Work email<\/label>\n\n                    \n  <input class=\"c-input  js-input c-input-button-form__input\" placeholder=\"will@woodpecker.co\" name=\"email\" type=\"email\" \/>\n            \n    <span class=\"c-form-field__error js-error\">\n                          \t\t\t\t\tInvalid email format\n\t\t\t\t\n\n                <\/span>\n  <\/div>\n\n        <div class=\"c-input-button-form__button\">\n          \n\n\n\n\n\n\n\n\n<button class=\" c-button js-button c-button--color-main c-button--size-small u-focus-visible-outline\">\n    \t\t\t\t\tGet free TRIAL & ebook pack\n\t\t\t\t\n\n<\/button>        <\/div>\n\n            <\/form>\n\t\t<\/div>\n\t<\/div>\n<\/aside>\n<\/p>\n<h2>FAQ<\/h2>\n<h3>What is an SPF record and why is it important?<\/h3>\n<p>An SPF (Sender Policy Framework) record is a type of DNS record that specifies which IP addresses are authorized to send email messages on behalf of a domain. It is important because it helps prevent phishing attacks and ensures email authentication, reducing the likelihood of emails being marked as spam.<\/p>\n<h3>How does domain-based message authentication work?<\/h3>\n<p>Domain-based message authentication works by using DNS records to verify that email messages are sent from authorized servers. It involves protocols like SPF, DKIM (DomainKeys Identified Mail), and DMARC (Domain-based Message Authentication, Reporting, and Conformance) to ensure the legitimacy of the email sender.<\/p>\n<h3>What is DomainKeys Identified Mail (DKIM) and how does it enhance email security?<\/h3>\n<p>DKIM is an email authentication protocol that adds a digital signature to email messages. This signature is verified by the receiving mail server to ensure that the email has not been altered during transit and that it is from a legitimate source. This enhances email security by preventing email spoofing.<\/p>\n<h3>Why are DNS records important for email authentication?<\/h3>\n<p>DNS records are important for email authentication because they store information about which IP addresses are authorized to send emails for a domain. Records like SPF, DKIM, and DMARC help verify the authenticity of email messages and prevent unauthorized use of the domain for sending emails.<\/p>\n<h3>What role do IP addresses play in SPF and DKIM?<\/h3>\n<p>IP addresses play a crucial role in SPF and DKIM by identifying the mail servers that are permitted to send email messages on behalf of a domain. In SPF records, specific IP addresses are listed to validate the email source, while DKIM uses cryptographic signatures linked to domain-specific IP addresses.<\/p>\n<h3>How can a domain owner set up SPF records?<\/h3>\n<p>A domain owner can set up SPF records by adding a TXT record to their domain&#8217;s DNS settings. This record should include a list of authorized IP addresses or email service providers allowed to send email on behalf of the domain. The SPF record helps in verifying the sender&#8217;s legitimacy and preventing email spoofing.<\/p>\n<h3>What is the purpose of an email service provider in email authentication?<\/h3>\n<p>An email service provider (ESP) facilitates email delivery and ensures that the email messages comply with authentication protocols like SPF, DKIM, and DMARC. They help manage DNS records, provide necessary infrastructure, and ensure that emails are not marked as spam, enhancing overall email security.<\/p>\n<h3>How can SPF authentication help prevent phishing attacks?<\/h3>\n<p>SPF authentication helps prevent phishing attacks by verifying that incoming email messages are sent from authorized IP addresses. If the email originates from an unauthorized source, it is either rejected or marked as suspicious, thus protecting recipients from potential phishing attempts.<\/p>\n<h3>What are DNS TXT records and how are they used in email authentication?<\/h3>\n<p>DNS TXT records are text-based records in the DNS system that store various types of data, including SPF, DKIM, and DMARC configurations. These records are used in email authentication to specify which servers are permitted to send emails on behalf of a domain and to validate the integrity and authenticity of email messages.<\/p>\n<h3>Why might email messages end up in the spam folder, and how can SPF, DKIM, and DMARC help?<\/h3>\n<p>Email messages might end up in the spam folder if they fail authentication checks, are sent from unauthorized IP addresses, or contain suspicious content. Implementing SPF, DKIM, and DMARC protocols helps ensure that email messages are authenticated and come from legitimate sources, thereby reducing the likelihood of them being marked as spam.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is serious. This is about your email deliverability. I know from my own experience that these acronyms may sound unfamiliar, scary and may seem totally uninteresting. Or maybe they sound familiar, but you never cared enough to check what they really are. Either way, it&#8217;s time to learn a bit about what SPF, DKIM and DMARC are and how to set them up in your DNS records for your mail server, if you want to have better control over your email deliverability.<\/p>\n","protected":false},"author":17,"featured_media":9215,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13],"tags":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.11 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SPF, DKIM &amp; DMARC: What Is It? How to Set It Up<\/title>\n<meta name=\"description\" content=\"SPF, DKIM &amp; DMARC guide. Learn what they are and how to set them up in your DNS records, for better control over your email deliverability.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/woodpecker.co\/blog\/spf-dkim\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SPF, DKIM &amp; DMARC: What Is It? How to Set It Up\" \/>\n<meta property=\"og:description\" content=\"SPF, DKIM &amp; DMARC guide. Learn what they are and how to set them up in your DNS records, for better control over your email deliverability.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/woodpecker.co\/blog\/spf-dkim\/\" \/>\n<meta property=\"og:site_name\" content=\"Woodpecker Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/business.facebook.com\/woodpeckerapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-24T10:27:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-21T09:17:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/woodpecker.co\/blog\/app\/uploads\/2020\/07\/What_is_DKIM__SPF_And_How_to_Set_It_Up__2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"650\" \/>\n\t<meta property=\"og:image:height\" content=\"391\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Margaret Sikora\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@woodpeckerapp\" \/>\n<meta name=\"twitter:site\" content=\"@woodpeckerapp\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/woodpecker.co\/blog\/spf-dkim\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/woodpecker.co\/blog\/spf-dkim\/\"},\"author\":{\"name\":\"Margaret Sikora\",\"@id\":\"https:\/\/woodpecker.co\/blog\/#\/schema\/person\/dbd5fae1eeb41a0caf2e2c7bda48059f\"},\"headline\":\"What is DKIM, SPF &#038; DMARC? And How to Set Them Up\",\"datePublished\":\"2020-07-24T10:27:03+00:00\",\"dateModified\":\"2025-01-21T09:17:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/woodpecker.co\/blog\/spf-dkim\/\"},\"wordCount\":3746,\"commentCount\":11,\"publisher\":{\"@id\":\"https:\/\/woodpecker.co\/blog\/#organization\"},\"articleSection\":[\"Deliverability\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/woodpecker.co\/blog\/spf-dkim\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/woodpecker.co\/blog\/spf-dkim\/\",\"url\":\"https:\/\/woodpecker.co\/blog\/spf-dkim\/\",\"name\":\"SPF, DKIM & DMARC: What Is It? How to Set It Up\",\"isPartOf\":{\"@id\":\"https:\/\/woodpecker.co\/blog\/#website\"},\"datePublished\":\"2020-07-24T10:27:03+00:00\",\"dateModified\":\"2025-01-21T09:17:03+00:00\",\"description\":\"SPF, DKIM & DMARC guide. Learn what they are and how to set them up in your DNS records, for better control over your email deliverability.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/woodpecker.co\/blog\/spf-dkim\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/woodpecker.co\/blog\/#website\",\"url\":\"https:\/\/woodpecker.co\/blog\/\",\"name\":\"Woodpecker Blog\",\"description\":\"Woodpecker Blog - Pro Tips on Cold Emails, Follow-ups, Sales &amp; Growth\",\"publisher\":{\"@id\":\"https:\/\/woodpecker.co\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/woodpecker.co\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/woodpecker.co\/blog\/#organization\",\"name\":\"Woodpecker.co\",\"url\":\"https:\/\/woodpecker.co\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/woodpecker.co\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/woodpecker.co\/blog\/app\/uploads\/2015\/06\/WP_Logo_WersjaPodstawowa_Pionowa_CzarneTlo_RGB.jpg\",\"contentUrl\":\"https:\/\/woodpecker.co\/blog\/app\/uploads\/2015\/06\/WP_Logo_WersjaPodstawowa_Pionowa_CzarneTlo_RGB.jpg\",\"width\":1240,\"height\":874,\"caption\":\"Woodpecker.co\"},\"image\":{\"@id\":\"https:\/\/woodpecker.co\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/business.facebook.com\/woodpeckerapp\",\"https:\/\/twitter.com\/woodpeckerapp\",\"https:\/\/www.instagram.com\/woodpeckerapp\/\",\"https:\/\/www.linkedin.com\/company\/woodpecker-co\/\",\"https:\/\/www.youtube.com\/channel\/UCNN9wM55yaNI-KEZCfh66_A\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/woodpecker.co\/blog\/#\/schema\/person\/dbd5fae1eeb41a0caf2e2c7bda48059f\",\"name\":\"Margaret Sikora\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/woodpecker.co\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/285df23338966e859f136eed9706c0a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/285df23338966e859f136eed9706c0a6?s=96&d=mm&r=g\",\"caption\":\"Margaret Sikora\"},\"description\":\"Product Manager and DPO at Woodpecker. A lawyer who gets the SaaS business, understands customers' needs, and speaks the language of IT guys.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/margaretsikora\/\",\"https:\/\/www.instagram.com\/margaret.sikora.official\"],\"url\":\"https:\/\/woodpecker.co\/blog\/author\/gosia-sikora\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SPF, DKIM & DMARC: What Is It? How to Set It Up","description":"SPF, DKIM & DMARC guide. Learn what they are and how to set them up in your DNS records, for better control over your email deliverability.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/woodpecker.co\/blog\/spf-dkim\/","og_locale":"en_US","og_type":"article","og_title":"SPF, DKIM & DMARC: What Is It? How to Set It Up","og_description":"SPF, DKIM & DMARC guide. Learn what they are and how to set them up in your DNS records, for better control over your email deliverability.","og_url":"https:\/\/woodpecker.co\/blog\/spf-dkim\/","og_site_name":"Woodpecker Blog","article_publisher":"https:\/\/business.facebook.com\/woodpeckerapp","article_published_time":"2020-07-24T10:27:03+00:00","article_modified_time":"2025-01-21T09:17:03+00:00","og_image":[{"width":650,"height":391,"url":"https:\/\/woodpecker.co\/blog\/app\/uploads\/2020\/07\/What_is_DKIM__SPF_And_How_to_Set_It_Up__2.png","type":"image\/png"}],"author":"Margaret Sikora","twitter_card":"summary_large_image","twitter_creator":"@woodpeckerapp","twitter_site":"@woodpeckerapp","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/woodpecker.co\/blog\/spf-dkim\/#article","isPartOf":{"@id":"https:\/\/woodpecker.co\/blog\/spf-dkim\/"},"author":{"name":"Margaret Sikora","@id":"https:\/\/woodpecker.co\/blog\/#\/schema\/person\/dbd5fae1eeb41a0caf2e2c7bda48059f"},"headline":"What is DKIM, SPF &#038; DMARC? And How to Set Them Up","datePublished":"2020-07-24T10:27:03+00:00","dateModified":"2025-01-21T09:17:03+00:00","mainEntityOfPage":{"@id":"https:\/\/woodpecker.co\/blog\/spf-dkim\/"},"wordCount":3746,"commentCount":11,"publisher":{"@id":"https:\/\/woodpecker.co\/blog\/#organization"},"articleSection":["Deliverability"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/woodpecker.co\/blog\/spf-dkim\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/woodpecker.co\/blog\/spf-dkim\/","url":"https:\/\/woodpecker.co\/blog\/spf-dkim\/","name":"SPF, DKIM & DMARC: What Is It? How to Set It Up","isPartOf":{"@id":"https:\/\/woodpecker.co\/blog\/#website"},"datePublished":"2020-07-24T10:27:03+00:00","dateModified":"2025-01-21T09:17:03+00:00","description":"SPF, DKIM & DMARC guide. Learn what they are and how to set them up in your DNS records, for better control over your email deliverability.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/woodpecker.co\/blog\/spf-dkim\/"]}]},{"@type":"WebSite","@id":"https:\/\/woodpecker.co\/blog\/#website","url":"https:\/\/woodpecker.co\/blog\/","name":"Woodpecker Blog","description":"Woodpecker Blog - Pro Tips on Cold Emails, Follow-ups, Sales &amp; Growth","publisher":{"@id":"https:\/\/woodpecker.co\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/woodpecker.co\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/woodpecker.co\/blog\/#organization","name":"Woodpecker.co","url":"https:\/\/woodpecker.co\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/woodpecker.co\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/woodpecker.co\/blog\/app\/uploads\/2015\/06\/WP_Logo_WersjaPodstawowa_Pionowa_CzarneTlo_RGB.jpg","contentUrl":"https:\/\/woodpecker.co\/blog\/app\/uploads\/2015\/06\/WP_Logo_WersjaPodstawowa_Pionowa_CzarneTlo_RGB.jpg","width":1240,"height":874,"caption":"Woodpecker.co"},"image":{"@id":"https:\/\/woodpecker.co\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/business.facebook.com\/woodpeckerapp","https:\/\/twitter.com\/woodpeckerapp","https:\/\/www.instagram.com\/woodpeckerapp\/","https:\/\/www.linkedin.com\/company\/woodpecker-co\/","https:\/\/www.youtube.com\/channel\/UCNN9wM55yaNI-KEZCfh66_A"]},{"@type":"Person","@id":"https:\/\/woodpecker.co\/blog\/#\/schema\/person\/dbd5fae1eeb41a0caf2e2c7bda48059f","name":"Margaret Sikora","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/woodpecker.co\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/285df23338966e859f136eed9706c0a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/285df23338966e859f136eed9706c0a6?s=96&d=mm&r=g","caption":"Margaret Sikora"},"description":"Product Manager and DPO at Woodpecker. A lawyer who gets the SaaS business, understands customers' needs, and speaks the language of IT guys.","sameAs":["https:\/\/www.linkedin.com\/in\/margaretsikora\/","https:\/\/www.instagram.com\/margaret.sikora.official"],"url":"https:\/\/woodpecker.co\/blog\/author\/gosia-sikora\/"}]}},"_links":{"self":[{"href":"https:\/\/woodpecker.co\/blog\/wp-json\/wp\/v2\/posts\/2133"}],"collection":[{"href":"https:\/\/woodpecker.co\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/woodpecker.co\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/woodpecker.co\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/woodpecker.co\/blog\/wp-json\/wp\/v2\/comments?post=2133"}],"version-history":[{"count":33,"href":"https:\/\/woodpecker.co\/blog\/wp-json\/wp\/v2\/posts\/2133\/revisions"}],"predecessor-version":[{"id":27882,"href":"https:\/\/woodpecker.co\/blog\/wp-json\/wp\/v2\/posts\/2133\/revisions\/27882"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/woodpecker.co\/blog\/wp-json\/wp\/v2\/media\/9215"}],"wp:attachment":[{"href":"https:\/\/woodpecker.co\/blog\/wp-json\/wp\/v2\/media?parent=2133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/woodpecker.co\/blog\/wp-json\/wp\/v2\/categories?post=2133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/woodpecker.co\/blog\/wp-json\/wp\/v2\/tags?post=2133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}