{"id":1082,"date":"2020-07-27T00:30:10","date_gmt":"2020-07-26T15:30:10","guid":{"rendered":"https:\/\/dalomo.net\/blog\/?p=1082"},"modified":"2020-07-25T23:14:46","modified_gmt":"2020-07-25T14:14:46","slug":"%e3%83%a1%e3%83%bc%e3%83%ab%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%82%92%e7%ab%8b%e3%81%a6%e3%81%9f%e3%81%84","status":"publish","type":"post","link":"https:\/\/dalomo.net\/blog\/2020\/07\/27\/1082\/","title":{"rendered":"\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u3092\u7acb\u3066\u305f\u3044"},"content":{"rendered":"<h1>\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc<\/h1>\n<p>\u30b5\u30fc\u30d0\u30fc\u3082\u501f\u308a\u305f\u3057\u3001\u30c9\u30e1\u30a4\u30f3\u3082\u53d6\u3063\u305f\u306e\u306b\u3001\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u7acb\u3066\u3066\u307f\u3066\u306a\u304b\u3063\u305f\u306a\u30fc\u3068\u601d\u3044\u3001\u7acb\u3066\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u3002\u3061\u3087\u3046\u3069WebArena\u306e\u30de\u30cb\u30e5\u30a2\u30eb\u306b<\/p>\n<p><a href=\"https:\/\/help.arena.ne.jp\/hc\/ja\/articles\/360039330393\">https:\/\/help.arena.ne.jp\/hc\/ja\/articles\/360039330393<\/a><\/p>\n<p><a href=\"https:\/\/help.arena.ne.jp\/hc\/ja\/articles\/360038840014\">https:\/\/help.arena.ne.jp\/hc\/ja\/articles\/360038840014<\/a><\/p>\n<p><a href=\"https:\/\/help.arena.ne.jp\/hc\/ja\/articles\/360039330373\">https:\/\/help.arena.ne.jp\/hc\/ja\/articles\/360039330373<\/a><\/p>\n<p>\u3068\u3001\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\u306e\u65b9\u6cd5\u304c\u8f09\u3063\u3066\u305f\u306e\u3067\u3001\u3053\u306e\u901a\u308a\u306b\u3084\u3063\u3066\u304f\u3002<\/p>\n<h2>DNS\u306e\u8a2d\u5b9a<\/h2>\n<p>\u521d\u3063\u7aef\u304b\u3089DNS\u306e\u8a2d\u5b9a\u65b9\u6cd5\u304c\u8f09\u3063\u3066\u306a\u304b\u3063\u305f\u306e\u3067\u81ea\u5206\u3067\u8abf\u3079\u308b\u3002\u30e1\u30fc\u30eb\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306fMX\u30ec\u30b3\u30fc\u30c9\u3068\u3044\u3046\u306e\u3092\u8ffd\u52a0\u3059\u308c\u3070\u3044\u3044\u307f\u305f\u3044\u306a\u306e\u3067\u8ffd\u52a0\u3057\u305f\u3002\u3061\u306a\u307f\u306b\u306a\u305c\u3053\u306e\u30c9\u30e1\u30a4\u30f3\u304cnjalla\u304b\u3068\u3044\u3046\u3068\u5358\u306b\u53a8\u4e8c\u5fc3\u304c\u304f\u3059\u3050\u3089\u308c\u305f\u304b\u3089\u3067\u3042\u308a\u3001\u4eca\u306f\u3084\u3084\u5f8c\u6094\u3057\u3066\u3044\u308b\u3002\u60c5\u5831\u3068\u304b\u306a\u3044\u3057\u3001\u82f1\u8a9e\u3060\u3057\u3001\u306d\u3002\u307e\u3041\u305d\u308c\u306f\u305d\u308c\u3068\u3057\u3066<\/p>\n<p><a href=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2020\/07\/mail01.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1083\" src=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2020\/07\/mail01-300x42.png\" alt=\"\" width=\"300\" height=\"42\" srcset=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2020\/07\/mail01-300x42.png 300w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2020\/07\/mail01-768x108.png 768w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2020\/07\/mail01.png 1000w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u8ffd\u52a0\u3057\u305f\u3002<\/p>\n<h2>Postfix\u306e\u8a2d\u5b9a<\/h2>\n<p>\u306a\u3093\u304b\u5143\u304b\u3089\u5165\u3063\u3066\u308b\u3089\u3057\u3044\u3002\u5185\u5bb9\u7684\u306b\u306f\u4e0a\u8a18\u306e\u30ea\u30f3\u30af\u306e\u901a\u308a\u9032\u3081\u308b\u3002\u3093\u3067\u3059\u304c\u3002<\/p>\n<pre><code class=\"shell\">system-switch-mail<\/code><\/pre>\n<p>\u3063\u3066\u3084\u3063\u3066\u3082\u30b3\u30de\u30f3\u30c9\u304c\u898b\u3064\u304b\u3089\u306d\u3047\u3063\u3066\u306a\u308b\u3002\u691c\u7d22\u3057\u3066<\/p>\n<p><a href=\"https:\/\/tech.godpress.net\/?p=272\">https:\/\/tech.godpress.net\/?p=272<\/a><\/p>\n<p>\u3053\u3061\u3089\u306e\u65b9\u306e\u3084\u308a\u65b9\u3092\u8a66\u3057\u3066\u307f\u305f\u3089<\/p>\n<pre><code class=\"shell\"># alternatives --config mta\r\n\r\nThere is 1 program that provides 'mta'.\r\n\r\n  Selection    Command\r\n-----------------------------------------------\r\n*+ 1           \/usr\/sbin\/sendmail.postfix\r\n\r\nEnter to keep the current selection[+], or type selection number:<\/code><\/pre>\n<p>\u305d\u3082\u305d\u3082Postfix\u3057\u304b\u5165\u3063\u3066\u306a\u304b\u3063\u305f\u3002\u5e78\u5148\u304c\u60aa\u3044\u304c\u9032\u3081\u308b\u3002\u305d\u3057\u305f\u3089<\/p>\n<pre><code class=\"shell\">-o smtpd_etrn_restrictions=reject<\/code><\/pre>\n<p>\u304c\u7121\u3044\u3002\u56f0\u3063\u305f\u3002\u3068\u308a\u3042\u3048\u305a\u66f8\u304d\u8db3\u3057\u3066\u304a\u3044\u3066\u307f\u308b\u3002\u3067\u3001\u8272\u3005\u3084\u3063\u3066\u7d42\u308f\u308a\u3002\u3042\u308c\uff1f\u3053\u3093\u306a\u3093\u3067\u3044\u3044\u306e\uff1f<\/p>\n<h2>Dovecot\u306e\u8a2d\u5b9a<\/h2>\n<p>\u3053\u308c\u3082\u4e0a\u8a18\u30ea\u30f3\u30af\u898b\u306a\u304c\u3089\u3084\u308b\u3051\u3069\u3001\u8d77\u52d5\u3057\u304b\u66f8\u3044\u3066\u306a\u3044\u3002\u3002\u3002\u304b\u3064<\/p>\n<pre><code class=\"shell\">service dovecot start<\/code><\/pre>\n<p>\u3063\u3066\u6253\u3063\u3066\u3082<\/p>\n<pre><code class=\"shell\">Redirecting to \/bin\/systemctl start dovecot.service\r\nFailed to start dovecot.service: Unit not found.<\/code><\/pre>\n<p>\u3063\u3066\u306a\u308b\u3002\u3093\u3093\u3093\uff5e\uff1f\u602a\u3057\u304f\u306a\u3063\u3066\u304d\u305f\u305e\u3002\u3067\u3082\u307e\u3041\u3068\u308a\u3042\u3048\u305a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u3044\u3068\u3002<\/p>\n<pre><code class=\"shell\">yum install dovecot<\/code><\/pre>\n<p>\u3067\u304d\u305f\u3002\u3067\u3082\u3063\u304b\u3044\u30b9\u30bf\u30fc\u30c8\u3059\u308b\u3068\u8d77\u52d5\u3057\u305f\u3063\u307d\u3044\u3002\u305d\u3057\u3066\u3001\u3053\u308c\u3067\u7d42\u308f\u3063\u305f\u3093\u3060\u304c\u3001\u3069\u3046\u3044\u3046\u3053\u3068\u3060\u2026\u3002<\/p>\n<p>\u3007\u3007@dalomo.net\u3063\u3066\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306b\u306a\u308b\u3068\u601d\u3046\u3093\u3067\u3059\u304c\u3007\u3007\u306e\u90e8\u5206\u3063\u3066\u3044\u3064\u8a2d\u5b9a\u3057\u305f\u306e\uff1f\u30e1\u30fc\u30eb\u3063\u3066\u30b5\u30fc\u30d0\u30fc\u306b\u4fdd\u5b58\u3055\u308c\u308b\u306e\uff1f\u5168\u7136\u308f\u304b\u3089\u306a\u3044\u3002\u96f0\u56f2\u6c17\u3067\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u3002<\/p>\n<h2>\u3055\u304f\u3089\u306e\u30de\u30cb\u30e5\u30a2\u30eb\u4f7f\u3046<\/h2>\n<p><a href=\"https:\/\/www.sakura-vps.net\/centos7-setting-list\/postfix-settings-for-sakura-vps-centos7\/\">https:\/\/www.sakura-vps.net\/centos7-setting-list\/postfix-settings-for-sakura-vps-centos7\/<\/a><\/p>\n<p><a href=\"https:\/\/www.sakura-vps.net\/centos7-setting-list\/dovecot-settings-for-sakura-vps-centos7\/\">https:\/\/www.sakura-vps.net\/centos7-setting-list\/dovecot-settings-for-sakura-vps-centos7\/<\/a><\/p>\n<p>\u3042\u307e\u308a\u306b\u3084\u3063\u3066\u308b\u3053\u3068\u8db3\u308a\u306a\u3044\u3088\u3046\u306a\u6c17\u304c\u3057\u305f\u306e\u3067\u3001\u3055\u304f\u3089\u306e\u30de\u30cb\u30e5\u30a2\u30eb\u306b\u6cbf\u3063\u3066\u3084\u3063\u3066\u307f\u305f\u3002centOS\u306e\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u305d\u306e\u307e\u307e\u30e1\u30a2\u30c9\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u306a\u308b\u307f\u305f\u3044\u3002\u306a\u308b\u307b\u3069\u306a\u30fc\u3002<\/p>\n<h2>\u30dd\u30fc\u30c8\u304c\u958b\u3044\u3066\u306a\u3055\u3052<\/h2>\n<p>VPS\u306e\u30b3\u30f3\u30d1\u30cd\u304b\u3089\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u306b<\/p>\n<pre><code class=\"shell\">tcp:25,25,ip4:0.0.0.0\/0\r\ntcp:587,587,ip4:0.0.0.0\/0\r\ntcp:110,110,ip4:0.0.0.0\/0\r\ntcp:143,143,ip4:0.0.0.0\/0<\/code><\/pre>\n<p>\u3092\u8ffd\u52a0\u3002<\/p>\n<h2>\u78ba\u8a8d\u3059\u308b<\/h2>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30fb\u8a2d\u5b9a\u304c\u7d42\u308f\u3063\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u305f\u3002<\/p>\n<ul>\n<li>\u30bf\u30fc\u30df\u30ca\u30eb\u4e0a\u304b\u3089mail\u30b3\u30de\u30f3\u30c9\u3067\u5916\u90e8\u30b5\u30fc\u30d0\u30fc(Gmail)\u306b\u30e1\u30fc\u30eb\u9001\u4fe1\u2192\u3067\u304d\u308b\u3002<\/li>\n<li>\u5916\u90e8\u30b5\u30fc\u30d0\u30fc(Gmail)\u304b\u3089\u81ea\u30b5\u30fc\u30d0\u30fc\u3078\u30e1\u30fc\u30eb\u9001\u4fe1\u2192\u306a\u3093\u304b\u3067\u304d\u306a\u3044\u3088\u30fc\u3063\u3066\u8fd4\u3063\u3066\u304f\u308b\u3002<\/li>\n<li>\u30e1\u30fc\u30eb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8(Thunderbird)\u3067\u81ea\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3057\u3088\u3046\u3068\u3059\u308b\u2192\u3067\u304d\u306a\u3044\u3002<\/li>\n<\/ul>\n<p>\u53d7\u4fe1\u306e\u90e8\u5206\u3068\u30ed\u30b0\u30a4\u30f3\u3067\u3046\u307e\u304f\u3044\u3063\u3066\u306a\u3044\u3063\u307d\u3044\u3002<\/p>\n<h3>telnet\u3067\u78ba\u8a8d<\/h3>\n<pre><code class=\"shell\">yum -y install telnet<\/code><\/pre>\n<p>\u3067telnet\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<pre><code class=\"shell\">telnet localhost imap<\/code><\/pre>\n<p>\u7d50\u679c<\/p>\n<pre><code class=\"shell\">Trying 127.0.0.1...\r\nConnected to localhost.\r\nEscape character is '^]'.\r\n* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN] Dovecot ready.\r\n* BYE Disconnected for inactivity.\r\nConnection closed by foreign host.<\/code><\/pre>\n<p>\u610f\u5473\u3088\u304f\u5206\u304b\u3093\u306a\u3044\u3051\u3069\u3001\u5927\u4e08\u592b\u306a\u6c17\u304c\u3059\u308b\u3002<\/p>\n<h3>\u30ed\u30b0\u3092\u898b\u308b<\/h3>\n<pre><code class=\"shell\">vi \/var\/log\/maillog<\/code><\/pre>\n<p>\u4e2d\u8eab<\/p>\n<pre><code class=\"shell\">dovecot: imap-login: Aborted login (no auth attempts in 0 secs):\u307b\u306b\u3083\u3089\u3089<\/code><\/pre>\n<p>\u3068<\/p>\n<pre><code class=\"shell\">postfix\/smtpd[27083]: warning: SASL authentication failure: Internal Error -4 in server.c near line 1757\r\npostfix\/smtpd[27083]: warning: xsasl_cyrus_server_get_mechanism_list: no mechanism available\r\npostfix\/smtpd[27083]: fatal: no SASL authentication mechanisms<\/code><\/pre>\n<p>\u3053\u308c\u304c\u602a\u3057\u3044\u304b\u306a\u3041\u2026\u3002\u30a8\u30e9\u30fc\u6587\u8a00\u3067\u30b0\u30b0\u308b\u3068<\/p>\n<p><a href=\"https:\/\/www.ipentec.com\/document\/linux-postfix-warning-xsasl-cyrus-server-get-mechanism-list-no-mechanism-available\">https:\/\/www.ipentec.com\/document\/linux-postfix-warning-xsasl-cyrus-server-get-mechanism-list-no-mechanism-available<\/a><\/p>\n<p>\u3053\u3061\u3089\u3092\u898b\u3064\u3051\u305f\u3002\u3042\u308c\uff1f\u5165\u308c\u3066\u306a\u304b\u3063\u305f\u3063\u3051\uff1f\u3068\u601d\u3063\u3066<\/p>\n<pre><code class=\"shell\">yum list installed | grep cyrus<\/code><\/pre>\n<p>\u7d50\u679c<\/p>\n<pre><code class=\"shell\">cyrus-sasl.x86_64                  2.1.26-23.el7                  @base\r\ncyrus-sasl-lib.x86_64              2.1.26-23.el7                  @base<\/code><\/pre>\n<p>\u304a\u30fc\u3001\u3053\u308c\u304b\u306a\uff1f\u8a00\u308f\u308c\u308b\u304c\u307e\u307e\u306b<\/p>\n<pre><code class=\"shell\">yum install cyrus-sasl-plain\r\nyum install cyrus-sasl-md5<\/code><\/pre>\n<p>\u3057\u3066\u307f\u3066\u518d\u5ea6<\/p>\n<pre><code class=\"shell\">yum list installed | grep cyrus<\/code><\/pre>\n<p>\u7d50\u679c<\/p>\n<pre><code class=\"shell\">cyrus-sasl.x86_64                  2.1.26-23.el7                  @base\r\ncyrus-sasl-lib.x86_64              2.1.26-23.el7                  @base\r\ncyrus-sasl-md5.x86_64              2.1.26-23.el7                  @base\r\ncyrus-sasl-plain.x86_64            2.1.26-23.el7                  @base<\/code><\/pre>\n<p>\u3075\u3080\u30fc\u3002<\/p>\n<p>\u30e1\u30fc\u30eb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u63a5\u7d9a\u3092\u8a66\u307f\u3066\u307f\u308b\u3068\u2026<\/p>\n<p><a href=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2020\/07\/mail01-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1118\" src=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2020\/07\/mail01-1-300x253.png\" alt=\"\" width=\"300\" height=\"253\" srcset=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2020\/07\/mail01-1-300x253.png 300w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2020\/07\/mail01-1.png 440w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u3084\u3063\u305f\u305c\uff01\u3067\u3082\u63a5\u7d9a\u306e\u4fdd\u8b77\u306a\u3057\u3063\u3066\u306a\u3063\u3066\u308b\u3002\u5927\u4e08\u592b\u306a\u306e\u304b\u306a\u3002\u3068\u308a\u3042\u3048\u305a\u8a66\u3059\u3002<\/p>\n<ul>\n<li>\u81ea\u2192\u81ea \u2026 OK<\/li>\n<li>\u81ea\u2192\u5916 \u2026 OK<\/li>\n<li>\u5916\u2192\u81ea \u2026 OK<\/li>\n<\/ul>\n<p>\u304a\u30fc\u3001\u3059\u3054\u3044\u3061\u3083\u3093\u3068\u9001\u53d7\u4fe1\u3067\u304d\u3066\u308b\u3002\u3068\u308a\u3042\u3048\u305a\u3053\u308c\u3067\u3044\u30fc\u3084\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc \u30b5\u30fc\u30d0\u30fc\u3082\u501f\u308a\u305f\u3057\u3001\u30c9\u30e1\u30a4\u30f3\u3082\u53d6\u3063\u305f\u306e\u306b\u3001\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u7acb\u3066\u3066\u307f\u3066\u306a\u304b\u3063\u305f\u306a\u30fc\u3068\u601d\u3044\u3001\u7acb\u3066\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u3002\u3061\u3087\u3046\u3069WebArena\u306e\u30de\u30cb\u30e5\u30a2\u30eb\u306b https:\/\/help.arena.ne.jp\/hc\/ &hellip; <a href=\"https:\/\/dalomo.net\/blog\/2020\/07\/27\/1082\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1083,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[2],"tags":[119,118,32,117],"class_list":["post-1082","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-2","tag-dovecot","tag-postfix","tag-vps","tag-117"],"_links":{"self":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/1082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/comments?post=1082"}],"version-history":[{"count":6,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/1082\/revisions"}],"predecessor-version":[{"id":1121,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/1082\/revisions\/1121"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/media\/1083"}],"wp:attachment":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/media?parent=1082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/categories?post=1082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/tags?post=1082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}