{"id":247,"date":"2021-03-31T21:07:29","date_gmt":"2021-03-31T12:07:29","guid":{"rendered":"https:\/\/pearlblue.net\/wordpress\/?p=247"},"modified":"2021-04-16T11:30:57","modified_gmt":"2021-04-16T02:30:57","slug":"spf%e3%81%a8dkim%ef%bc%8c%e3%81%9d%e3%81%97%e3%81%a6dmarc","status":"publish","type":"post","link":"https:\/\/pearlblue.net\/wordpress\/?p=247","title":{"rendered":"SPF\u3068DKIM\uff0c\u305d\u3057\u3066DMARC"},"content":{"rendered":"\n<p class=\"has-light-gray-background-color has-background\">2013\u5e74\u306bVPS\u3092\u5951\u7d04\u3057\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u3092\u7acb\u3061\u4e0a\u3052\u3066\u4ee5\u6765\uff0c\u79c1\u306e\u30e1\u30a4\u30f3\u306e\u30e1\u30fc\u30eb\u30a2\u30ab\u30a6\u30f3\u30c8\u306f\u81ea\u524d\u306e\u3082\u306e\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3002\u5927\u304d\u306a\u30c8\u30e9\u30d6\u30eb\u3082\u306a\u304f\uff0c\u307b\u307c\u671f\u5f85\u901a\u308a\u306e\u904b\u7528\u304c\u3067\u304d\u305f\u3002\u3057\u304b\u3057\uff0c\u591a\u5c11\u306e\u554f\u984c\u70b9\u3082\u3042\u3063\u305f\u3002\u305d\u308c\u306f\uff0chotmail\u3078\u306e\u30e1\u30fc\u30eb\u304c\u8ff7\u60d1\u30e1\u30fc\u30eb\u3068\u3057\u3066\u5206\u985e\u3055\u308c\u308b\u3053\u3068\u3067\u3042\u3063\u305f\u3002<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">hotmail\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u6301\u3063\u3066\u3044\u308b\u77e5\u4eba\u306b\u30e1\u30fc\u30eb\u3092\u51fa\u3057\u305f\u3053\u3068\u304c\u3042\u3063\u305f\u3002\u8fd4\u4e8b\u304c\u7121\u3044\u306e\u3067\uff0c\u76f4\u63a5\u805e\u3044\u3066\u307f\u308b\u3068\uff0c\u300c\u5c4a\u3044\u3066\u306a\u3044\u300d\u3068\u306e\u3053\u3068\u3002\u300c\u5909\u3060\u306a\uff1f\u300d\u3068\u601d\u3063\u3066\uff0c\u66f4\u306b\u8abf\u3079\u3066\u3082\u3089\u3063\u305f\u3068\u3053\u308d\uff0c\u300c\u5c4a\u3044\u3066\u3044\u306f\u3044\u305f\u304c\uff0c\u8ff7\u60d1\u30e1\u30fc\u30eb\u306b\u5206\u985e\u3055\u308c\u3066\u3044\u305f\u306e\u3067\uff0c\u8aad\u307e\u306a\u304b\u3063\u305f\u300d\u3068\u306e\u3053\u3068\u3067\u3042\u3063\u305f\u3002\u79c1\u3082hotmail\u306b\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u6301\u3063\u3066\u3044\u308b\u306e\u3067\uff0c\u8a66\u3057\u306bhotmail\u306e\u81ea\u5206\u5b9b\u3066\u306b\u51fa\u3057\u3066\u307f\u305f\u3068\u3053\u308d\uff0c\u3084\u3063\u3071\u308a\u8ff7\u60d1\u30e1\u30fc\u30eb\u306b\u5206\u985e\u3055\u308c\u3066\u3044\u305f\u3002\u79c1\u306e\u500b\u4eba\u7684\u306a\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306f\u4e16\u754c\u4e2d\u3067\u79c1\u3057\u304b\u4f7f\u308f\u306a\u3044\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u540d\u306a\u306e\u3067\uff0c\u52ff\u8ad6\uff0c\u99b4\u67d3\u307f\u306e\u306a\u3044\u3082\u306e\u3067\u3042\u308b\u3002\u305d\u306e\u3053\u3068\u304b\u3089\uff0c\u602a\u3057\u3044\u3068\u5224\u65ad\u3055\u308c\u3066\uff0c\u8ff7\u60d1\u30e1\u30fc\u30eb\u3068\u3055\u308c\u305f\u306e\u3060\u308d\u3046\u3068\u8003\u3048\uff0c\u4ee5\u5f8c\uff0chotmail\u5b9b\u3066\u306b\u30e1\u30fc\u30eb\u3092\u51fa\u3059\u3068\u304d\u306b\u306f\uff0chotmail\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">\u6628\u5e74\u672b\uff0cCentOS8\uff0c\u305d\u3057\u3066Oracle Linux8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u304d\u306b\uff0c\u8ff7\u60d1\u30e1\u30fc\u30eb\u3068\u5206\u985e\u3055\u308c\u306a\u3044\u5bfe\u7b56\u3068\u3057\u3066\uff0cSPF\u3068DKIM\u3068\u3044\u3046\u65b9\u6cd5\u304c\u3042\u308b\u3053\u3068\u3092\u77e5\u3063\u305f\u3002\u305d\u3053\u3067\uff0c\u4eca\u56de\u306f\u3053\u308c\u3089\u306e\u5bfe\u7b56\u3092\u8b1b\u3058\u308b\u3053\u3068\u306b\u3057\u305f\u3002\u307e\u305f\uff0c\u3053\u308c\u3089\u306e\u8a2d\u5b9a\u3092\u884c\u3063\u3066\u3044\u308b\u4e2d\u3067\uff0c\u305d\u308c\u3089\u3092\u5229\u7528\u3057\u305f\uff0c\u8ff7\u60d1\u30e1\u30fc\u30eb\u5bfe\u7b56\u306e\u6280\u8853\u3068\u3057\u3066\uff0cDMARC\u306b\u3064\u3044\u3066\u3082\u77e5\u3063\u305f\u3002\u3053\u308c\u306b\u3064\u3044\u3066\u3082\u8a66\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"has-background\" style=\"background-color:#eeffee\">SPF<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">SPF(Sender Policy Framework\uff09\u306b\u3064\u3044\u3066\u306f<\/p>\n\n\n\n<p class=\"has-white-background-color has-background\"><a href=\"https:\/\/salt.iajapan.org\/wpmu\/anti_spam\/admin\/tech\/explanation\/spf\/\" data-type=\"URL\" data-id=\"https:\/\/salt.iajapan.org\/wpmu\/anti_spam\/admin\/tech\/explanation\/spf\/\">https:\/\/salt.iajapan.org\/wpmu\/anti_spam\/admin\/tech\/explanation\/spf\/<\/a><\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">\u306b\u8a73\u3057\u3044\u8aac\u660e\u304c\u3042\u308b\u3002SPF\u306f\u9001\u4fe1\u5143\u304c\u6307\u5b9a\u3057\u305fIP\u30a2\u30c9\u30ec\u30b9\u7b49\u304b\u3089\u5b9f\u969b\u306b\u30e1\u30fc\u30eb\u304c\u9001\u4fe1\u3055\u308c\u3066\u3044\u305f\u304b\u3069\u3046\u304b\u306e\u691c\u8a3c\u3092\u884c\u3046\u3002\u305d\u306e\u305f\u3081\u306b\uff0c\u9001\u4fe1\u5143\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u30c9\u30e1\u30a4\u30f3\u306eDNS\u306b\uff0c\u9001\u4fe1\u306b\u4f7f\u3046\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\u60c5\u5831\u3092\u8a18\u8f09\u3059\u308b\u3002\u53d7\u4fe1\u30b5\u30fc\u30d0\u30fc\u306f\uff0c\u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u30c9\u30e1\u30a4\u30f3\u306eDNS\u3092\u53c2\u7167\u3057\u3066\uff0c\u9001\u4fe1IP\u30a2\u30c9\u30ec\u30b9\u7b49\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3057\uff0c\u5b9f\u969b\u306b\u9001\u4fe1\u3057\u3066\u304d\u305f\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\u7b49\u304c\u305d\u308c\u306b\u4e00\u81f4\u3059\u308b\u304b\u3069\u3046\u304b\u691c\u8a3c\u3092\u884c\u3046\u3002\u4f8b\u3048\u3070\uff0c\u3053\u306epearlblue.net\u304b\u3089\u306e\u30e1\u30fc\u30eb\u306e\u5834\u5408\uff0cpearlblue.net\u306eDNS\u30b5\u30fc\u30d0\u30fc\u306b\uff0c\u9001\u4fe1\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u767b\u9332\u3059\u308b\u3002\u5177\u4f53\u7684\u306b\u306f\uff0c<\/p>\n\n\n\n<p class=\"has-white-background-color has-background\">v=spf1 +ip4:157.7.140.107 -all<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">\u3092pearlblue.net\u306eDNS\u306eTXT\u30ea\u30bd\u30fc\u30b9\u30ec\u30b3\u30fc\u30c9(TXT RR)\u306b\u767b\u9332\u3059\u308b\u3002\uff08\u672c\u6765\u306fSPF RR\u306b\u767b\u9332\u3059\u308b\u3082\u306e\u3060\u304c\uff0c\u73fe\u6642\u70b9\u3067\u306f\uff0cSPF RR\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044DNS\u3067\u306f\uff0cTXT RR\u3092\u4f7f\u3046\u3053\u3068\u3082\u8a8d\u3081\u3089\u308c\u3066\u3044\u308b\u3002\uff09\u4e0a\u306e\u8a18\u8ff0\u306f\uff13\u3064\u306e\u90e8\u5206\u304b\u3089\u306a\u3063\u3066\u3044\u308b\u3002v=spf1\u306f\u4ee5\u4e0b\u304cSPF\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\uff11\u3067\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u793a\u3059\u3002+ip4:157.7.140.107\u306fip4:157.7.140.107\u304c\u9001\u4fe1\u30b5\u30fc\u30d0\u30fc\u306eipv4\u3067\u306eIP\u30a2\u30c9\u30ec\u30b9\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3059\u3002-all\u306f\u305d\u308c\u4ee5\u5916\u306f\u9001\u4fe1\u30b5\u30fc\u30d0\u30fc\u3067\u306a\u3044\u3053\u3068\u3092\u793a\u3059\u3002\u3053\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\uff0cpearlblue.net\u304b\u3089\uff0c\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\uff0c\u305d\u308c\u3092\u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u306e\u30bd\u30fc\u30b9\u306b\uff0c<\/p>\n\n\n\n<p class=\"has-white-background-color has-background\">Authentication-Results: spf=pass (sender IP is 157.7.140.107)<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">\u3068\u3042\u308c\u3070\uff0c\u8a2d\u5b9a\u306f\u6210\u529f\u3057\u305f\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<p class=\"has-background\" style=\"background-color:#eeffee\">DKIM<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">DKIM (Domainkeys Identified Mail)\u306f\uff0c\u96fb\u5b50\u7f72\u540d\u3092\u7528\u3044\u3066\uff0c\u9001\u4fe1\u5143\u30c9\u30e1\u30a4\u30f3\u3092\u691c\u8a3c\u3059\u308b\u65b9\u6cd5\u3067\u3042\u308b\u3002\u3053\u308c\u306b\u3064\u3044\u3066\u306f\uff0c<\/p>\n\n\n\n<p class=\"has-white-background-color has-background\"><a href=\"https:\/\/salt.iajapan.org\/wpmu\/anti_spam\/admin\/tech\/explanation\/dkim\/\">https:\/\/salt.iajapan.org\/wpmu\/anti_spam\/admin\/tech\/explanation\/dkim\/<\/a><\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">\u306b\u8a73\u3057\u3044\u8aac\u660e\u304c\u3042\u308b\u3002\u9001\u4fe1\u5074\u3067\u306f\uff0c\u307e\u305a\uff0cDNS\u3067\uff0c\u9001\u4fe1\u5143\u30c9\u30e1\u30a4\u30f3\u306e\u516c\u958b\u9375\u3092\u516c\u958b\u3059\u308b\u3002\u3055\u3089\u306b\uff0c\u500b\u3005\u306e\u30e1\u30fc\u30eb\u306e\u9001\u4fe1\u6642\u306b\u306f\uff0c\u6b21\u306e\u51e6\u7406\u3092\u884c\u3046\u3002\u30e1\u30fc\u30eb\u672c\u6587\u3092\u6b63\u898f\u5316\u7b49\u306e\u51e6\u7406\u3092\u65bd\u3057\uff0c\u305d\u308c\u3089\u306e\u30cf\u30c3\u30b7\u30e5\u5024\u306b\u5bfe\u3057\u3066\u7f72\u540d\u3092\u884c\u3044\uff0c\u305d\u308c\u3092\u30e1\u30fc\u30eb\u306b\u8ffd\u52a0\u3057\uff0c\u9001\u4fe1\u3059\u308b\u3002\u53d7\u4fe1\u5074\u3067\u306f\uff0c\u9001\u4fe1\u5143\u30c9\u30e1\u30a4\u30f3\u306eDNS\u3067\u516c\u958b\u9375\u3092\u53d6\u5f97\u3057\uff0c\u305d\u306e\u516c\u958b\u9375\u3092\u5229\u7528\u3057\u3066\uff0c\u30e1\u30fc\u30eb\u672c\u6587\u304b\u3089\u5f97\u3089\u308c\u308b\u30cf\u30c3\u30b7\u30e5\u5024\u3068\u7f72\u540d\u3092\u7167\u5408\u3057\u691c\u8a3c\u3059\u308b\u3002\u3053\u308c\u306b\u3088\u308a\uff0c\u9001\u4fe1\u5143\u306e\u507d\u88c5\u3060\u3051\u3067\u306a\u304f\uff0c\u672c\u6587\u306e\u6539\u5909\u3082\u30c1\u30a7\u30c3\u30af\u53ef\u80fd\u3068\u306a\u308b\u3002<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">DKIM\u7f72\u540d\u3092\u884c\u3046\u30c4\u30fc\u30eb\u3068\u3057\u3066\uff0copendkim\u3092\u4f7f\u3063\u305f\u3002opendkim\u3092\u5229\u7528\u3057\u305fDKIM\u7f72\u540d\u306b\u3064\u3044\u3066\u306f\uff0c\u672c\u5bb6opendkim.org\u306e\u4ed6\uff0c\u65e5\u672c\u8a9e\u306b\u3088\u308b\u8aac\u660e\u306eweb\u30da\u30fc\u30b8\u3082\u3044\u304f\u3064\u304b\u3042\u308b\u3002\u672c\u30b5\u30a4\u30c8\u306e\u8a2d\u5b9a\u3067\u3082\u305d\u308c\u3089\u8aac\u660e\u3092\u5229\u7528\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u305f\u3002<br>DKIM\u306e\u8a2d\u5b9a\u624b\u9806\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<ol class=\"has-white-background-color has-background wp-block-list\"><li>\u30ad\u30fc\u30da\u30a2\u306e\u4f5c\u6210<\/li><li>\u516c\u958b\u9375\u7b49\u306eDNS\u3067\u306e\u516c\u958b<\/li><li>opendkim\u306e\u8a2d\u5b9a<\/li><li>MTA\u306e\u8a2d\u5b9a<\/li><\/ol>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">1.\u30ad\u30fc\u30da\u30a2\u306e\u4f5c\u6210<br>\u7f72\u540d\u7528\u306e\u516c\u958b\u9375\uff08public key\uff09\u3068\u79d8\u5bc6\u9375\uff08private key\uff09\u3092\u4f5c\u6210\u3059\u308b\u3002\u672c\u30b5\u30a4\u30c8\u3067\u306f\uff0c\u8907\u6570\u306e\u30d0\u30fc\u30c1\u30e3\u30eb\u30c9\u30e1\u30a4\u30f3\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u306e\u3067\uff0c\u5404\u30c9\u30e1\u30a4\u30f3\u3054\u3068\u306b\u30ad\u30fc\u30da\u30a2\u4f5c\u6210\u3057\u305f\u3002\u305d\u306e\u305f\u3081\u306b\u5404\u30c9\u30e1\u30a4\u30f3\u3054\u3068\u306e\u9375\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092<br>\/etc\/opendkim\/keys\/<br>\u4ee5\u4e0b\u306b\u4f5c\u6210\u3057\uff0c\u305d\u3053\u306b\u4fdd\u5b58\u3059\u308b\u3002\u4f8b\u3048\u3070\uff0cpearlblue.net\u7528\u306b\u306f\uff0c<br>mkdir \/etc\/opendkim\/keys\/pearlblue.net<br>\u3068\u4f5c\u6210\u3059\u308b\u3002\u3053\u306e\u5f8c\uff0c\u4f8b\u3048\u3070<br>opendkim-genkey -D \/etc\/opendkim\/keys\/pearlblue.net\/ -d pearlblue.net -s \u9375\u30d5\u30a1\u30a4\u30eb\u540d<br>\u3068\u3059\u308c\u3070\uff0c\u9375\u30d5\u30a1\u30a4\u30eb\u540d.private\u3068\u9375\u30d5\u30a1\u30a4\u30eb\u540d.txt\uff08\u516c\u958b\u9375\uff09\u3068\u3044\u3046pearlblue.net\u7528\u306e\u9375\u304c\uff0c\/etc\/opendkim\/keys\/pearlblue.net\/\u4ee5\u4e0b\u306b\u4f5c\u6210\u3055\u308c\u308b\u3002<br>\u3053\u3053\u3067\uff0copendkim-genkey\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\uff0c-D\u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff0c-d\u306f\u30c9\u30e1\u30a4\u30f3\uff0c-s\u306f\u30bb\u30ec\u30af\u30bf\u30fc\uff08\u9375\u30d5\u30a1\u30a4\u30eb\u540d\uff09\u3092\u793a\u3059\u3002<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">2.\u516c\u958b\u9375\u7b49\u306eDNS\u3067\u306e\u516c\u958b<br>\u7f72\u540d\u7528\u306e\u516c\u958b\u9375\u306f\uff0c\u5404\u30c9\u30e1\u30a4\u30f3\u306eDNS\u3067\u516c\u958b\u3059\u308b\u3002\u4f8b\u3048\u3070\uff0cpearlblue.net\u3067\u3042\u308c\u3070\uff0c\u9375\u30d5\u30a1\u30a4\u30eb\u540d._domainkey.pearlblue.net\u306eDNS\u306eTXT\u30ea\u30bd\u30fc\u30b9\u30ec\u30b3\u30fc\u30c9\u306b<\/p>\n\n\n\n<p class=\"has-white-background-color has-background\">v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC7cVqgPoFackGkJOLJNjFKjSvEUyXh8Z6Wedx7P44WuHgZDh29Gk6Ujk2tk3dZ1\/fZKt7xkDDZ5IQCqcwbWJ\/SroOhtMyTICR92EoDwQ8NvsfK4R9ZWwx779PMClElO+eJWNH3n5efQhvJd2UzcCGTYsPSbZ3Amwc1fwM9PrWxEwIDAQAB<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">\u7b49\u3068\u8a18\u8ff0\u3057\uff0c\u516c\u958b\u9375\u3092\u516c\u958b\u3059\u308b\u3002\u66f4\u306b\uff0cADSP\uff08Author Domain Signing Practices\uff09\u30ec\u30b3\u30fc\u30c9\u3082\u516c\u958b\u3059\u308b\u3002\u3053\u308c\u306fDKIM\u306e\u8a8d\u8a3c\u7d50\u679c\u306e\u6271\u3044\u3092\u6307\u5b9a\u3059\u308b\u3082\u306e\u3067\uff0c_adsp._domainkey.&lt;\u30c9\u30e1\u30a4\u30f3\u540d&gt;\u3067\u516c\u958b\u3059\u308b\u3002\u4f8b\u3048\u3070\uff0cpearlblue.net\u306e\u5834\u5408\u3067\u306f\uff0c_adsp._domainkey.pearlblue.net\u306eDNS\u306eTXT\u30ea\u30bd\u30fc\u30b9\u30ec\u30b3\u30fc\u30c9\u306b<\/p>\n\n\n\n<p class=\"has-white-background-color has-background\">dkim=unknown<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">\u3092\u8a18\u8ff0\u3057\u305f\u3002\u3053\u306e\u5024  unknown \u306e\u610f\u5473\u306f\uff0c\u300c\u3053\u306e\u30c9\u30e1\u30a4\u30f3\u304b\u3089\u9001\u4fe1\u3055\u308c\u308b\u30e1\u30fc\u30eb\u306e\u3044\u304f\u3064\u304b\uff0c\u307e\u305f\u306f\u3059\u3079\u3066\u306b\uff0c\u30e1\u30fc\u30eb\u4f5c\u6210\u8005\u7f72\u540d\u304c\u4e0e\u3048\u3089\u308c\u308b\u300d\u3092\u793a\u3057\u3066\u3044\u308b\u3002unknown\u4ee5\u5916\u306e\u5024\u3082\u3042\u308b\u304c\uff0c\u666e\u901a\u306f\u3053\u306e\u5024\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">3.opendkim\u3067\u306e\u8a2d\u5b9a<br>\u7f72\u540d\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306b\uff0c\/etc\/opendkim.conf \u306e\u8a2d\u5b9a\u3092\u884c\u3046\u3002Default\u304b\u3089\u5909\u66f4\u3057\u305f\u3068\u3053\u308d\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<ul class=\"has-background wp-block-list\" style=\"background-color:#f0f0ff\"><li>Mode sv<\/li><li>KeyTable  \/etc\/opendkim\/KeyTable<\/li><li>SigningTable refile:\/etc\/opendkim\/SigningTable<\/li><li>ExternalIgnoreList, InternalHosts<\/li><\/ul>\n<\/div>\n<\/div>\n\n\n\n<p class=\"has-background\" style=\"background-color:#f0f0ff\">\u30fbMode sv<br>s\u306f\u9001\u4fe1\u30e1\u30fc\u30eb\u306b\u7f72\u540d\u3092\u8ffd\u52a0\uff0cv\u306f\u53d7\u4fe1\u30e1\u30fc\u30eb\u306e\u691c\u8a3c\u3092\u884c\u3046\u3002<\/p>\n\n\n\n<p class=\"has-background\" style=\"background-color:#f0f0ff\">\u30fbKeyTable<br>\u8907\u6570\u306e\u30d0\u30fc\u30c1\u30e3\u30eb\u30c9\u30e1\u30a4\u30f3\u306b\u5bfe\u5fdc\u3059\u308b\u305f\u3081\uff0cKeyTable\u3092\u4f7f\u3046\u3002KeyTable\u306b\u306f\u5404\u30c9\u30e1\u30a4\u30f3\u306eKeyFile\u306e\u540d\u524d\u3068\u5834\u6240\u3092<br>default._domainkey.example.com example.com:default:\/etc\/opendkim\/keys\/default.private<br>\u306e\u5f62\u5f0f\u3067\u5217\u6319\u3059\u308b\u3002<\/p>\n\n\n\n<p class=\"has-background\" style=\"background-color:#f0f0ff\">\u30fbSigningTable<br>\u8907\u6570\u306e\u30d0\u30fc\u30c1\u30e3\u30eb\u30c9\u30e1\u30a4\u30f3\u306b\u5bfe\u5fdc\u3059\u308b\u305f\u3081\uff0cSigningTable\u3092\u4f7f\u3046\u3002\u5404\u30c9\u30e1\u30a4\u30f3\u306eKeyFile\u306e\u540d\u524d\u3092<br>*@example.com default._domainkey.example.com<br>\u306e\u5f62\u5f0f\u3067\u5217\u6319\u3059\u308b\u3002<\/p>\n\n\n\n<p class=\"has-background\" style=\"background-color:#f0f0ff\">\u30fbExternalIgnoreList, InternalHosts<br>\u3053\u308c\u3089\u306f\u3044\u305a\u308c\u3082\uff0cTrustedHosts\uff08\u4eca\u306e\u5834\u5408\u306f\uff0c\u81ea\u30db\u30b9\u30c8127.0.0.1\uff09\u3068\u8a2d\u5b9a\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">4.MTA\u306e\u8a2d\u5b9a<br>opendkim\u306fMilter(Mail Filter)\u3068\u3057\u3066\u52d5\u4f5c\u3059\u308b\u306e\u3067\uff0cMTA\u5074\u306b\u305d\u306e\u8a2d\u5b9a\u3092\u884c\u3046\u3002\u672c\u30b5\u30a4\u30c8\u3067\u306f\uff0cMTA\u3068\u3057\u3066\uff0cpostfix\u3092\u4f7f\u3046\u306e\u3067\uff0c\u5bfe\u5fdc\u3057\u3066\uff0c\/etc\/postfix\/main.cf\u306e\u8a2d\u5b9a\u3092\u884c\u3046\u3002postfix\u3067\u306eMilter\u306e\u53d6\u308a\u6271\u3044\u306b\u3064\u3044\u3066\u306f\uff0chttp:\/\/www.postfix-jp.info\/trans-2.3\/jhtml\/MILTER_README.html\u306b\u8aac\u660e\u304c\u3042\u308b\u3002\u305d\u306e\u8aac\u660e\u3092\u53c2\u8003\u306b\u3057\u3066\uff0copendkim.conf\u3067\u306esocket\u756a\u53f7\u8a2d\u5b9a8891\u306b\u5f93\u3063\u3066\uff0c\/etc\/postfix\/main.cf\u306e\u6700\u5f8c\u306b<\/p>\n\n\n\n<p class=\"has-white-background-color has-background\">smtpd_milters = inet:127.0.0.1:8891<br>non_smtpd_milters = $smtpd_milters<br>milter_default_action = accept<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">\u3068\u8a2d\u5b9a\u3057\u305f\u3002\u610f\u5473\u306f\uff0c\u300csmtp\u53ca\u3073\u305d\u308c\u4ee5\u5916\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u306e\u30e1\u30fc\u30eb\u306eMilter\u3068\u3057\u3066opendkim\u3092\u4f7f\u3046\u3002Milter\u306b\u30a8\u30e9\u30fc\u304c\u3042\u3063\u305f\u5834\u5408\uff0cMilter\u304c\u7121\u304b\u3063\u305f\u3088\u3046\u306b\u632f\u308b\u821e\u3046\u3002\u300d\u3067\u3042\u308b\u3002\u3053\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u305f\u5f8c\uff0cpostfix\u3068opendkim\u3092\u518d\u8d77\u52d5\u3059\u308c\u3070\u826f\u3044\u3002\u305d\u306e\u5f8c\uff0cDKIM\u5bfe\u5fdc\u30b5\u30fc\u30d0\u30fc\u5b9b\u3066\u306b\u9001\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u3092\u53d7\u4fe1\u3057\u305f\u30b5\u30fc\u30d0\u30fc\u3067\u8aad\u3093\u3060\u3068\u304d\uff0c\u305d\u306e\u30d8\u30c3\u30c0\u306b\uff0c<\/p>\n\n\n\n<p class=\"has-white-background-color has-background\">dkim=pass (signature was verified) header.d=pearlblue.net<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">\u3068\u3042\u308c\u3070\uff0c\u8a2d\u5b9a\u306f\u6210\u529f\u3057\u305f\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<p class=\"has-background\" style=\"background-color:#eeffee\">DMARC<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">DMARC(Domain-based Message Authentication, Reporting, and Conformance)\u306fRFC 7489\u3067\u898f\u5b9a\u3055\u308c\u3066\u3044\u308b\uff0cSPF\u3068DKIM\u3092\u7d44\u307f\u5408\u308f\u305b\uff0c\u306a\u308a\u3059\u307e\u3057\u30e1\u30fc\u30eb\u3092\u9632\u3050\u65b9\u6cd5\u3067\u3042\u308b\u3002\u3053\u308c\u306b\u3064\u3044\u3066\u306f<\/p>\n\n\n\n<p class=\"has-white-background-color has-background\"><a href=\"https:\/\/support.google.com\/a\/topic\/2759254?hl=ja&amp;ref_topic=9061731\">https:\/\/support.google.com\/a\/topic\/2759254?hl=ja&amp;ref_topic=9061731<\/a><\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">\u3084\uff0c\u4ed6\u306eweb\u30da\u30fc\u30b8\u306b\u591a\u304f\u306e\u8aac\u660e\u304c\u3042\u308b\u3002SPF\u3068DKIM\u3092\u5c0e\u5165\u3057\u3066\u3044\u308b\u30c9\u30e1\u30a4\u30f3\u304b\u3089\u306e\u30e1\u30fc\u30eb\u304cSPF\u3068DKIM\u3092\u30d1\u30b9\u3057\u306a\u304b\u3063\u305f\u5834\u5408\u306f\uff0c\u305d\u306e\u30e1\u30fc\u30eb\u306f\uff0c\u9001\u4fe1\u5143\u3092\u507d\u88c5\u3057\u3066\u3044\u308b\u304b\uff0c\u9001\u4fe1\u5074\u3067\u4f55\u3089\u304b\u306e\u4e0d\u5177\u5408\u304c\u3042\u3063\u305f\u3053\u3068\u3092\u610f\u5473\u3057\u3066\u3044\u308b\u3002\u305d\u306e\u3088\u3046\u306a\u30e1\u30fc\u30eb\u306b\u5bfe\u3057\u3066\uff0c\u3069\u306e\u3088\u3046\u306a\u51e6\u7406\u3092\u3059\u308b\u304b\u9001\u4fe1\u5143\uff08\u3068\u3055\u308c\u308b\uff09\u30c9\u30e1\u30a4\u30f3\u304c\u6c7a\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u4ed5\u7d44\u307f\u3067\u3042\u308b\u3002\u9001\u4fe1\u5143\u30c9\u30e1\u30a4\u30f3\u306f\uff0c_dmarc.\u9001\u4fe1\u5143\u30c9\u30e1\u30a4\u30f3\u306eDNS\u306eTXT RR\u306b\u305d\u306e\u65b9\u91dd\u3092\u8a18\u8ff0\u3057\uff0c\u516c\u958b\u3059\u308b\u3002\u53d7\u4fe1\u30b5\u30fc\u30d0\u30fc\u3067\u306f\uff0c\u9001\u4fe1\u5143\u30c9\u30e1\u30a4\u30f3\u306e_dmarc TXT RR \u3092\u53c2\u7167\u3057\u3066\uff0c\u305d\u306e\u51e6\u7406\u3092\u884c\u3046\u3002<br>\u4f8b\u3048\u3070\uff0cpearlblue.net \u3067\u306f\uff0c\u307e\u305a\uff0c\u6e96\u5099\u3068\u3057\u3066\u30ec\u30dd\u30fc\u30c8\u53d7\u53d6\u7528\u30a2\u30c9\u30ec\u30b9dmreport@pearlblue.net\u3092\u4f5c\u6210\u3057\u305f\u3002\u66f4\u306b\uff0c_dmarc.pearlblue.net \u306eDNS\u306bTXT RR\u3068\u3057\u3066\uff0cTTL=3600\u3067\u5024<\/p>\n\n\n\n<p class=\"has-white-background-color has-background\">v=DMARC1; p=none; pct=100; rua=mailto:dmreport@pearlblue.net; ruf=mailto:dmreport@pearlblue.net<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">\u3068\u8a2d\u5b9a\u3057\u305f\u3002\u3053\u3053\u3067\uff0c\u300cv\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u793a\u3057\uff0cDMARC1\u3092\u6307\u5b9a\u3002p(policy)\u306f\u51e6\u7406\u6cd5\u3092\u793a\u3057\uff0cnone\u306f\u30e1\u30fc\u30eb\u3092\u305d\u306e\u307e\u307e\u53d7\u4fe1\u8005\u306b\u914d\u4fe1\u3057\u3066\u3001\u65e5\u6b21\u30ec\u30dd\u30fc\u30c8\u306b\u8a18\u9332\u3059\u308b\u3002pct\u306f\u51e6\u7406\u5bfe\u8c61\u306e\u30e1\u30fc\u30eb\u306e\u5272\u5408\u3092\u793a\u3059\u3002100\u306f100%\u3059\u3079\u3066\u306e\u30e1\u30fc\u30eb\u306b\u5bfe\u3057\u3066\uff0cp\u306e\u51e6\u7406\u3092\u65bd\u3059\u3002rua\u306f\u30c9\u30e1\u30a4\u30f3\u306e DMARC\u8a8d\u8a3c\u306e\u7d50\u679c\u306b\u95a2\u3059\u308b\u30ec\u30dd\u30fc\u30c8\u3092\u53d7\u3051\u53d6\u308b\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3002ruf\u306f\u8a8d\u8a3c\u304c\u5931\u6557\u3057\u305f\u3082\u306e\u95a2\u3059\u308b\u30ec\u30dd\u30fc\u30c8\u3092\u53d7\u3051\u53d6\u308b\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3067\u3042\u308b\u3002<br>\u3053\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u305f\u5f8c\uff0cDMARC\u5bfe\u5fdc\u30b5\u30fc\u30d0\u30fc\u5b9b\u3066\u306b\u9001\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u3092\u53d7\u4fe1\u3057\u305f\u30b5\u30fc\u30d0\u30fc\u3067\u8aad\u3093\u3060\u3068\u304d\uff0c\u305d\u306e\u30d8\u30c3\u30c0\u306b\uff0cdmarc=pass\u3068\u3042\u308c\u3070\uff0c\u8a2d\u5b9a\u304c\u6210\u529f\u3057\u305f\u3053\u3068\u306b\u306a\u308b\u3002\u8a66\u3057\u306bhotmail\u5b9b\u3066\u306b\u9001\u3063\u3066\u307f\u305f\u7d50\u679c\u306f\u6b21\u306e\u901a\u308a\u3067\u3042\u3063\u305f\u3002<\/p>\n\n\n\n<p class=\"has-white-background-color has-background\">Authentication-Results: spf=pass (sender IP is 157.7.140.107)<br>smtp.mailfrom=pearlblue.net; hotmail.co.jp; dkim=pass (signature was<br>verified) header.d=pearlblue.net;hotmail.co.jp; dmarc=pass action=none<br>header.from=pearlblue.net;compauth=pass reason=100<\/p>\n\n\n\n<p class=\"has-light-gray-background-color has-background\">\u3053\u306e\u30e1\u30fc\u30eb\u306f\u8ff7\u60d1\u30e1\u30fc\u30eb\u306b\u5206\u985e\u3055\u308c\u305a\uff0c\u666e\u901a\u306e\u53d7\u4fe1Box\u306b\u5165\u3063\u3066\u3044\u305f\u3002\u6210\u529f\u3057\u305f\u3088\u3046\u3060\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2013\u5e74\u306bVPS\u3092\u5951\u7d04\u3057\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u3092\u7acb\u3061\u4e0a\u3052\u3066\u4ee5\u6765\uff0c\u79c1\u306e\u30e1\u30a4\u30f3\u306e\u30e1\u30fc\u30eb\u30a2\u30ab\u30a6\u30f3\u30c8\u306f\u81ea\u524d\u306e\u3082\u306e\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3002\u5927\u304d\u306a<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-247","post","type-post","status-publish","format-standard","hentry","category-oracle-linux"],"_links":{"self":[{"href":"https:\/\/pearlblue.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pearlblue.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pearlblue.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pearlblue.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pearlblue.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=247"}],"version-history":[{"count":37,"href":"https:\/\/pearlblue.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/247\/revisions"}],"predecessor-version":[{"id":290,"href":"https:\/\/pearlblue.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/247\/revisions\/290"}],"wp:attachment":[{"href":"https:\/\/pearlblue.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pearlblue.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pearlblue.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}