{"id":322,"date":"2020-11-18T19:31:07","date_gmt":"2020-11-18T19:31:07","guid":{"rendered":"http:\/\/alain.fi\/?p=322"},"modified":"2021-04-27T11:21:31","modified_gmt":"2021-04-27T11:21:31","slug":"mail-server-domains-dns-setup-spf-dmarc-dkim","status":"publish","type":"post","link":"https:\/\/alain.fi\/?p=322","title":{"rendered":"Mail server domains DNS setup: SPF DMARC DKIM"},"content":{"rendered":"\n<p>Only texts to change in the records below: Client domain=&#8221;DOMAIN.TLD&#8221;, and generated DKIM key for DNS=&#8221;KEYFORTHEDNS&#8221;<\/p>\n\n\n\n<p>SPF<br>\n@    TXT    &#8220;v=spf1 ip4:46.4.107.162 include:_spf.google.com ~all&#8221;<\/p>\n\n\n\n<p>DMARC<br>\n_dmarc    TXT    &#8220;v=DMARC1; p=none; rua=mailto:dmarc@DOMAIN.TLD&#8221;<br>\nShould be same domain otherwise need to allow rua email domain<\/p>\n\n\n\n<p>DKIM<br> Generate both keys, use the key for DNS in the record:<br> default._domainkey.DOMAIN.TLD    TXT    &#8220;v=DKIM1; t=s; p=KEYFORTHEDNS&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Only texts to change in the records below: Client domain=&#8221;DOMAIN.TLD&#8221;, and generated DKIM key for DNS=&#8221;KEYFORTHEDNS&#8221; SPF @ TXT &#8220;v=spf1 ip4:46.4.107.162 include:_spf.google.com ~all&#8221; DMARC _dmarc TXT &#8220;v=DMARC1; p=none; rua=mailto:dmarc@DOMAIN.TLD&#8221; Should be same domain otherwise need to allow rua email domain &hellip; <a href=\"https:\/\/alain.fi\/?p=322\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-322","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/posts\/322","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alain.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=322"}],"version-history":[{"count":3,"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/posts\/322\/revisions"}],"predecessor-version":[{"id":350,"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/posts\/322\/revisions\/350"}],"wp:attachment":[{"href":"https:\/\/alain.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alain.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alain.fi\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}