{"id":765,"date":"2021-03-05T17:02:08","date_gmt":"2021-03-05T08:02:08","guid":{"rendered":"http:\/\/www.opentone.co.jp\/ot-lab\/?p=765"},"modified":"2025-05-12T10:06:20","modified_gmt":"2025-05-12T01:06:20","slug":"%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%ae%e3%82%bb%e3%82%ad%e3%83%a5%e3%83%aa%e3%83%86%e3%82%a3","status":"publish","type":"post","link":"https:\/\/www.opentone.co.jp\/ot-lab\/all\/web-system\/%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%ae%e3%82%bb%e3%82%ad%e3%83%a5%e3%83%aa%e3%83%86%e3%82%a3","title":{"rendered":"\u30e1\u30fc\u30eb\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3"},"content":{"rendered":"\n<p>\u3053\u3093\u306b\u3061\u306f\u3002\u6839\u672c\u3067\u3059\u3002<br>\u4eca\u65e5\u306f\u30e1\u30fc\u30eb\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306b\u3064\u3044\u3066\u3002<\/p>\n\n\n\n<p>\u307f\u306a\u3055\u3093\u306f\u3001\u30e1\u30fc\u30eb\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u88ab\u5bb3\u3068\u3044\u3046\u3068\u4f55\u3092\u601d\u3044\u6d6e\u304b\u3079\u308b\u3067\u3057\u3087\u3046\uff1f<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u4e0d\u6b63\u5229\u7528<\/li><li>\u76d7\u8074<\/li><li>\u6539\u3056\u3093<\/li><li>\u306a\u308a\u3059\u307e\u3057<\/li><\/ul>\n\n\n\n<p>\u306a\u3069\u304c\u601d\u3044\u6d6e\u304b\u3073\u307e\u3059\u304b\uff1f<\/p>\n\n\n\n<p>\u4e00\u822c\u7684\u306b\u30e1\u30fc\u30eb\u306fSMTP\u3068\u3044\u3046\u30d7\u30ed\u30c8\u30b3\u30eb\u306b\u3088\u3063\u3066\u9001\u4fe1\u3057\u307e\u3059\u3002<br>\u3053\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u306f\u5e73\u6587\u3067\u884c\u308f\u308c\u308b\u70ba\u3001\u60aa\u610f\u306e\u3042\u308b\u4eba\u304c\u5bb9\u6613\u306b\u76d7\u8074\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<br>\u307e\u305f\u8a8d\u8a3c\u3082\u3055\u308c\u306a\u3044\u305f\u3081\u3001\u8ab0\u3067\u3082\u5229\u7528\u3057\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e0d\u6b63\u5229\u7528\u306e\u5bfe\u5fdc<\/h2>\n\n\n\n<p>\u305d\u3053\u3067\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u3067\u306f\u300125\u756a\u30dd\u30fc\u30c8\uff08SMTP\u306f25\u756a\u30dd\u30fc\u30c8\u4f7f\u3063\u3066\u901a\u4fe1\u3057\u307e\u3059\uff09\u306f\u81ea\u30c9\u30e1\u30a4\u30f3\u5411\u3051\u306e\u30e1\u30fc\u30eb\u306e\u307f\u53d7\u4fe1\u3057\u3001\u305d\u308c\u4ee5\u5916\u306f\u8ee2\u9001\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u305f\u308a\u3057\u307e\u3059\u3002<br>\u3057\u304b\u3057\u3001\u305d\u308c\u3067\u306f\u81ea\u30b5\u30fc\u30d0\u304b\u3089\u4ed6\u306e\u30c9\u30e1\u30a4\u30f3\u3078\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u51fa\u6765\u306a\u304f\u306a\u308b\u305f\u3081\u3001<br>587\u756a\uff08\u30b5\u30d6\u30df\u30c3\u30b7\u30e7\u30f3\u30dd\u30fc\u30c8\uff09\u3092\u30e6\u30fc\u30b6\u30fc\u306b\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002<br>\u30b5\u30d6\u30df\u30c3\u30b7\u30e7\u30f3\u30dd\u30fc\u30c8\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u8a8d\u8a3c(SMTP-AUTH)\u3082\u884c\u3046\u305f\u3081\u3001\u305d\u3053\u3067\u4e0d\u6b63\u30e6\u30fc\u30b6\u30fc\u306e\u5229\u7528\u3092\u9632\u3050\u3053\u3068\u3068\u306a \u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u76d7\u8074\u30fb\u6539\u3056\u3093\u306e\u5bfe\u5fdc<\/h2>\n\n\n\n<p>\u3057\u304b\u3057587\u756a\u30dd\u30fc\u30c8\u3067\u306f\u901a\u4fe1\u81ea\u4f53\u306f\u5e73\u6587\u3067\u884c\u308f\u308c\u308b\u305f\u3081\u3001\u76d7\u8074\u306e\u5371\u967a\u6027\u304c\u8003\u3048\u3089\u308c\u307e\u3059\u3002<br>\u305d\u3053\u3067\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u306b\u3088\u3063\u3066\u306f\u3001465\u756a(SMTPS)\u3092\u4f7f\u3046\u3053\u3068\u3067\u8a8d\u8a3c\uff0b\u6697\u53f7\u5316\u3092\u884c\u3044\u3001<br>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u30b5\u30fc\u30d0\u9593\u3092\u6697\u53f7\u5316\u3059\u308b\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u81ea\u8eab\u306e\u4f1a\u793e\u3067\u4f7f\u3063\u3066\u3044\u308b\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u9001\u4fe1\u30b5\u30fc\u30d0\u7b49\u3092\u3001<br>\u30e1\u30fc\u30e9\u306b\u8a2d\u5b9a\u3057\u305f\u65b9\u306a\u3089\u304a\u5206\u304b\u308a\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001<br>\u6307\u5b9a\u3059\u308b\u30dd\u30fc\u30c8\u306f25\u756a\u30dd\u30fc\u30c8\u3067\u306f\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br>465\u756a\u30dd\u30fc\u30c8\u3084587\u756a\u30dd\u30fc\u30c8\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u306a\u308a\u3059\u307e\u3057\u306f\u610f\u5916\u306b\u7c21\u5358<\/h2>\n\n\n\n<p>\u3055\u3066\u3001\u8a8d\u8a3c\u30fb\u6697\u53f7\u5316\u3092\u3059\u308b\u3053\u3068\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u9593\u306e\u8a71\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4eee\u306b\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u540c\u58eb\u306e\u901a\u4fe1\u306b\u3053\u306e\u624b\u6cd5\u3092\u4f7f\u3046\u5834\u5408\u3001<br>\u30c9\u30e1\u30a4\u30f3\u306b\u3088\u3063\u3066\u3001\u8ee2\u9001\u3059\u308b\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u3054\u3068\u306b\u30dd\u30fc\u30c8\u3092\u5909\u3048\u305f\u308a\u3001<br>\u8a8d\u8a3c\u304c\u5fc5\u8981\u306a\u5834\u5408\u3001\u4e16\u754c\u4e2d\u306e\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u304c\u305d\u306e\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u306e\u8a8d\u8a3c\u60c5\u5831\u3092\u4fdd\u6301\u3057\u306a\u304f\u3066\u306f\u3001<br>\u30e1\u30fc\u30eb\u3092\u5c4a\u3051\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u9593\u306e\u901a\u4fe1\u306f25\u756a\u30dd\u30fc\u30c8\u3092\u5229\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001<br>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u4ee5\u5916\u304b\u3089\u306e\u30e1\u30fc\u30eb\u3092\u8ee2\u9001\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u3067\u306f\u3001<br>\u3069\u3046\u3057\u3066\u3082\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u9762\u304c\u5f31\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8a8d\u8a3c\u304c\u6a5f\u80fd\u3057\u3066\u3044\u306a\u3044\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u3067\u306f\u3001\u306a\u306b\u3092\u4ee5\u3063\u3066\u6b63\u898f\u306e\u30e1\u30fc\u30eb\u306a\u306e\u304b\uff1f<br>\u3092\u5224\u5225\u3059\u308b\u306e\u306f\u96e3\u3057\u304f\u306a\u308a\u307e\u3059\u3002<br>\u3053\u306e\u3088\u3046\u306a\u72b6\u614b\u3067\u61f8\u5ff5\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u304c\u300c\u306a\u308a\u3059\u307e\u3057\u300d\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u300c\u306a\u308a\u3059\u307e\u3057\u300d\u3068\u306f\u3001<br>\uff21\u3055\u3093\u304c\uff22\u3055\u3093\u306b\u9001\u308b\u30e1\u30fc\u30eb\u3092\u3001\u507d\uff21\u3055\u3093\u304c\uff21\u3055\u3093\u306e\u632f\u308a\u3092\u3057\u3066\uff22\u3055\u3093\u306b\u30e1\u30fc\u30eb\u3092\u9001\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u300c\u306a\u308a\u3059\u307e\u3057\u300d\u306e\u5bfe\u7b56\u306e\u524d\u306b\u3001SMTP\u306e\u901a\u4fe1\u624b\u9806\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br>\u4ee5\u4e0b\u306ftelnet\u3067\u67d0\u30d7\u30ed\u30d0\u30a4\u30c0\u306e587\u756a\u30dd\u30fc\u30c8\u306b\u63a5\u7d9a\u3057\u30e1\u30fc\u30eb\u9001\u4fe1\u3057\u305f\u4f8b\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>telnet &#091;\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0] 587\n # 220 &#091;\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0] ESMTP Postfix\nehlo &#091;\u30c9\u30e1\u30a4\u30f3]\n # 250-&#091;\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0]\n # 250-SIZE 10485760\n # 250-AUTH LOGIN PLAIN CRAM-MD5\n # 250 AUTH=LOGIN PLAIN CRAM-MD5\nauth login\n # 334 VXNlcm5hbWU6\n&#091;ID]\n # 334 UGFzc3dvcmQ6\n&#091;Password]\n # 235 Authentication successful\nmail from: &#091;\u9001\u4fe1\u5143]\n # 250 Ok\nrcpt to: &#091;\u5b9b\u5148]\n # 250 Ok\ndata\n # 354 End data with .\n<\/code><\/pre>\n\n\n[mail\u672c\u6587]\n\n\n\n<p>. # 250 2.0.0 Ok: queued as BD1622042E8 quit # 221 Bye<\/p>\n\n\n\n<p>\u30dd\u30a4\u30f3\u30c8\u306f [mail\u672c\u6587] \u306e\u7b87\u6240\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Date: Sat,  2 Nov 2013 09:00:00 +0900 (JST)\nFrom: xxxxx@oioioioio.com\nTo: ooooo@uiuiuiuiu.com\n\ntest-mail\n<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306a\u30e1\u30fc\u30eb\u3067\u306f\u3001\u3053\u306e\u30e1\u30fc\u30eb\u304c\u3069\u3046\u9001\u3089\u308c\u3066\u304f\u308b\u304b\uff1f<br>\u30e1\u30fc\u30e9\u3067\u958b\u304f\u3068<br>\u9001\u4fe1\u5143\u304c\u300cxxxxx@oioioioio.com\u300d\u3002<br>\u5b9b\u5148\u304c\u300cooooo@uiuiuiuiu.com\u300d\u3002<br>\u3067\u5c4a\u304d\u307e\u3059\u3002<br>\u3082\u3061\u308d\u3093\u3001\u5c4a\u3044\u305f\u30e1\u30fc\u30eb\u306f rcpt to \u3067\u6307\u5b9a\u3057\u305f\u30a2\u30c9\u30ec\u30b9\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3064\u307e\u308a\u3002\u30e1\u30fc\u30e9\u306b\u8868\u793a\u3055\u308c\u308b\u5185\u5bb9\u306f\u3001<br>data \u30b3\u30de\u30f3\u30c9\u306e\u5f8c\u306e\u30e1\u30fc\u30eb\u30d8\u30c3\u30c0\u30fc\u306e\u5185\u5bb9\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3060\u3051\u306a\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u3053\u3053\u3092\u507d\u88c5\u3059\u308c\u3070\u4ed6\u4eba\u306b\u306a\u308a\u3059\u307e\u3059\u3053\u3068\u306a\u3069\u306f\u5bb9\u6613\u3002<\/p>\n\n\n\n<p>\u3055\u3066\u3001\u305d\u306e\u3088\u3046\u306a\u306a\u308a\u3059\u307e\u3057\u30e1\u30fc\u30eb\u3092\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u3067\u306f\u3069\u3046\u9632\u3050\u306e\u304b\uff1f<br>\u305d\u306e\u624b\u6cd5\u3068\u3057\u3066\u3001SPF\u8a8d\u8a3c\u3084DKIM\u8a8d\u8a3c\u3092\u884c\u3063\u3066\u3044\u308b\u30b5\u30fc\u30d0\u3082\u73cd\u3057\u304f\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SPF\u3068\u306f<\/h2>\n\n\n\n<p>SPF\uff08Sender Policy Framework\uff09\u3068\u306f\u3001<br>\u6b63\u3057\u3044\u9001\u4fe1\u5143\u304b\u3089\u9001\u4fe1\u3055\u308c\u305f\u30e1\u30fc\u30eb\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u5177\u4f53\u7684\u306b\u306f\u3001<br>\u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u306f\u3001\u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u306eFrom\u30d8\u30c3\u30c0\u30fc\u306e\u30c9\u30e1\u30a4\u30f3\u3092DNS\u306b\u554f\u5408\u305b\u307e\u3059\u3002<br>SPF\u30ec\u30b3\u30fc\u30c9\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u3068\u3001DNS\u306f\u305d\u306eSPF\u30ec\u30b3\u30fc\u30c9\u3092\u8fd4\u3057\u307e\u3059\u3002<br>SPF\u30ec\u30b3\u30fc\u30c9\u306b\u306f\u3001\u305d\u306e\u30c9\u30e1\u30a4\u30f3\u304c\u9001\u4fe1\u3055\u308c\u308b\u3079\u304d\u30b5\u30fc\u30d0\u306eIP\u30a2\u30c9\u30ec\u30b9\u7b49\u304c\u8a18\u8f09\u3055\u308c\u3066\u304a\u308a\u3001<br>\u305d\u306e\u30ec\u30b3\u30fc\u30c9\u3092\u53d7\u3051\u53d6\u3063\u305f\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u306f\u3001<br>\u305d\u306e\u9001\u4fe1\u5143\u304c\u6b63\u3057\u3044\u30b5\u30fc\u30d0\u3067\u3042\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">DKIM\u3068\u306f<\/h2>\n\n\n\n<p>DKIM\uff08DomainKeys Identified Mail\uff09\u3068\u306f\u3001<br>SPF\u3068\u540c\u69d8\u306b\u3001\u6b63\u3057\u3044\u9001\u4fe1\u5143\u304b\u3089\u9001\u4fe1\u3055\u308c\u305f\u30e1\u30fc\u30eb\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u4ee5\u5916\u306b\u3001<br>\u6539\u3056\u3093\u3055\u308c\u305f\u30e1\u30fc\u30eb\u304b\u3069\u3046\u304b\u306b\u3064\u3044\u3066\u3082\u30c1\u30a7\u30c3\u30af\u3059\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u5177\u4f53\u7684\u306b\u306f\u3001<br>\u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u306f\u3001\u9001\u3089\u308c\u3066\u304d\u305f\u30e1\u30fc\u30eb\u306eDKIM-Signature\u30d8\u30c3\u30c0\u30fc\u304b\u3089\u3001DNS\u306b\u516c\u958b\u9375\u3092\u554f\u5408\u305b\u307e\u3059\u3002<br>\u6b21\u306b\u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u304b\u3089\u30cf\u30c3\u30b7\u30e5\u3092\u751f\u6210\u3057\u3001\u96fb\u5b50\u7f72\u540d\u3092\u4f5c\u6210\u3002<br>DNS\u304b\u3089\u53d6\u5f97\u3057\u305f\u516c\u958b\u9375\u3067\u3001\u96fb\u5b50\u7f72\u540d\u304b\u3089\u30cf\u30c3\u30b7\u30e5\u3092\u53d6\u5f97\u3002<br>\u305d\u306e\u30cf\u30c3\u30b7\u30e5\u3068\u3001\u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u304b\u3089\u751f\u6210\u3057\u305f\u30cf\u30c3\u30b7\u30e5\u3092\u6bd4\u8f03\u3057\u3001\u8a8d\u8a3c\u3059\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002<br>\u305d\u306e\u70ba\u3001SPF\u306eSPF\u30ec\u30b3\u30fc\u30c9\u306e\u69d8\u306b\u3001DKIM\u3067\u3082DNS\u30b5\u30fc\u30d0\u306b\u516c\u958b\u9375\u3092\u767b\u9332\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6b21\u306b\u3001SPF\u8a8d\u8a3c\u304a\u3088\u3073DKIM\u8a8d\u8a3c\u306b\u3044\u3064\u3044\u3066\u306e\u8a2d\u5b9a\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br>Server\u5074\uff08SMTP Server\uff09\u306b\u3064\u3044\u3066\u306f\u3001CentOS\u00d7Postfix\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8a2d\u5b9a(SPF)<\/h2>\n\n\n\n<p>\u307e\u305a\u306f\u3001SPF\u8a8d\u8a3c\u3092\u9001\u4fe1\u5074\u304c\u5229\u7528\u3059\u308b\u5834\u5408\u306e\u8a2d\u5b9a\u3067\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>DNS\u306bSPF\u30ec\u30b3\u30fc\u30c9\u3092\u767b\u9332<\/li><\/ol>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u8a2d\u5b9a\u306e\u8a73\u7d30\u5185\u5bb9\u306b\u3064\u3044\u3066\u89e6\u308c\u307e\u305b\u3093\u304c\u3001<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>v=spf1 +mx -all\n<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306aSPF\u30ec\u30b3\u30fc\u30c9\u3092\u767b\u9332\u3059\u308b\u3068\u3001\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u5074\u3067\u306f\u3001mx\u30ec\u30b3\u30fc\u30c9\u306eIP\u30a2\u30c9\u30ec\u30b9\u304c\u6709\u52b9\u306aIP\u30a2\u30c9\u30ec\u30b9\u3068\u306a \u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dig mail.nemoxxxx.com txt\n # ...\n     # ;; ANSWER SECTION:\n # mail.nemoxxxx.com.      3600    IN      TXT     \"v=spf1 +mx -all\"\n # ...\n<\/code><\/pre>\n\n\n\n<p>SPF\u8a8d\u8a3c\u3067\u9001\u4fe1\u3057\u305f\u5834\u5408\u306b\u306f\u3001\u3053\u306e\u3088\u3046\u306bDNS\u306bSPF\u30ec\u30b3\u30fc\u30c9\u3092\u767b\u9332\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8a2d\u5b9a(DKIM)<\/h2>\n\n\n\n<p>\u6b21\u306b\u3001DKIM\u8a8d\u8a3c\u3067\u9001\u4fe1\u3057\u305f\u3044\u5834\u5408\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">OpenDKIM\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo yum install --enablerepo=epel opendkim\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u30c9\u30e1\u30a4\u30f3\u7528\u306e\u9375\u3092\u751f\u6210<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code># \u30c9\u30e1\u30a4\u30f3\u6bce\u306b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\nsudo mkdir \/etc\/opendkim\/keys\/mail.nemoxxxx.com\n\n# \u9375\u751f\u6210\nsudo opendkim-genkey -D \/etc\/opendkim\/keys\/mail.nemoxxxx.com\/ -d mail.nemoxxxx.com -s default\n\n# \u78ba\u8a8d\nsudo ls -l \/etc\/opendkim\/keys\/mail.nemoxxxx.com\n # total 8\n # -rw------- 1 root root 891 May 1 13:53 default.private\n # -rw------- 1 root root 321 May 1 13:53 default.txt\n\n# \u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u5909\u66f4\nsudo chown -R opendkim:opendkim \/etc\/opendkim\/keys\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">DNS\u30ec\u30b3\u30fc\u30c9\u3092\u767b\u9332<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>dig default._domainkey.mail.nemoxxxx.com txt\n # ...\n # ;; ANSWER SECTION:\n # default._domainkey.mail.nemoxxxx.com. 3600 IN TXT \"v=DKIM1\\; k=rsa\\; p=MIGfM...(\u7565)...JQIDAQAB\"\n # ...\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">OpenDKIM\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u7de8\u96c6\uff08\/etc\/opendkim.conf\uff09<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code># s = \u9001\u4fe1\u6642\u306e\u7f72\u540d\n# v = \u53d7\u4fe1\u6642\u306e\u78ba\u8a8d\nMode    sv\n\n# \u79d8\u5bc6\u9375\u306e\u5834\u6240\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\n#KeyFile \/etc\/opendkim\/keys\/default.private\n\n# TXT \u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u30b7\u30b0\u30cb\u30c1\u30e3\u3092\u3064\u3051\u308b\u30c9\u30e1\u30a4\u30f3\u3001\u30bb\u30ec\u30af\u30bf\u3001\u5bfe\u5fdc\u3059\u308b\u79d8\u5bc6\u9375\u3092\u6307\u5b9a\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\nKeyTable        refile:\/etc\/opendkim\/KeyTable\n\n# \u3069\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306b\u5bfe\u3057\u3066\u306f\u3069\u306e TXT \u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u53c2\u7167\u3059\u308b\u304b\u3092\u6307\u5b9a\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\nSigningTable    refile:\/etc\/opendkim\/SigningTable\n\n# DKIM \u30b7\u30b0\u30cb\u30c1\u30e3\u3092\u3064\u3051\u308b\u3079\u304d\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u3092\u8a2d\u5b9a\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\nExternalIgnoreList      refile:\/etc\/opendkim\/TrustedHosts\nInternalHosts   refile:\/etc\/opendkim\/TrustedHosts\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">KeyTable\u306e\u8a2d\u5b9a\uff08\/etc\/opendkim\/KeyTable\uff09<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>default._domainkey.mail.nemoxxxx.com\nmail.nemoxxxx.com:default:\/etc\/opendkim\/keys\/mail.nemoxxxx.com\/default.private\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">SigningTable\u306e\u8a2d\u5b9a\uff08\/etc\/opendkim\/SigningTable\uff09<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>*@mail.nemoxxxx.com default._domainkey.mail.nemoxxxx.com\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">OpenDKIM\u306e\u8d77\u52d5<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo \/etc\/init.d\/opendkim start\n # Generating default DKIM keys:                              &#091;  OK  ]\n # Default DKIM keys for nemoxxxx.com created in \/etc\/opendkim\/keys.\n # Starting OpenDKIM Milter:                                  &#091;  OK  ]\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Postfix\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff08main.cf\uff09\u306e\u7de8\u96c6<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code># \u8a2d\u5b9a\u3092\u8ffd\u52a0\nsmtpd_milters = inet:127.0.0.1:8891\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Postfix\u306e\u518d\u8d77\u52d5<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo \/etc\/init.d\/postfix restart\n<\/code><\/pre>\n\n\n\n<p>DKIM\u8a8d\u8a3c\u306e\u5834\u5408\u306f\u3001DNS\u306b\u516c\u958b\u9375\u3092\u767b\u9332\u3059\u308b\u306e\u3068\u3001<br>\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u969b\u306b\u3001\u30d8\u30c3\u30c0\u30fc\u306bDKIM-Signature\u3092\u4ed8\u4e0e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081\u3001\u3053\u306e\u3088\u3046\u306a\u8a2d\u5b9a\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u78ba\u8a8d<\/h2>\n\n\n\n<p>\u305d\u308c\u3067\u306f\u3001<br>\u5b9f\u969b\u306b\u3053\u306e\u30b5\u30fc\u30d0\u3067\u9001\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u3092\u53d7\u3051\u53d6\u3063\u3066\u307f\u307e\u3059\u3002<br>\u4eca\u56de\u306fGmail\u306b\u9001\u4fe1\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u7d50\u679c\u306f\u4ee5\u4e0b\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Received-SPF: pass (google.com: domain of nemoto@mail.nemoxxxx.com designates 49.212.xxx.xxx as permitted sender) client-ip=49.212.xxx.xxx;\nAuthentication-Results: mx.google.com;\n       spf=pass (google.com: domain of nemoto@mail.nemoxxxx.com designates 49.212.xxx.xxx as permitted sender) smtp.mail=nemoto@mail.nemoxxxx.com;\n       dkim=pass header.i=@mail.nemoxxxx.com\n<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b Gmail \u306e\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u5074\u3067\u3001\u9001\u3063\u305f\u30e1\u30fc\u30eb\u304cSPF\u3068dkim\u304cpass\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u30d8\u30c3\u30c0\u30fc\u306b\u8ffd\u52a0\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>\u307e\u305f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed\/relaxed; d=mail.nemoxxxx.com;\n    s=default; t=1383919154;\n    bh=JHJNgFNBisi6qhXiMGkdSSTI1Yajl+VjjlFd06xgsv8=;\n    h=Date:From:To:Subject;\n    b=I1Tw41wwwX10svpI8gblrtwpyAlDJI2TBKrt+RjMOlpsmCX7FZy1R4ofHD3OA\/IVi\n     ZSWiUweo3wJVClzeXxN4LZ8iU4x6k7WlgJye\/eOMQxHOfU\/9RyxXnAt64dTg1he3+A\n     Q+Fyd8YxxhtxuBAIYM1bdX61y5O0B7gtFKfli1tw=\n<\/code><\/pre>\n\n\n\n<p>DKIM-Signature\u30d8\u30c3\u30c0\u30fc\u304c\u9001\u4fe1\u5143\u30b5\u30fc\u30d0\u3067\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6700\u5f8c\u306b<\/h2>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u9593\u3067\u306e\u300c\u306a\u308a\u3059\u307e\u3057\u300d\u3092\u9632\u3050\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u4eca\u306fDKIM\u306a\u3069\u306e\u8a2d\u5b9a\u304c\u306a\u304f\u3066\u3082\u9001\u4fe1\u3067\u304d\u306a\u3044\u3053\u3068\u306f\u5c11\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001<br>DKIM\u306f\u4eca\u5e74\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u6a19\u6e96\u3068\u3057\u3066IETF\u306b\u8a8d\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002<br>\u4eca\u5f8c\u3001\u3055\u3089\u306b\u666e\u53ca\u3059\u308b\u3053\u3068\u3067\u3001DKIM\u8a8d\u8a3c\u306f\u5e38\u8b58\u3068\u306a\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002<br>\u305d\u3046\u306a\u308b\u3068\u3001DKIM\u8a8d\u8a3c\u3067\u304d\u306a\u3044\u30e1\u30fc\u30eb\u306f\u53d7\u3051\u53d6\u3089\u306a\u3044\u3088\u3002\u3068\u3044\u3046\u65e5\u304c\u6765\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br>\u3054\u81ea\u8eab\u3067\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u3092\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b\u65b9\u3067\u3001\u3057\u3089\u3093\u304b\u3063\u305f\u30fc\u3063\u3066\u65b9\u306f\u3001\u662f\u975e\u5c0e\u5165\u3092\u691c\u8a0e\u3057\u3066\u307f\u3066\u306f\uff1f&nbsp;<\/p>\n<div class=\"opent-_2\" style=\"margin-top: 10px;margin-right: 10px;margin-bottom: 10px;margin-left: 10px;\" id=\"opent-3233027851\"><a href=\"https:\/\/www.opentone.co.jp\/backlog\/\" aria-label=\"twitter_backlogskt_new\"><img src=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2023\/02\/twitter_backlogskt_new.jpg\" alt=\"\"  srcset=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2023\/02\/twitter_backlogskt_new.jpg 1024w, https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2023\/02\/twitter_backlogskt_new-300x157.jpg 300w, https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2023\/02\/twitter_backlogskt_new-768x401.jpg 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" width=\"384\" height=\"200\"   \/><\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002\u6839\u672c\u3067\u3059\u3002\u4eca\u65e5\u306f\u30e1\u30fc\u30eb\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306b\u3064\u3044\u3066\u3002 \u307f\u306a\u3055\u3093\u306f\u3001\u30e1\u30fc\u30eb\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u88ab\u5bb3\u3068\u3044<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[28],"tags":[10],"class_list":["post-765","post","type-post","status-publish","format-standard","hentry","category-web-system","tag-10",""],"acf":[],"aioseo_notices":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"engage-mag-carousel-img":false,"engage-mag-carousel-img-landscape":false,"engage-mag-carousel-large-img":false,"engage-mag-carousel-large-img-landscape":false,"engage-mag-large-thumb":false,"engage-mag-small-thumb":false},"uagb_author_info":{"display_name":"ah106rx4o4","author_link":"https:\/\/www.opentone.co.jp\/ot-lab\/author\/ah106rx4o4"},"uagb_comment_info":1,"uagb_excerpt":"\u3053\u3093\u306b\u3061\u306f\u3002\u6839\u672c\u3067\u3059\u3002\u4eca\u65e5\u306f\u30e1\u30fc\u30eb\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306b\u3064\u3044\u3066\u3002 \u307f\u306a\u3055\u3093\u306f\u3001\u30e1\u30fc\u30eb\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u88ab\u5bb3\u3068\u3044","_links":{"self":[{"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/posts\/765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/comments?post=765"}],"version-history":[{"count":1,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/posts\/765\/revisions"}],"predecessor-version":[{"id":766,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/posts\/765\/revisions\/766"}],"wp:attachment":[{"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/media?parent=765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/categories?post=765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/tags?post=765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}