{"id":55,"date":"2010-12-27T19:52:31","date_gmt":"2010-12-27T19:52:31","guid":{"rendered":"http:\/\/greatmail.com\/blog\/?p=55"},"modified":"2025-10-21T03:16:47","modified_gmt":"2025-10-21T03:16:47","slug":"sender-authentication-with-dkim-and-spf","status":"publish","type":"post","link":"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/","title":{"rendered":"Sender Authentication with DKIM and SPF"},"content":{"rendered":"<p>Sender authentication technologies like DomainKeys Identified Mail (DKIM) and Sender Policy Framework (SPF) not only help control spam but also\u00a0improve deliverability of legitimate messages. Consequently,\u00a0these systems are\u00a0of interest to both email administrators and email marketers.<\/p>\n<p>What is sender authentication? In the most general sense, sender authentication measures the validity of a message source, and\u00a0this information\u00a0is used by\u00a0recipient servers to improve filtering and handling. Passing results should indicate the message\u00a0is of reputable origin; negative results may\u00a0mean further scrutiny through spam filtering or message blocking.<\/p>\n<p>Both SPF and DKIM attempt to validate the authenticity of a message sender by looking at the sending domain and qualifying that the server sending the message is legitimate.\u00a0 However, SPF and DKIM each approach this task differently and\u00a0have their own unique methodologies and\u00a0implementations.<\/p>\n<p>The primary objective of SPF is to <a href=\"http:\/\/greatmail.com\/blog\/email-hosting\/implementing-sender-policy-framework-spf\/\">control forged email<\/a>. SPF is a relatively simple system that utilizes text entries in the domain&#8217;s DNS allowing domain owners to specify what servers are permitted to send mail on behalf of\u00a0a particular\u00a0domain.\u00a0 SPF depends on the recipient server utilizing SPF lookups to validate that messages are authentic. Most server side spam filters like <a href=\"http:\/\/spamassassin.apache.org\/\">SpamAssassin<\/a>\u00a0perform\u00a0SPF lookups when filtering incoming mail.<\/p>\n<p>DKIM, on the other hand, &#8220;lets an organization take responsibility for a message while it is in transit,&#8221; as\u00a0stated on the <a href=\"http:\/\/www.dkim.org\/\">DKIM.org<\/a> website. Compared to SPF, DKIM is a more advanced system utilizing cryptographic authentication\u00a0to verify a signature assigned to\u00a0a message on the sender&#8217;s server.\u00a0 DKIM requires configuration support on the SMTP server in addition to DNS entries that must be made on the sender&#8217;s domain.<\/p>\n<p>Unlike Sender Policy Framework (SPF) which authenticates\u00a0a message at the envelope level using the Return-Path header, DKIM validates a message using the From header.\u00a0 Because spammers commonly forge both of these headers, utilizing SPF and DKIM is good practice ensuring that a message originates from a valid server and is signed by an authorized handler for the domain.<\/p>\n<p>Setting up SPF simply requires adding a text entry to\u00a0your domain&#8217;s DNS.\u00a0 Most hosts or DNS providers can provide the necessary information to make this entry. In addition, there are several SPF wizards on the Internet and tutorials explaining SPF syntax. If you send from multiple servers, it is important to be sure to include all of these servers in your SPF entry.<\/p>\n<p>DKIM configuration is a bit more complicated than SPF and requires server side components to handle the DKIM signature.\u00a0 Most <a href=\"https:\/\/www.greatmail.com\/email-hosting.php\">email hosting providers<\/a>\u00a0support DKIM\u00a0and can assist you with setting up DomainKeys for your domain and making the necessary text entries in\u00a0your DNS to enable DKIM signing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sender authentication technologies like DomainKeys Identified Mail (DKIM) and Sender Policy Framework (SPF) not only help control spam but also\u00a0improve deliverability of legitimate messages. Consequently,\u00a0these systems are\u00a0of interest to both email administrators and email marketers. What is sender authentication? In the most general sense, sender authentication measures the validity of a message source, and\u00a0this information\u00a0is &#8230; <a title=\"Sender Authentication with DKIM and SPF\" class=\"read-more\" href=\"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/\" aria-label=\"Read more about Sender Authentication with DKIM and SPF\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,31,41],"tags":[44,46,47,45,48,21,22],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-email-hosting","category-email-marketing","category-spam-control","tag-dkim","tag-dkim-signing","tag-domainkeys","tag-domainkeys-identified-mail","tag-sender-authentication","tag-sender-policy-framework","tag-spf"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Sender Authentication with DKIM and SPF - Greatmail Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sender Authentication with DKIM and SPF - Greatmail Blog\" \/>\n<meta property=\"og:description\" content=\"Sender authentication technologies like DomainKeys Identified Mail (DKIM) and Sender Policy Framework (SPF) not only help control spam but also\u00a0improve deliverability of legitimate messages. Consequently,\u00a0these systems are\u00a0of interest to both email administrators and email marketers. What is sender authentication? In the most general sense, sender authentication measures the validity of a message source, and\u00a0this information\u00a0is ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/\" \/>\n<meta property=\"og:site_name\" content=\"Greatmail Blog\" \/>\n<meta property=\"article:published_time\" content=\"2010-12-27T19:52:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-21T03:16:47+00:00\" \/>\n<meta name=\"author\" content=\"GM Blog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@greatmail\" \/>\n<meta name=\"twitter:site\" content=\"@greatmail\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"GM Blog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/\"},\"author\":{\"name\":\"GM Blog\",\"@id\":\"https:\/\/www.greatmail.com\/blog\/#\/schema\/person\/3091b48c29517d91ea1686aabc4c080b\"},\"headline\":\"Sender Authentication with DKIM and SPF\",\"datePublished\":\"2010-12-27T19:52:31+00:00\",\"dateModified\":\"2025-10-21T03:16:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/\"},\"wordCount\":460,\"publisher\":{\"@id\":\"https:\/\/www.greatmail.com\/blog\/#organization\"},\"keywords\":[\"dkim\",\"DKIM Signing\",\"DomainKeys\",\"DomainKeys Identified Mail\",\"Sender Authentication\",\"Sender Policy Framework\",\"SPF\"],\"articleSection\":[\"Email Hosting\",\"Email Marketing\",\"Spam Control\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/\",\"url\":\"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/\",\"name\":\"Sender Authentication with DKIM and SPF - Greatmail Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.greatmail.com\/blog\/#website\"},\"datePublished\":\"2010-12-27T19:52:31+00:00\",\"dateModified\":\"2025-10-21T03:16:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greatmail.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sender Authentication with DKIM and SPF\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.greatmail.com\/blog\/#website\",\"url\":\"https:\/\/www.greatmail.com\/blog\/\",\"name\":\"Greatmail Blog\",\"description\":\"Email hosting  topics on email security, POP3, IMAP, transactional SMTP, bulk sending &amp; reseller email services.\",\"publisher\":{\"@id\":\"https:\/\/www.greatmail.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.greatmail.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.greatmail.com\/blog\/#organization\",\"name\":\"Greatmail Blog\",\"url\":\"https:\/\/www.greatmail.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greatmail.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.greatmail.com\/blog\/wp-content\/uploads\/2025\/08\/greatmail-blk.jpg\",\"contentUrl\":\"https:\/\/www.greatmail.com\/blog\/wp-content\/uploads\/2025\/08\/greatmail-blk.jpg\",\"width\":350,\"height\":71,\"caption\":\"Greatmail Blog\"},\"image\":{\"@id\":\"https:\/\/www.greatmail.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/greatmail\",\"https:\/\/www.linkedin.com\/company\/greatmail-llc\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.greatmail.com\/blog\/#\/schema\/person\/3091b48c29517d91ea1686aabc4c080b\",\"name\":\"GM Blog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greatmail.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/812439326eb5b55c995ccb743478f6e7e45c718f703dbe560ea08a6eeeaaf043?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/812439326eb5b55c995ccb743478f6e7e45c718f703dbe560ea08a6eeeaaf043?s=96&d=mm&r=g\",\"caption\":\"GM Blog\"},\"url\":\"https:\/\/www.greatmail.com\/blog\/author\/gmblogteam_wp\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Sender Authentication with DKIM and SPF - Greatmail Blog","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:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/","og_locale":"en_US","og_type":"article","og_title":"Sender Authentication with DKIM and SPF - Greatmail Blog","og_description":"Sender authentication technologies like DomainKeys Identified Mail (DKIM) and Sender Policy Framework (SPF) not only help control spam but also\u00a0improve deliverability of legitimate messages. Consequently,\u00a0these systems are\u00a0of interest to both email administrators and email marketers. What is sender authentication? In the most general sense, sender authentication measures the validity of a message source, and\u00a0this information\u00a0is ... Read more","og_url":"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/","og_site_name":"Greatmail Blog","article_published_time":"2010-12-27T19:52:31+00:00","article_modified_time":"2025-10-21T03:16:47+00:00","author":"GM Blog","twitter_card":"summary_large_image","twitter_creator":"@greatmail","twitter_site":"@greatmail","twitter_misc":{"Written by":"GM Blog","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/#article","isPartOf":{"@id":"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/"},"author":{"name":"GM Blog","@id":"https:\/\/www.greatmail.com\/blog\/#\/schema\/person\/3091b48c29517d91ea1686aabc4c080b"},"headline":"Sender Authentication with DKIM and SPF","datePublished":"2010-12-27T19:52:31+00:00","dateModified":"2025-10-21T03:16:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/"},"wordCount":460,"publisher":{"@id":"https:\/\/www.greatmail.com\/blog\/#organization"},"keywords":["dkim","DKIM Signing","DomainKeys","DomainKeys Identified Mail","Sender Authentication","Sender Policy Framework","SPF"],"articleSection":["Email Hosting","Email Marketing","Spam Control"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/","url":"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/","name":"Sender Authentication with DKIM and SPF - Greatmail Blog","isPartOf":{"@id":"https:\/\/www.greatmail.com\/blog\/#website"},"datePublished":"2010-12-27T19:52:31+00:00","dateModified":"2025-10-21T03:16:47+00:00","breadcrumb":{"@id":"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.greatmail.com\/blog\/email-hosting\/sender-authentication-with-dkim-and-spf\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greatmail.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Sender Authentication with DKIM and SPF"}]},{"@type":"WebSite","@id":"https:\/\/www.greatmail.com\/blog\/#website","url":"https:\/\/www.greatmail.com\/blog\/","name":"Greatmail Blog","description":"Email hosting  topics on email security, POP3, IMAP, transactional SMTP, bulk sending &amp; reseller email services.","publisher":{"@id":"https:\/\/www.greatmail.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.greatmail.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.greatmail.com\/blog\/#organization","name":"Greatmail Blog","url":"https:\/\/www.greatmail.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greatmail.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.greatmail.com\/blog\/wp-content\/uploads\/2025\/08\/greatmail-blk.jpg","contentUrl":"https:\/\/www.greatmail.com\/blog\/wp-content\/uploads\/2025\/08\/greatmail-blk.jpg","width":350,"height":71,"caption":"Greatmail Blog"},"image":{"@id":"https:\/\/www.greatmail.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/greatmail","https:\/\/www.linkedin.com\/company\/greatmail-llc\/"]},{"@type":"Person","@id":"https:\/\/www.greatmail.com\/blog\/#\/schema\/person\/3091b48c29517d91ea1686aabc4c080b","name":"GM Blog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greatmail.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/812439326eb5b55c995ccb743478f6e7e45c718f703dbe560ea08a6eeeaaf043?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/812439326eb5b55c995ccb743478f6e7e45c718f703dbe560ea08a6eeeaaf043?s=96&d=mm&r=g","caption":"GM Blog"},"url":"https:\/\/www.greatmail.com\/blog\/author\/gmblogteam_wp\/"}]}},"_links":{"self":[{"href":"https:\/\/www.greatmail.com\/blog\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greatmail.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greatmail.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greatmail.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greatmail.com\/blog\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":2,"href":"https:\/\/www.greatmail.com\/blog\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"predecessor-version":[{"id":873,"href":"https:\/\/www.greatmail.com\/blog\/wp-json\/wp\/v2\/posts\/55\/revisions\/873"}],"wp:attachment":[{"href":"https:\/\/www.greatmail.com\/blog\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greatmail.com\/blog\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greatmail.com\/blog\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}