{"id":5168,"date":"2026-06-18T14:21:17","date_gmt":"2026-06-18T14:21:17","guid":{"rendered":"https:\/\/rimanagency.com\/spf-record-validator-builder-check-build-spf-email-records\/"},"modified":"2026-06-18T14:21:17","modified_gmt":"2026-06-18T14:21:17","slug":"spf-record-validator-builder-check-build-spf-email-records","status":"publish","type":"page","link":"https:\/\/rimanagency.com\/fr\/spf-record-validator-builder-check-build-spf-email-records\/","title":{"rendered":"Outil de validation et de cr\u00e9ation d&#039;enregistrements SPF \u2014 V\u00e9rifier et cr\u00e9er des enregistrements SPF pour les e-mails"},"content":{"rendered":"<style>.rt-h{background:linear-gradient(135deg,#f1f5e8,#e8efdb);border-radius:14px;padding:32px;margin:0 0 24px;text-align:center}.rt-h h1{margin:0 0 10px;font-size:28px;color:#4a6320}.rt-g{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 24px}.rt-f,.rt-o{background:#fff;border:1px solid #e0e6d8;border-radius:10px;padding:22px}.rt-f h3,.rt-o h3{margin:0 0 14px;color:#4a6320;font-size:18px}.rt-f label{display:block;font-size:13px;color:#516048;font-weight:600;margin:10px 0 6px}.rt-f input,.rt-f select,.rt-f textarea{width:100%;padding:9px;border:1px solid #d4dac6;border-radius:6px;font-size:14px;box-sizing:border-box;font-family:inherit}.rt-btn{background:#719430;color:#fff;border:none;padding:11px 20px;border-radius:6px;font-weight:700;cursor:pointer;width:100%;margin-top:14px;font-size:15px}.rt-btn:hover{background:#4a6320}.rt-cta{background:linear-gradient(135deg,#719430,#4a6320);color:#fff;border-radius:14px;padding:32px;text-align:center;margin:30px 0}.rt-cta h3{margin:0 0 6px;color:#fff}.rt-cta a{background:#fff;color:#4a6320;padding:12px 28px;border-radius:6px;font-weight:700;text-decoration:none;display:inline-block;margin-top:14px}.rt-o-big{font-size:36px;font-weight:800;color:#719430;text-align:center;margin:6px 0;word-break:break-word}@media(max-width:768px){.rt-g{grid-template-columns:1fr}}<\/style>\n<div class=\"rt-h\">\n<h1>SPF Record Validator &#038; Builder<\/h1>\n<p>Paste an existing SPF (Sender Policy Framework) DNS record and instantly validate syntax, count lookups (the 10-lookup limit), and audit security policy. Or build a fresh SPF record from a list of allowed sending services.<\/p>\n<\/div>\n<div class=\"rt-g\">\n<div class=\"rt-f\">\n<h3>Inputs<\/h3>\n<p><label>Mode<\/label><select id=\"sp-mode\"><option value=\"validate\" selected>Validate existing SPF<\/option><option value=\"build\">Build new SPF record<\/option><\/select><label>Existing SPF record (validate mode)<\/label><textarea id=\"sp-existing\" rows=\"3\" placeholder=\"v=spf1 include:_spf.google.com include:spf.mailchimp.com -all\"><\/textarea><label>Allowed sending services (build mode \u2014 one per line)<\/label><textarea id=\"sp-services\" rows=\"5\" placeholder=\"google\nmailchimp\nsendgrid\nhubspot\"><\/textarea><label>Fail policy (build mode)<\/label><select id=\"sp-policy\"><option value=\"-all\" selected>-all (HARD FAIL \u2014 recommended)<\/option><option value=\"~all\">~all (soft fail)<\/option><option value=\"?all\">?all (neutral)<\/option><\/select><\/div>\n<div class=\"rt-o\">\n<h3>Validation \/ Generated Record<\/h3>\n<div id=\"sp-out\" style=\"background:#fafafa;border:1px solid #e0e6d8;border-radius:8px;padding:14px;font-size:14px;min-height:80px;line-height:1.5\"><\/div>\n<\/div>\n<\/div>\n<p><script>function cSp(){var mode=document.getElementById(\"sp-mode\").value;if(mode===\"validate\"){var spf=document.getElementById(\"sp-existing\").value.trim();if(!spf){document.getElementById(\"sp-out\").innerHTML=\"<i style=\\\"color:#888\\\">Paste an SPF record to validate<\/i>\";return}var checks=[];if(!spf.startsWith(\"v=spf1\")){checks.push({sev:\"bad\",l:\"Version\",v:\"Missing v=spf1 prefix\"})}else checks.push({sev:\"good\",l:\"Version\",v:\"Valid (v=spf1)\"});var lookups=(spf.match(\/include:|a:|mx:|exists:|redirect=\/g)||[]).length;if(lookups>10)checks.push({sev:\"bad\",l:\"DNS lookups\",v:lookups+\" \u2014 EXCEEDS 10 limit, will fail\"});else if(lookups>7)checks.push({sev:\"warn\",l:\"DNS lookups\",v:lookups+\"\/10 \u2014 close to limit\"});else checks.push({sev:\"good\",l:\"DNS lookups\",v:lookups+\"\/10 \u2014 healthy\"});var fail=spf.match(\/[-~?+]all\/);if(fail){var sym=fail[0].charAt(0);var verdict=sym===\"-\"?{sev:\"good\",txt:\"-all (hard fail, recommended)\"}:sym===\"~\"?{sev:\"warn\",txt:\"~all (soft fail)\"}:sym===\"?\"?{sev:\"warn\",txt:\"?all (neutral \u2014 weak)\"}:{sev:\"bad\",txt:\"+all (PASS ALL \u2014 dangerous)\"};checks.push({sev:verdict.sev,l:\"Fail policy\",v:verdict.txt})}else checks.push({sev:\"bad\",l:\"Fail policy\",v:\"Missing \u2014 should end with -all\"});var len=spf.length;checks.push({sev:len>255?\"warn\":\"good\",l:\"Length\",v:len+\" chars\"+(len>255?\" (multi-string concatenation needed)\":\"\")});var includes=(spf.match(\/include:[^\\s]+\/g)||[]);if(includes.length)checks.push({sev:\"info\",l:\"Includes\",v:includes.join(\", \")});var html=\"<\/p>\n<div style=\\\"display:grid;gap:8px\\\">\";checks.forEach(function(c){var col=c.sev===\"good\"?\"#719430\":c.sev===\"warn\"?\"#d4a017\":c.sev===\"bad\"?\"#c44\":\"#516048\";var ic=c.sev===\"good\"?\"\u2713\":c.sev===\"warn\"?\"\u26a0\":c.sev===\"bad\"?\"\u2716\":\"\u00b7\";html+=\"<\/p>\n<div style=\\\"background:#fff;border:1px solid #e0e6d8;border-radius:8px;padding:10px 12px;display:flex;gap:10px\\\">\n<div style=\\\"color:\"+col+\";font-weight:700;font-size:16px;flex-shrink:0\\\">\"+ic+\"<\/div>\n<div><b style=\\\"color:#4a6320\\\">\"+c.l+\"<\/b><\/p>\n<div style=\\\"font-size:13px;color:\"+col+\";margin-top:2px;word-break:break-all\\\">\"+c.v+\"<\/div>\n<\/div>\n<\/div>\n<p>\"});html+=\"<\/p><\/div>\n<p>\";document.getElementById(\"sp-out\").innerHTML=html}else{var services=document.getElementById(\"sp-services\").value.split(\"\\n\").map(function(s){return s.trim().toLowerCase()}).filter(Boolean);var policy=document.getElementById(\"sp-policy\").value;var serviceMap={google:\"_spf.google.com\",mailchimp:\"servers.mcsv.net\",sendgrid:\"sendgrid.net\",hubspot:\"_spf.hubspot.com\",mailerlite:\"_spf.mlsend.com\",constantcontact:\"spf.constantcontact.com\",mailgun:\"mailgun.org\",amazonses:\"amazonses.com\",postmark:\"spf.mtasv.net\",klaviyo:\"_spf.klaviyo.com\",microsoft:\"spf.protection.outlook.com\",zoho:\"zoho.com\",salesforce:\"_spf.salesforce.com\",intercom:\"_spf.intercom.io\"};var includes=services.map(function(s){return\"include:\"+(serviceMap[s]||s)}).join(\" \");var spf=\"v=spf1 \"+includes+\" \"+policy;var html=\"<\/p>\n<div style=\\\"background:#1e1e1e;color:#a3c163;padding:14px;border-radius:8px;font-family:Consolas,monospace;font-size:12px;word-break:break-all\\\">\"+spf+\"<\/div>\n<p>\";html+=\"<\/p>\n<div style=\\\"margin-top:14px;background:#fff;border:1px solid #e0e6d8;border-radius:8px;padding:12px;font-size:13px\\\"><b>Add as TXT record<\/b> to your domain DNS at the root (@). Name: @ &nbsp;|&nbsp; Type: TXT &nbsp;|&nbsp; Value: (record above)<\/div>\n<p>\";document.getElementById(\"sp-out\").innerHTML=html}}[\"sp-mode\",\"sp-existing\",\"sp-services\",\"sp-policy\"].forEach(function(id){document.getElementById(id).addEventListener(\"input\",cSp);document.getElementById(id).addEventListener(\"change\",cSp)});cSp();<\/script><\/p>\n<h2>How to use the SPF Record Validator\/Builder<\/h2>\n<p><b>Validate mode:<\/b> paste your existing SPF record (get it via `dig TXT yoursite.com`). The tool checks SPF syntax, counts DNS lookups (the 10-lookup limit is enforced by every receiving mail server), and audits your fail policy. <b>Build mode:<\/b> list the sending services you use (google, mailchimp, sendgrid, etc.) and pick a fail policy. The tool generates a valid SPF record ready to paste into DNS.<\/p>\n<h2>Why this tool matters<\/h2>\n<p>SPF, DKIM, and DMARC are the three email authentication standards that determine whether your email lands in inbox or spam. Misconfigured SPF (too many lookups, missing services, wrong fail policy) is one of the top causes of deliverability problems. A 1-minute validator prevents weeks of mysterious &#8220;marked as spam&#8221; tickets.<\/p>\n<h2>Common use cases<\/h2>\n<ul>\n<li>Pre-launch email deliverability audit<\/li>\n<li>Adding a new sending service to your existing SPF<\/li>\n<li>Troubleshooting &#8220;DMARC fail&#8221; notifications<\/li>\n<li>Migrating from one ESP to another without breaking SPF<\/li>\n<li>Quick SPF review during a security\/IT audit<\/li>\n<li>Helping a client set up email authentication for the first time<\/li>\n<\/ul>\n<h2>The 10-lookup limit<\/h2>\n<p>SPF allows a maximum of 10 DNS lookups during validation. Each &#8220;include:&#8221; counts as a lookup, and many service includes nest more lookups internally (Mailchimp\\u2019s include resolves to 6 sub-lookups). Exceed 10 and mail servers return PermError \u2014 and your emails fail SPF. Use SPF flatteners or remove unused includes if you hit the limit.<\/p>\n<h2>Frequently Asked Questions<\/h2>\n<p><strong>What\\u2019s the difference between -all, ~all, and ?all?<\/strong><br \/>-all = hard fail (reject mail). ~all = soft fail (mark suspicious but accept). ?all = neutral (no opinion). +all = pass all (insecure \u2014 anyone can spoof). Use -all in production after a soft-fail testing period.<\/p>\n<p><strong>Can I have multiple SPF records?<\/strong><br \/>No \u2014 RFC 7208 explicitly forbids multiple SPF records. Combine them into one. Many domains have two by accident (legacy plus current); always consolidate.<\/p>\n<p><strong>Does SPF apply to subdomains?<\/strong><br \/>No \u2014 SPF records on yoursite.com do not apply to mail.yoursite.com unless you set one there too. Each subdomain needs its own SPF if it sends mail.<\/p>\n<p><strong>Why does Gmail say my SPF is &#8220;neutral&#8221; even with -all?<\/strong><br \/>SPF only authenticates the envelope sender (Return-Path). The visible From: address could be different \u2014 and Gmail evaluates the visible address. Combine SPF with DKIM and DMARC for full coverage.<\/p>\n<div class=\"rt-cta\">\n<h3>Need a full email deliverability audit including SPF, DKIM, DMARC, and BIMI?<\/h3>\n<p style=\"margin:0;opacity:.95\">Riman Agency runs email marketing programs with rigorous deliverability.<\/p>\n<p><a href=\"\/contact\/\">Book an Email Audit<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>SPF Record Validator &#038; Builder Paste an existing SPF (Sender Policy Framework) DNS record and instantly validate syntax, count lookups (the 10-lookup limit), and audit security policy. Or build a fresh SPF record from a list of allowed sending services. Inputs ModeValidate existing SPFBuild new SPF recordExisting SPF record (validate mode)Allowed sending services (build mode [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5168","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>SPF Record Validator &amp; Builder \u2014 Check &amp; Build SPF Email Records - Riman Agency<\/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:\/\/rimanagency.com\/fr\/spf-record-validator-builder-check-build-spf-email-records\/\" \/>\n<meta property=\"og:locale\" content=\"fr_CA\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SPF Record Validator &amp; Builder \u2014 Check &amp; Build SPF Email Records - Riman Agency\" \/>\n<meta property=\"og:description\" content=\"SPF Record Validator &#038; Builder Paste an existing SPF (Sender Policy Framework) DNS record and instantly validate syntax, count lookups (the 10-lookup limit), and audit security policy. Or build a fresh SPF record from a list of allowed sending services. Inputs ModeValidate existing SPFBuild new SPF recordExisting SPF record (validate mode)Allowed sending services (build mode [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rimanagency.com\/fr\/spf-record-validator-builder-check-build-spf-email-records\/\" \/>\n<meta property=\"og:site_name\" content=\"Riman Agency\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rimanagency.com\\\/spf-record-validator-builder-check-build-spf-email-records\\\/\",\"url\":\"https:\\\/\\\/rimanagency.com\\\/spf-record-validator-builder-check-build-spf-email-records\\\/\",\"name\":\"SPF Record Validator & Builder \u2014 Check & Build SPF Email Records - Riman Agency\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rimanagency.com\\\/#website\"},\"datePublished\":\"2026-06-18T14:21:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rimanagency.com\\\/spf-record-validator-builder-check-build-spf-email-records\\\/#breadcrumb\"},\"inLanguage\":\"fr-CA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rimanagency.com\\\/spf-record-validator-builder-check-build-spf-email-records\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rimanagency.com\\\/spf-record-validator-builder-check-build-spf-email-records\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/rimanagency.com\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SPF Record Validator &#038; Builder \u2014 Check &#038; Build SPF Email Records\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rimanagency.com\\\/#website\",\"url\":\"https:\\\/\\\/rimanagency.com\\\/\",\"name\":\"Riman Agency\",\"description\":\"A Full Service Digital Marketing Agency\",\"publisher\":{\"@id\":\"https:\\\/\\\/rimanagency.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rimanagency.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-CA\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/rimanagency.com\\\/#organization\",\"name\":\"Riman Agency\",\"url\":\"https:\\\/\\\/rimanagency.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-CA\",\"@id\":\"https:\\\/\\\/rimanagency.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/rimanagency.com\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/RIMANagency-all-logos-1-2.png\",\"contentUrl\":\"https:\\\/\\\/rimanagency.com\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/RIMANagency-all-logos-1-2.png\",\"width\":694,\"height\":211,\"caption\":\"Riman Agency\"},\"image\":{\"@id\":\"https:\\\/\\\/rimanagency.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Outil de validation et de cr\u00e9ation d&#039;enregistrements SPF\u00a0\u2014 V\u00e9rifier et cr\u00e9er des enregistrements SPF pour les adresses e-mail\u00a0\u2014 Agence Riman","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:\/\/rimanagency.com\/fr\/spf-record-validator-builder-check-build-spf-email-records\/","og_locale":"fr_CA","og_type":"article","og_title":"SPF Record Validator & Builder \u2014 Check & Build SPF Email Records - Riman Agency","og_description":"SPF Record Validator &#038; Builder Paste an existing SPF (Sender Policy Framework) DNS record and instantly validate syntax, count lookups (the 10-lookup limit), and audit security policy. Or build a fresh SPF record from a list of allowed sending services. Inputs ModeValidate existing SPFBuild new SPF recordExisting SPF record (validate mode)Allowed sending services (build mode [&hellip;]","og_url":"https:\/\/rimanagency.com\/fr\/spf-record-validator-builder-check-build-spf-email-records\/","og_site_name":"Riman Agency","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/rimanagency.com\/spf-record-validator-builder-check-build-spf-email-records\/","url":"https:\/\/rimanagency.com\/spf-record-validator-builder-check-build-spf-email-records\/","name":"Outil de validation et de cr\u00e9ation d&#039;enregistrements SPF\u00a0\u2014 V\u00e9rifier et cr\u00e9er des enregistrements SPF pour les adresses e-mail\u00a0\u2014 Agence Riman","isPartOf":{"@id":"https:\/\/rimanagency.com\/#website"},"datePublished":"2026-06-18T14:21:17+00:00","breadcrumb":{"@id":"https:\/\/rimanagency.com\/spf-record-validator-builder-check-build-spf-email-records\/#breadcrumb"},"inLanguage":"fr-CA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rimanagency.com\/spf-record-validator-builder-check-build-spf-email-records\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/rimanagency.com\/spf-record-validator-builder-check-build-spf-email-records\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rimanagency.com\/home\/"},{"@type":"ListItem","position":2,"name":"SPF Record Validator &#038; Builder \u2014 Check &#038; Build SPF Email Records"}]},{"@type":"WebSite","@id":"https:\/\/rimanagency.com\/#website","url":"https:\/\/rimanagency.com\/","name":"Agence Riman","description":"Une agence de marketing num\u00e9rique \u00e0 service complet","publisher":{"@id":"https:\/\/rimanagency.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rimanagency.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-CA"},{"@type":"Organization","@id":"https:\/\/rimanagency.com\/#organization","name":"Agence Riman","url":"https:\/\/rimanagency.com\/","logo":{"@type":"ImageObject","inLanguage":"fr-CA","@id":"https:\/\/rimanagency.com\/#\/schema\/logo\/image\/","url":"https:\/\/rimanagency.com\/wp-content\/uploads\/2022\/02\/RIMANagency-all-logos-1-2.png","contentUrl":"https:\/\/rimanagency.com\/wp-content\/uploads\/2022\/02\/RIMANagency-all-logos-1-2.png","width":694,"height":211,"caption":"Riman Agency"},"image":{"@id":"https:\/\/rimanagency.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/rimanagency.com\/fr\/wp-json\/wp\/v2\/pages\/5168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rimanagency.com\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rimanagency.com\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rimanagency.com\/fr\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/rimanagency.com\/fr\/wp-json\/wp\/v2\/comments?post=5168"}],"version-history":[{"count":0,"href":"https:\/\/rimanagency.com\/fr\/wp-json\/wp\/v2\/pages\/5168\/revisions"}],"wp:attachment":[{"href":"https:\/\/rimanagency.com\/fr\/wp-json\/wp\/v2\/media?parent=5168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}