{"id":1930,"date":"2025-12-21T08:36:16","date_gmt":"2025-12-21T08:36:16","guid":{"rendered":"https:\/\/alexisiumus.ru\/?p=1930"},"modified":"2025-12-21T08:36:16","modified_gmt":"2025-12-21T08:36:16","slug":"%d0%ba%d0%bb%d1%8e%d1%87%d0%b5%d0%b2%d0%be%d0%b9-%d0%bc%d0%be%d0%bc%d0%b5%d0%bd%d1%82","status":"publish","type":"post","link":"https:\/\/alexisiumus.ru\/?p=1930","title":{"rendered":"\u041a\u043b\u044e\u0447\u0435\u0432\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442"},"content":{"rendered":"\n<p>\u0412\u043e\u0442 \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043f\u043e\u0434\u043e\u0448\u043b\u0438 \u043a <strong>\u043a\u043b\u044e\u0447\u0435\u0432\u043e\u043c\u0443 \u043c\u043e\u043c\u0435\u043d\u0442\u0443<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, <em>\u043a\u0430\u043a \u0438\u043c\u0435\u043d\u043d\u043e<\/em> Dovecot \u0431\u0443\u0434\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043f\u043e\u0447\u0442\u0443.<br>\u0422\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u0441\u0442\u0440\u043e\u043a\u0443:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mail_location = mbox:~\/mail:INBOX=\/var\/mail\/%u<\/code><\/pre>\n\n\n\n<p>\u0418 \u044d\u0442\u043e \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u0435\u0442 \u0412\u0421\u0401 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0442\u044b \u0432\u0438\u0434\u0435\u043b:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u043f\u0438\u0441\u044c\u043c\u0430 \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u0432 <code>\/var\/mail\/username<\/code><\/li>\n\n\n\n<li>\u0432 <code>~\/Maildir<\/code> \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435\u0442<\/li>\n\n\n\n<li>\u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u0432\u0438\u0434\u0435\u0442\u044c \u043f\u0438\u0441\u044c\u043c\u0430<\/li>\n\n\n\n<li>\u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043e\u0436\u0438\u0434\u0430\u044e\u0442 Maildir, \u0430 \u0443 \u0442\u0435\u0431\u044f mbox<\/li>\n\n\n\n<li>Dovecot \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 mbox, \u0430 Postfix \u2014 \u0432 Maildir (\u0438\u043b\u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442)<\/li>\n<\/ul>\n\n\n\n<p>\u0422\u043e \u0435\u0441\u0442\u044c \u0441\u0435\u0439\u0447\u0430\u0441 \u0443 \u0442\u0435\u0431\u044f <strong>\u0444\u043e\u0440\u043c\u0430\u0442 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u0447\u0442\u044b = mbox<\/strong>, \u0430 \u043d\u0435 Maildir.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udfe5 \u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u043f\u043b\u043e\u0445\u043e<\/h3>\n\n\n\n<p>\u0424\u043e\u0440\u043c\u0430\u0442 <code>mbox<\/code>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0439<\/li>\n\n\n\n<li>\u0445\u0440\u0430\u043d\u0438\u0442 \u0412\u0421\u042e \u043f\u043e\u0447\u0442\u0443 \u0432 \u043e\u0434\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435<\/li>\n\n\n\n<li>\u043b\u0435\u0433\u043a\u043e \u043b\u043e\u043c\u0430\u0435\u0442\u0441\u044f<\/li>\n\n\n\n<li>\u043f\u043b\u043e\u0445\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 IMAP<\/li>\n\n\n\n<li>\u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f<\/li>\n\n\n\n<li>\u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432<\/li>\n\n\n\n<li>\u043d\u0435 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0439 Postfix\/Dovecot \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e<\/li>\n<\/ul>\n\n\n\n<p>Maildir \u2014 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udfe9 \u041a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Maildir<\/h3>\n\n\n\n<p>\u0414\u043b\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0433\u043e \u044f\u0449\u0438\u043a\u0430 (IMAP, Dovecot, Postfix, \u043a\u043b\u0438\u0435\u043d\u0442\u044b) \u043d\u0443\u0436\u043d\u043e:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mail_location = maildir:~\/Maildir<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udfe6 \u0427\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u044f\u0449\u0438\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">1. \u0418\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433 Dovecot<\/h4>\n\n\n\n<p>\u041e\u0442\u043a\u0440\u043e\u0439:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/dovecot\/conf.d\/10-mail.conf<\/code><\/pre>\n\n\n\n<p>\u041d\u0430\u0439\u0434\u0438 \u0441\u0442\u0440\u043e\u043a\u0443:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mail_location = mbox:~\/mail:INBOX=\/var\/mail\/%u<\/code><\/pre>\n\n\n\n<p>\u0418 \u0437\u0430\u043c\u0435\u043d\u0438 \u043d\u0430:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mail_location = maildir:~\/Maildir<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">2. \u0423\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e Postfix \u0442\u043e\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 Maildir<\/h4>\n\n\n\n<p>\u0412 <code>\/etc\/postfix\/main.cf<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>home_mailbox = Maildir\/<\/code><\/pre>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u043d\u0435\u0442 \u2014 \u0434\u043e\u0431\u0430\u0432\u044c.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">3. \u0421\u043e\u0437\u0434\u0430\u0442\u044c Maildir \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/h4>\n\n\n\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f <code>alex<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -u alex maildirmake.dovecot ~\/Maildir\nsudo -u alex maildirmake.dovecot ~\/Maildir\/.Drafts\nsudo -u alex maildirmake.dovecot ~\/Maildir\/.Sent\nsudo -u alex maildirmake.dovecot ~\/Maildir\/.Trash<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">4. \u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441\u044b<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart dovecot\nsystemctl restart postfix<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">5. \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0443<\/h4>\n\n\n\n<p>\u041e\u0442\u043f\u0440\u0430\u0432\u044c \u043f\u0438\u0441\u044c\u043c\u043e:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo test | mail -s test alex@sumuis.ru<\/code><\/pre>\n\n\n\n<p>\u041f\u043e\u0442\u043e\u043c:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls \/home\/alex\/Maildir\/new<\/code><\/pre>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u0442\u0430\u043c \u0444\u0430\u0439\u043b\u044b \u2014 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83c\udfaf \u0418\u0442\u043e\u0433<\/h3>\n\n\n\n<p>\u0422\u044b \u0441\u0435\u0439\u0447\u0430\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0448\u044c <strong>mbox<\/strong>, \u0430 \u043d\u0443\u0436\u043d\u043e <strong>Maildir<\/strong>.<br>\u042d\u0442\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u0434\u043b\u044f:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>IMAP<\/li>\n\n\n\n<li>Dovecot<\/li>\n\n\n\n<li>Postfix<\/li>\n\n\n\n<li>\u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432<\/li>\n\n\n\n<li>\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u043e\u0447\u0435\u043c\u0443 Dovecot \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 mbox \u0432\u043c\u0435\u0441\u0442\u043e Maildir \u0438 \u043a\u0430\u043a \u044d\u0442\u043e \u043b\u043e\u043c\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u041f\u043e\u0448\u0430\u0433\u043e\u0432\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0443 \u043d\u0430 Maildir: \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 mail_location, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Postfix, \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 Maildir \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u043f\u0438\u0441\u0435\u043c. \u041e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u0447\u0442\u044b \u0434\u043b\u044f IMAP.<\/p>\n","protected":false},"author":1,"featured_media":1958,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[285],"tags":[367,359,364,368,363,313,360,366,362,361,286,365],"class_list":{"0":"post-1930","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-285","8":"tag-dovecot-10-mail-conf","9":"tag-dovecot-mail_location","10":"tag-dovecot-mbox","11":"tag-home_mailbox-maildir","12":"tag-imap-maildir","13":"tag-linux--","14":"tag-maildir-","16":"tag-mbox-","17":"tag-postfix-maildir","18":"tag-286","19":"tag---maildir"},"_links":{"self":[{"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/posts\/1930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1930"}],"version-history":[{"count":2,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/posts\/1930\/revisions"}],"predecessor-version":[{"id":1957,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/posts\/1930\/revisions\/1957"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/media\/1958"}],"wp:attachment":[{"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}