{"id":13749,"date":"2024-03-29T06:13:15","date_gmt":"2024-03-28T21:13:15","guid":{"rendered":"https:\/\/hanami-web.tokyo.jp\/blog\/?p=13749"},"modified":"2024-04-14T08:05:00","modified_gmt":"2024-04-13T23:05:00","slug":"dmark-settings","status":"publish","type":"post","link":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/dmark-settings\/","title":{"rendered":"How to configure email authentication using SPF and DKIM with a valid DMARC policy"},"content":{"rendered":"<p>If you use email addresses with your own domain, you now need to configure email authentication using a valid DMARC policy along with SPF and DKIM.<br>\u72ec\u81ea\u30c9\u30e1\u30a4\u30f3\u3092\u4f7f\u3063\u305f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3068\u306f\u3001\u5f0a\u793ehanami-web.tokyo.jp\u30c9\u30e1\u30a4\u30f3\u306e\u5834\u5408\u3001\u304a\u554f\u5408\u305b\u7528\u306e\u300cinfo@hanami-web.tokyo.jp\u300d\u306a\u3069\u304c\u5bfe\u8c61\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>Starting in February 2024, Google and Yahoo&#039;s security policies will change, and in order to combat spam, it will now be necessary to &quot;set up email authentication using a valid DMARC policy in conjunction with SPF and DKIM.&quot;<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">table of contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #000000;color:#000000\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #000000;color:#000000\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/dmark-settings\/#dmarc%e3%81%a8%e3%81%af\" >What is DMARC?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/dmark-settings\/#%e4%b8%87%e3%81%8c%e4%b8%80%e3%80%81%e7%ac%ac%e4%b8%89%e8%80%85%e5%88%a9%e7%94%a8%e3%81%95%e3%82%8c%e3%81%9f%e5%a0%b4%e5%90%88%e3%81%aedmarc%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b\" >Configure DMARC settings in case a third party uses your email<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/dmark-settings\/#%e3%81%be%e3%81%9a%e3%81%af%e4%bd%95%e3%82%82%e3%81%97%e3%81%aa%e3%81%84%e3%81%a8%e3%81%84%e3%81%86%e8%a8%ad%e5%ae%9a\" >First, set it to do nothing<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/dmark-settings\/#%e3%83%ac%e3%83%9d%e3%83%bc%e3%83%88%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%af%e8%8b%b1%e8%aa%9e%e3%81%a7%e5%b1%8a%e3%81%8d%e3%81%be%e3%81%99\" >The report email will be sent in English.<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/dmark-settings\/#%e3%83%ac%e3%83%9d%e3%83%bc%e3%83%88%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%8c%e5%b1%8a%e3%81%84%e3%81%9f%e3%82%89%e3%80%81%e8%bf%b7%e6%83%91%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%a8%e3%81%97%e3%81%a6%e9%85%8d%e9%80%81%e3%81%99%e3%82%8b%e8%a8%ad%e5%ae%9a%e3%81%ab%e5%a4%89%e6%9b%b4\" >When you receive a report email, change the settings to send it as spam.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/dmark-settings\/#xserver%e3%81%ae%e5%a0%b4%e5%90%88\" >For xserver<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/dmark-settings\/#dmarc%e3%83%ac%e3%82%b3%e3%83%bc%e3%83%89%e3%81%ae%e5%a0%b4%e5%90%88\" >For DMARC records<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/dmark-settings\/#%e6%9c%80%e5%be%8c%e3%81%ab%e9%85%8d%e4%bf%a1%e3%81%97%e3%81%aa%e3%81%84%e8%a8%ad%e5%ae%9a\" >Setting not to deliver at the end<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/dmark-settings\/#xserver%e3%81%ae%e5%a0%b4%e5%90%88-2\" >For xserver<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/dmark-settings\/#dmarc%e3%83%ac%e3%82%b3%e3%83%bc%e3%83%89%e3%81%ae%e5%a0%b4%e5%90%88-2\" >For DMARC records<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/dmark-settings\/#stripe%e3%81%a7%e3%81%afdmarc%e8%aa%8d%e8%a8%bc%e3%81%8c%e8%a1%8c%e3%82%8f%e3%82%8c%e3%81%a6%e3%81%84%e3%81%aa%e3%81%84%e3%81%a8stripe%e3%83%89%e3%83%a1%e3%82%a4%e3%83%b3%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%ab%e5%88%87%e3%82%8a%e6%9b%bf%e3%82%8f%e3%82%8b\" >Stripe will switch to Stripe domain email if DMARC authentication is not performed<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"dmarc%e3%81%a8%e3%81%af\"><\/span>What is DMARC?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>DMARC is an abbreviation for Domain-based Message Authentication, Reporting &amp; Conformance, and is a function that protects domains from phishing, spoofing, etc.<\/p>\n\n\n\n<p>The recent changes to Google and Yahoo&#039;s security policies make it mandatory for mass email senders to set DMARK.<\/p>\n\n\n\n<p>If you are using your own domain for the email address you use to send email newsletters, etc., you must make the necessary settings, otherwise your email will be classified as spam.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%e4%b8%87%e3%81%8c%e4%b8%80%e3%80%81%e7%ac%ac%e4%b8%89%e8%80%85%e5%88%a9%e7%94%a8%e3%81%95%e3%82%8c%e3%81%9f%e5%a0%b4%e5%90%88%e3%81%aedmarc%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b\"><\/span>Configure DMARC settings in case a third party uses your email<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To set up DMARC, you need to describe how you will respond if your email address is misused by a third party. There are three commonly used patterns.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>do nothing<\/li>\n\n\n\n<li>Delivered to the junk mail folder<\/li>\n\n\n\n<li>Do not send email<\/li>\n<\/ul>\n\n\n\n<p>The tricky thing here is that you have to set it up in stages.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">For xserver<\/h4>\n\n\n\n<p>For xserver, log in to the server administration panel and<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Email<\/li>\n\n\n\n<li>DMARC Settings<\/li>\n<\/ul>\n\n\n\n<p>and set it up.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"933\" height=\"472\" src=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-16.png\" alt=\"\" class=\"wp-image-13750\" srcset=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-16.png 933w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-16-300x152.png 300w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-16-768x389.png 768w\" sizes=\"(max-width: 933px) 100vw, 933px\" \/><\/figure>\n\n\n\n<p>Select the domain you want to configure.<br>This setting is required for each domain.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"928\" height=\"293\" src=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-17.png\" alt=\"\" class=\"wp-image-13751\" srcset=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-17.png 928w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-17-300x95.png 300w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-17-768x242.png 768w\" sizes=\"(max-width: 928px) 100vw, 928px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">When to set up a DMARC record<\/h4>\n\n\n\n<p>Regardless of which policy you are setting, we will start by explaining the common parts.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>hostname<\/strong>- Enter _dmarc<\/li>\n\n\n\n<li><strong>type<\/strong>- Set it as TXT<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"841\" height=\"217\" src=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-19.png\" alt=\"\" class=\"wp-image-13753\" srcset=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-19.png 841w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-19-300x77.png 300w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-19-768x198.png 768w\" sizes=\"(max-width: 841px) 100vw, 841px\" \/><\/figure>\n\n\n\n<p>Regarding VALUE, the setting will change depending on the DMARC policy.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%e3%81%be%e3%81%9a%e3%81%af%e4%bd%95%e3%82%82%e3%81%97%e3%81%aa%e3%81%84%e3%81%a8%e3%81%84%e3%81%86%e8%a8%ad%e5%ae%9a\"><\/span>First, set it to do nothing<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The initial setting is to do nothing.<br>By setting this up, you will receive an email stating whether authentication was successful or unsuccessful. Once you receive this email, change to the next setting.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">For xserver<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>DMARC Policy Settings \u2013 Select Do nothing<\/li>\n\n\n\n<li>Report notification settings - Turn it on and set the email address to receive notifications<\/li>\n<\/ul>\n\n\n\n<p>Finally, press the &quot;Set&quot; button once to complete the setup.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"693\" height=\"618\" src=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-18.png\" alt=\"\" class=\"wp-image-13752\" srcset=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-18.png 693w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-18-300x268.png 300w\" sizes=\"(max-width: 693px) 100vw, 693px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">How to write a DMARC record<\/h4>\n\n\n\n<p>How to write VALUE.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>v=DMARC1; p=none; rua=mailto:test@example.com<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>v - Set the version of DMARK. Currently it is &quot;DMARK1&quot;.<\/li>\n\n\n\n<li>p - What to set for the DMARK policy. This time, set &quot;none&quot; to do nothing.<\/li>\n\n\n\n<li>rua - 1 Enter the email address to which the periodic report will be sent. Set it in the format &quot;mailto: email address&quot;.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>v=DMARC1; p=none; sp=none; rua=mailto:test@example.com<\/code><\/pre>\n\n\n\n<p>If you are using an email address with a subdomain, add the item &quot;sp&quot;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"800\" height=\"200\" src=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/492b8adcc458d8dd41da55143b4324c1.png\" alt=\"\" class=\"wp-image-13754\" srcset=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/492b8adcc458d8dd41da55143b4324c1.png 800w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/492b8adcc458d8dd41da55143b4324c1-300x75.png 300w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/492b8adcc458d8dd41da55143b4324c1-768x192.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Please use half-width alphanumeric characters<\/li>\n\n\n\n<li>In particular, please be careful that spaces are not full-width because they will not be visible.<\/li>\n\n\n\n<li>If you want to continue with the next specification, connect it with a semicolon &quot;;&quot; (the green part)<\/li>\n\n\n\n<li>The email address is &quot;mailto:&quot; and the &quot;:&quot; is used, so please make sure you do not make a mistake (yellow)<\/li>\n<\/ul>\n\n\n\n<p>This is the actual setting screen. The default TTL of &quot;3600&quot; is fine.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"848\" height=\"244\" src=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-20.png\" alt=\"\" class=\"wp-image-13755\" srcset=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-20.png 848w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-20-300x86.png 300w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-20-768x221.png 768w\" sizes=\"(max-width: 848px) 100vw, 848px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%e3%83%ac%e3%83%9d%e3%83%bc%e3%83%88%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%af%e8%8b%b1%e8%aa%9e%e3%81%a7%e5%b1%8a%e3%81%8d%e3%81%be%e3%81%99\"><\/span>The report email will be sent in English.<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>It&#039;s easy to overlook this, but the email arrives in English and the domain includes &quot;dmarc.&quot;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"872\" height=\"397\" src=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-23.png\" alt=\"\" class=\"wp-image-13768\" srcset=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-23.png 872w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-23-300x137.png 300w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-23-768x350.png 768w\" sizes=\"(max-width: 872px) 100vw, 872px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%e3%83%ac%e3%83%9d%e3%83%bc%e3%83%88%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%8c%e5%b1%8a%e3%81%84%e3%81%9f%e3%82%89%e3%80%81%e8%bf%b7%e6%83%91%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%a8%e3%81%97%e3%81%a6%e9%85%8d%e9%80%81%e3%81%99%e3%82%8b%e8%a8%ad%e5%ae%9a%e3%81%ab%e5%a4%89%e6%9b%b4\"><\/span>When you receive a report email, change the settings to send it as spam.<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>After the initial setting of doing nothing if authentication fails, when you receive the report email, change the setting to &quot;Deliver as spam.&quot;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"xserver%e3%81%ae%e5%a0%b4%e5%90%88\"><\/span>For xserver<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Change your DMARC policy to &quot;Deliver as spam&quot;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"944\" height=\"660\" src=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-21.png\" alt=\"\" class=\"wp-image-13756\" srcset=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-21.png 944w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-21-300x210.png 300w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-21-768x537.png 768w\" sizes=\"(max-width: 944px) 100vw, 944px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"dmarc%e3%83%ac%e3%82%b3%e3%83%bc%e3%83%89%e3%81%ae%e5%a0%b4%e5%90%88\"><\/span>For DMARC records<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>In the case of DMARC records, the two places to change are &quot;p=none&quot; and &quot;sp=non&quot;. Change them to &quot;quarantine&quot;.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>v=DMARC1; p=quarantine; sp=quarantine; rua=mailto:test@example.com<\/code><\/pre>\n\n\n\n<p>rua can also be used to set up notifications for when authentication fails (if spoofing is attempted) for sending certain reports. Set this in the same way as rua, using the tag &quot;ruf&quot;.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>v=DMARC1; p=quarantine; sp=quarantine; rua=mailto:test@example.com; fur:mailto:test.example.com<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%e6%9c%80%e5%be%8c%e3%81%ab%e9%85%8d%e4%bf%a1%e3%81%97%e3%81%aa%e3%81%84%e8%a8%ad%e5%ae%9a\"><\/span>Setting not to deliver at the end<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>If you are able to exchange emails without any problems even with the settings set to send emails as spam, then finally change the settings so that spoofed emails are not sent.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"xserver%e3%81%ae%e5%a0%b4%e5%90%88-2\"><\/span>For xserver<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Change the setting to &quot;Do not deliver email.&quot;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"936\" height=\"661\" src=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-22.png\" alt=\"\" class=\"wp-image-13757\" srcset=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-22.png 936w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-22-300x212.png 300w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/image-22-768x542.png 768w\" sizes=\"(max-width: 936px) 100vw, 936px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"dmarc%e3%83%ac%e3%82%b3%e3%83%bc%e3%83%89%e3%81%ae%e5%a0%b4%e5%90%88-2\"><\/span>For DMARC records<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>For DMARC record, change it to &quot;reject&quot;.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>v=DMARC1; p=reject; sp=reject; rua=mailto:test@example.com; fur:mailto:test.example.com<\/code><\/pre>\n\n\n\n<p>This completes the DMARK setup.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"stripe%e3%81%a7%e3%81%afdmarc%e8%aa%8d%e8%a8%bc%e3%81%8c%e8%a1%8c%e3%82%8f%e3%82%8c%e3%81%a6%e3%81%84%e3%81%aa%e3%81%84%e3%81%a8stripe%e3%83%89%e3%83%a1%e3%82%a4%e3%83%b3%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%ab%e5%88%87%e3%82%8a%e6%9b%bf%e3%82%8f%e3%82%8b\"><\/span>Stripe will switch to Stripe domain email if DMARC authentication is not performed<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>What prompted me to set up DMARC this time was a notice sent by Stripe stating that anyone who sends email using their own domain and has not set up DMARC will be forced to switch to Stripe email.<\/p>\n\n\n\n<p>It would be helpful if there was a server that provided an environment where DMARC could be easily configured, such as xserver.<\/p>","protected":false},"excerpt":{"rendered":"<p>\u72ec\u81ea\u30c9\u30e1\u30a4\u30f3\u3092\u4f7f\u3063\u305f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u3001SPF \u3068 DKIM \u3068\u5171\u306b\u6709\u52b9\u306a DMARC \u30dd\u30ea\u30b7\u30fc\u3092\u4f75\u7528\u3057\u3066\u30e1\u30fc\u30eb\u306e\u8a8d\u8a3c\u8a2d\u5b9a\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u72ec\u81ea\u30c9\u30e1\u30a4\u30f3\u3092\u4f7f\u3063\u305f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3068\u306f\u3001\u5f0a\u793ehanami-web. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":13759,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","_uag_custom_page_level_css":"","footnotes":""},"categories":[6,1447],"tags":[1546],"class_list":["post-13749","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-website-running","category-security-case","tag-dmark"],"blocksy_meta":[],"aioseo_notices":[],"uagb_featured_image_src":{"full":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/Other-1-1.png",720,540,false],"thumbnail":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/Other-1-1-150x150.png",150,150,true],"medium":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/Other-1-1-300x225.png",300,225,true],"medium_large":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/Other-1-1.png",720,540,false],"large":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/Other-1-1.png",720,540,false],"1536x1536":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/Other-1-1.png",720,540,false],"2048x2048":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/Other-1-1.png",720,540,false],"trp-custom-language-flag":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2024\/03\/Other-1-1.png",16,12,false]},"uagb_author_info":{"display_name":"\u682a\u5f0f\u4f1a\u793eHanamiWEB \u4ee3\u8868\u53d6\u7de0\u5f79 \u677e\u6d66\u307f\u3055","author_link":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/author\/hanami\/"},"uagb_comment_info":0,"uagb_excerpt":"\u72ec\u81ea\u30c9\u30e1\u30a4\u30f3\u3092\u4f7f\u3063\u305f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u3001SPF \u3068 DKIM \u3068\u5171\u306b\u6709\u52b9\u306a DMARC \u30dd\u30ea\u30b7\u30fc\u3092&hellip;","brizy_media":[],"_links":{"self":[{"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/posts\/13749","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/comments?post=13749"}],"version-history":[{"count":0,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/posts\/13749\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/media\/13759"}],"wp:attachment":[{"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/media?parent=13749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/categories?post=13749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/tags?post=13749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}