{"id":157,"date":"2018-05-20T14:11:39","date_gmt":"2018-05-20T05:11:39","guid":{"rendered":"https:\/\/0x0c.info\/?p=157"},"modified":"2018-05-20T14:11:39","modified_gmt":"2018-05-20T05:11:39","slug":"opendkim%e3%82%92%e8%a8%ad%e5%ae%9a%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/0x0c.info\/?p=157","title":{"rendered":"opendkim\u3092\u8a2d\u5b9a\u3059\u308b"},"content":{"rendered":"<h3>\/etc\/opendkim\/keys\/\u306b\u30ad\u30fc\u4f5c\u6210<\/h3>\n<pre><code># opendkim-genkey -D \/etc\/opendkim\/keys\/\n<\/code><\/pre>\n<h3>\/etc\/opendkim.conf\u3092\u7de8\u96c6<\/h3>\n<p>\u78ba\u8a8d\u30fb\u5909\u66f4\u7b87\u6240\u306f\u4ee5\u4e0b<\/p>\n<pre><code>Mode  s\nLogWhy        no\nDomain *\nSelector        default\nKeyFile \/etc\/opendkim\/keys\/default.private\nInternalHosts refile:\/etc\/opendkim\/TrustedHosts\n<\/code><\/pre>\n<h3>\u5f53\u8a72\u30b5\u30fc\u30d0\u3092\u30e1\u30fc\u30eb\u9001\u4fe1\u30b5\u30fc\u30d0\u3068\u3057\u3066\u4ed6\u306e\u6a5f\u5668\u304b\u3089\u4f7f\u3046\u5834\u5408\u3001 \/etc\/opendkim\/TrustedHosts \u306b\u5185\u90e8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u8a18\u8ff0\u3059\u308b\u3002<\/h3>\n<p>\u4f8b)<\/p>\n<pre><code>192.168.100.0\/24\n192.168.101.0\/24\n<\/code><\/pre>\n<h3>opendkim\u3092\u518d\u8d77\u52d5<\/h3>\n<pre><code>\/etc\/rc.d\/init.d\/opendkim restart\n<\/code><\/pre>\n<h3>DNS\u306b\u53cd\u6620<\/h3>\n<p>\/etc\/opendkim\/keys\/default.txt \u306e\u5185\u5bb9\u3092dns\u30b5\u30fc\u30d0\u306b\u767b\u9332\u3059\u308b<\/p>\n<p>\u4ee5\u4e0a\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/etc\/opendkim\/keys\/\u306b\u30ad\u30fc\u4f5c\u6210 # opendkim-genkey -D \/etc\/opendkim\/keys\/ \/etc\/opendkim.conf\u3092\u7de8\u96c6 \u78ba\u8a8d\u30fb\u5909\u66f4\u7b87\u6240\u306f\u4ee5\u4e0b Mode s LogWhy no Domain * Selector default KeyFile \/etc\/opendkim\/keys\/default.private InternalHosts refile:\/etc\/opendkim\/TrustedHosts \u5f53\u8a72\u30b5\u30fc\u30d0\u3092\u30e1\u30fc\u30eb\u9001\u4fe1\u30b5\u30fc\u30d0\u3068\u3057\u3066\u4ed6\u306e\u6a5f\u5668\u304b\u3089\u4f7f\u3046\u5834\u5408\u3001 \/etc\/opendkim\/TrustedHosts \u306b\u5185\u90e8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u8a18\u8ff0\u3059\u308b\u3002 \u4f8b) 192.168.100.0\/24 192.168.101.0\/24 opendkim\u3092\u518d\u8d77\u52d5 \/etc\/rc.d\/init.d\/opendkim restart DNS\u306b\u53cd\u6620 \/etc\/opendkim\/keys\/default.txt \u306e\u5185\u5bb9\u3092dns\u30b5\u30fc\u30d0\u306b\u767b\u9332\u3059\u308b \u4ee5\u4e0a<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[56],"class_list":["post-157","post","type-post","status-publish","format-standard","hentry","category-linux","tag-opendkim"],"_links":{"self":[{"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/posts\/157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/0x0c.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=157"}],"version-history":[{"count":0,"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/posts\/157\/revisions"}],"wp:attachment":[{"href":"https:\/\/0x0c.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/0x0c.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/0x0c.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}