{"id":146,"date":"2015-12-02T11:00:09","date_gmt":"2015-12-02T02:00:09","guid":{"rendered":"http:\/\/risa-webstore.com\/blog\/?p=146"},"modified":"2015-12-03T20:29:02","modified_gmt":"2015-12-03T11:29:02","slug":"post-146","status":"publish","type":"post","link":"https:\/\/risa-webstore.com\/blog\/?p=146","title":{"rendered":"SPF\u30ec\u30b3\u30fc\u30c9\u3067\u9001\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u304c\u8ff7\u60d1\u30e1\u30fc\u30eb\u306b\u5206\u985e\u3055\u308c\u308b\u306e\u3092\u9632\u3050"},"content":{"rendered":"<p>\u5f0a\u793e\u306f<a href=\"http:\/\/risa-webstore.com\/\">\u5236\u670d\u5c4b\u3055\u3093<\/a>\u3092\u904b\u55b6\u3057\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30e1\u30fc\u30eb\u3067\u304a\u554f\u3044\u5408\u308f\u305b\u3092\u3044\u305f\u3060\u304f\u3053\u3068\u3082\u591a\u304f\u3001\u307e\u305f\u3001\u3053\u3061\u3089\u304b\u3089\u3054\u6ce8\u6587\u306b\u95a2\u3057\u307e\u3057\u3066\u30e1\u30fc\u30eb\u3067\u304a\u805e\u304d\u3059\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002\u3067\u3059\u304c\u3001\u3053\u3061\u3089\u304b\u3089\u304a\u9001\u308a\u3057\u305f\u30e1\u30fc\u30eb\u304c\u5c4a\u304b\u306a\u3044\u3068\u3044\u3046\u304a\u5ba2\u3055\u307e\u304c\u3044\u3089\u3063\u3057\u3083\u3044\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u306f\u3001\u8ff7\u60d1\u30e1\u30fc\u30eb\u306b\u5206\u985e\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u304c\u307b\u3068\u3093\u3069\u3067\u3059\u3002\u643a\u5e2f\u96fb\u8a71\u3067\u3059\u3068\u3001\u30ad\u30e3\u30ea\u30a2\u5074\u304c\u306f\u3058\u3044\u3066\u3044\u3066\u7aef\u672b\u306b\u5c4a\u3044\u3066\u3044\u306a\u3044\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3055\u3066\u3001\u3053\u308c\u3092\u9632\u3050\u65b9\u6cd5\u306f\u3042\u308b\u306e\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3044\u308d\u3044\u308d\u8a66\u3057\u305f\u7d50\u679c\u3001\u300cDNS\u30b5\u30fc\u30d0\uff08BIND\uff09\u306eZONE\u30d5\u30a1\u30a4\u30eb\u306bSPF\u30ec\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u300d\u65b9\u6cd5\u3067\u3042\u308b\u7a0b\u5ea6\u56de\u907f\u3067\u304d\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002\u3068\u3066\u3082\u7c21\u5358\u306a\u65b9\u6cd5\u3067\u3057\u305f\u3002<\/p>\n<p>SPF\u30ec\u30b3\u30fc\u30c9\u306e\u6587\u6cd5\u3084\u8a73\u3057\u3044\u4f7f\u3044\u65b9\u306f\u3001\u3082\u3063\u3068\u8a73\u3057\u304f\u8aac\u660e\u3057\u3066\u3044\u308b\u30b5\u30a4\u30c8\u3084\u5c02\u9580\u66f8\u3092\u53c2\u8003\u306b\u3057\u3066\u3044\u305f\u3060\u304d\u305f\u3044\u3067\u3059\u3002\u3068\u308a\u3042\u3048\u305a\u3046\u3061\u3067\u6210\u529f\u3057\u305f\u65b9\u6cd5\u3092\u66f8\u3044\u3066\u307f\u307e\u3059\u306d\u3002\u5358\u306a\u308b\u4e8b\u4f8b\u306a\u306e\u3067\u3001\u3059\u3079\u3066\u306e\u74b0\u5883\u306b\u5f53\u3066\u306f\u307e\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u306e\u3067\u3042\u3057\u304b\u3089\u305a\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u8a66\u3057\u305f\u306e\u306f\u3001\u4e0a\u8a18\u306e\u901a\u308a\u3001\/var\/named\u4e0b\u306b\u3042\u308b\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u306bSPF\u30ec\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u52a0\u3048\u305f\u3060\u3051\u3002Postfix\u306b\u3082Dovecot\u306b\u3082\u3001\u4f55\u306e\u8a2d\u5b9a\u3082\u3057\u3066\u306a\u3044\u3067\u3059\u3002\u5f0a\u793e\u304b\u3089\u304a\u5ba2\u3055\u307e\u306b\u9001\u4fe1\u3059\u308b\u969b\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3057\u305f\u3044\u3060\u3051\u306a\u306e\u3067\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3067\u3001\u305d\u306eSPF\u30ec\u30b3\u30fc\u30c9\u306e\u8a18\u8ff0\u306f\u3053\u308c\u3060\u3051\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>@\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 IN TXT\u00a0 &#8220;v=spf1 +mx ~all&#8221;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>\u3093\uff1f\u3000\u4ed6\u306e\u30b5\u30a4\u30c8\u306e\u8aac\u660e\u3068\u9055\u3046\uff1f\uff1f<\/p>\n<p>\u30fb\u30fb\u30fb\u3067\u3059\u3088\u306d\u3002\u4ed6\u306e\u30b5\u30a4\u30c8\u3067\u306f\u3082\u3063\u3068\u8a73\u3057\u304f\u8aac\u660e\u3057\u3066\u307e\u3059\u304b\u3089\u3002\u3053\u3093\u306a\u7c21\u5358\u306b\u3046\u307e\u304f\u3044\u304f\u3082\u3093\u3067\u3059\u304b\u30fb\u30fb\u30fb\u3002<\/p>\n<p>\u5b9f\u969b\u3001\u6975\u3081\u3066\u9650\u5b9a\u3055\u308c\u305f\u74b0\u5883\u3067\u306e\u307f\u9069\u7528\u3067\u304d\u308b\u304a\u8a71\u3057\u3067\u3042\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3055\u3066\u305d\u306e\u74b0\u5883\u3068\u306f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u30e1\u30fc\u30eb\u3092\u53d7\u4fe1\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d0\uff08MSA\uff09\u3068\u540c\u3058Postfix\u3067\u306e\u307f\u3001\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\uff08MTA\uff09\u3059\u308b\u5834\u5408<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>\u8981\u306f\u3001\u305d\u306e\u30c9\u30e1\u30a4\u30f3\u306eMX\u30ec\u30b3\u30fc\u30c9\u306b\u8a18\u8ff0\u3057\u3066\u3044\u308b\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u3067\u3001\u53d7\u4fe1\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u9001\u4fe1\u3082\u884c\u3046\u5834\u5408\u306f\u3001\u3053\u308c\u3067OK\u3001\u3068\u3044\u3046\u3053\u3068\u306a\u3093\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u306fiptables\u3067\u30ac\u30c1\u30ac\u30c1\u306b\u56fa\u3081\u3066\u3057\u307e\u3063\u3066\u3044\u3066\u3001\u5916\u90e8\u304b\u3089\u63a5\u7d9a\u3059\u308b\u306e\u306f\u7279\u5b9a\u306e\u30b5\u30fc\u30d0\u3060\u3051\uff08Web\u30d5\u30a9\u30fc\u30e0\u9001\u4fe1\u306e\u305f\u3081\u3001HTTP\u30b5\u30fc\u30d0\u304b\u3089\u306e\u63a5\u7d9a\u3092\u53d7\u3051\u4ed8\u3051\u308b\uff09\u306b\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u4ee5\u524d\u3001\u9001\u4fe1\u30b5\u30fc\u30d0\u3092\u30b9\u30d1\u30e0\u306e\u571f\u53f0\u306b\u3055\u308c\u3066\u3057\u307e\u3063\u305f\u60aa\u5922\u304c\u3042\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u4f1a\u793e\u306e\u4e8b\u52d9\u6240\u306e\u30cd\u30c3\u30c8\u56de\u7dda\u306eISP\u3092\u56fa\u5b9aIP\u30a2\u30c9\u30ec\u30b9\u306b\u3057\u3066\u3001\u305d\u306eIP\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u306e\u30b5\u30d6\u30df\u30c3\u30b7\u30e7\u30f3\u30dd\u30fc\u30c8\u306e\u901a\u4fe1\u3092\u8a31\u53ef\u3059\u308b\u3088\u3046iptables\u3092\u8a2d\u5b9a\u3002\u305d\u306e\u4e0a\u3067\u3001MX\u30ec\u30b3\u30fc\u30c9\u306b\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u3067SMTP\u9001\u4fe1\u304c\u884c\u3048\u308b\u3088\u3046\u306b\u3057\u3001\u305d\u306e\u5834\u5408\u306e\u307f\u3001SPF\u306e\u8a8d\u8a3c\u304c\u901a\u308b\u3088\u3046\u306b\u3057\u305f\u3001\u3068\u3044\u3046\u308f\u3051\u306a\u3093\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3082\u3057\u3001\u30d7\u30ed\u30d0\u30a4\u30c0\u306eSMTP\u30b5\u30fc\u30d0\u3092\u4f7f\u3044\u305f\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u3059\u308b\u3068\u3044\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>@\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 IN TXT\u00a0 &#8220;v=spf1 +ip4:100.AAA.0.1 +ip4:100.BBB.0.1 +mx ~all&#8221;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>+\u306f\u8a31\u53ef\u3068\u3044\u3046\u610f\u5473\u306a\u306e\u3067\u3001IPv4\u30a2\u30c9\u30ec\u30b9\u3067100.AAA.0.1\u3001100.BBB.0.1\u3092\u8a31\u53ef\u3059\u308b\u3068\u3044\u3046\u610f\u5473\u306b\u306a\u308a\u307e\u3059\u3002100.AAA.0.1\u3084100.BBB.0.1\u306b\u306f\u3001ISP\u306eSMTP\u30b5\u30fc\u30d0\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u308c\u307e\u3059\u3002\u305f\u304f\u3055\u3093\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u7f85\u5217\u3059\u308b\u3053\u3068\u3082\u51fa\u6765\u307e\u3059\u306e\u3067\u3001\u30d7\u30ed\u30d0\u30a4\u30c0\u306eSMTP\u30b5\u30fc\u30d0\u306e\u30a2\u30c9\u30ec\u30b9\u3092dig\u3063\u3066\u3001A\u30ec\u30b3\u30fc\u30c9\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u5217\u6319\u3057\u3066\u304a\u304f\u3068\u3088\u3044\u3067\u3059\u3002<\/p>\n<p>\u30a8\u30e9\u30fc\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u3068\u304d\u306e\u305f\u3081\u306b\u3001+mx\u3082\u6307\u5b9a\u3057\u3066\u3042\u308a\u307e\u3059\u3002\u8a66\u3057\u3066\u306f\u3044\u307e\u305b\u3093\u304c\u3001\u56fa\u5b9aIP\u306b\u3057\u306a\u304f\u3066\u3082\u3001\u3053\u308c\u3067\u3046\u307e\u304f\u3044\u304f\u3068\u601d\u3044\u307e\u3059\u3002\u305f\u3060\u3057\u3001ISP\u3092\u5909\u3048\u305f\u3089\u3001\u6307\u5b9a\u3082\u5909\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3046\u307e\u304f\u3044\u304f\u3068\u3001\u30e1\u30fc\u30eb\u306e\u30d8\u30c3\u30c0\u306b\u3001\u6b21\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>Authentication-Results: mx.google.com;<br \/>\nspf=pass (google.com: domain of \u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9 designates \u30e1\u30fc\u30eb\u30b5\u30fc\u30d0 as permitted sender) smtp.mailfrom=\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9<\/p>\n<p>Gmail\u3067\u8a66\u3057\u307e\u3057\u305f\u3002\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306b\u306f\u3001\u9001\u4fe1\u3057\u305f\u5f0a\u793e\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3001\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u306b\u306f\u3001MTA\u306eIP\u30a2\u30c9\u30ec\u30b9\u304c\u5165\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u6210\u529f\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>CentOS7.1\u3067\u8a66\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f0a\u793e\u306f\u5236\u670d\u5c4b\u3055\u3093\u3092\u904b\u55b6\u3057\u3066\u304a\u308a\u307e\u3059\u3002 \u30e1\u30fc\u30eb\u3067\u304a\u554f\u3044\u5408\u308f\u305b\u3092\u3044\u305f\u3060\u304f\u3053\u3068\u3082\u591a\u304f\u3001&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-146","post","type-post","status-publish","format-standard","hentry","category-2"],"_links":{"self":[{"href":"https:\/\/risa-webstore.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/risa-webstore.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/risa-webstore.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/risa-webstore.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/risa-webstore.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=146"}],"version-history":[{"count":5,"href":"https:\/\/risa-webstore.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/146\/revisions"}],"predecessor-version":[{"id":165,"href":"https:\/\/risa-webstore.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/146\/revisions\/165"}],"wp:attachment":[{"href":"https:\/\/risa-webstore.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/risa-webstore.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/risa-webstore.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}