{"id":10,"date":"2018-03-13T03:07:09","date_gmt":"2018-03-13T03:07:09","guid":{"rendered":"https:\/\/qvanta.pro\/?p=10"},"modified":"2018-03-13T03:07:09","modified_gmt":"2018-03-13T03:07:09","slug":"%d0%bd%d0%b0%d1%81%d1%82%d1%80%d0%be%d0%b9%d0%ba%d0%b0-%d0%bf%d0%be%d1%87%d1%82%d1%8b-%d0%bd%d0%b0-linux","status":"publish","type":"post","link":"https:\/\/blog.qvanta.ru\/?p=10","title":{"rendered":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0447\u0442\u044b \u043d\u0430 Linux"},"content":{"rendered":"<ul>\n<li>\u0423\u0434\u0430\u043b\u0438\u0442\u0435\u00a0<b>sendmail<\/b>:\n<pre class=\"syntax hljs php\"><span class=\"hljs-comment\"># rpm -e --nodeps sendmail<\/span><\/pre>\n<\/li>\n<li>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435\u00a0<b>postfix<\/b>:\n<pre class=\"syntax hljs php\"><span class=\"hljs-comment\"># yum install postfix<\/span>\n<span class=\"hljs-comment\"># \/etc\/postfix\/post-install upgrade-package<\/span><\/pre>\n<\/li>\n<li>\u041f\u0435\u0440\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0439\u0442\u0435 \u0431\u0430\u0437\u0443 \u0430\u043b\u0438\u0430\u0441\u043e\u0432:\n<pre class=\"syntax hljs php\"><span class=\"hljs-comment\"># cd \/etc<\/span>\n<span class=\"hljs-comment\"># newaliases<\/span><\/pre>\n<\/li>\n<li>\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435\u00a0<b>sendmail_path<\/b>\u00a0\u0432\u00a0<code>\/etc\/php.ini<\/code>:\n<pre class=\"syntax hljs javascript\">sendmail_path = <span class=\"hljs-regexp\">\/usr\/<\/span>sbin\/sendmail -t -i<\/pre>\n<\/li>\n<li>\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435\u00a0<b>postfix<\/b>:\n<pre class=\"syntax hljs php\"><span class=\"hljs-comment\"># service postfix restart<\/span><\/pre>\n<\/li>\n<li>\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 apache:\n<pre class=\"syntax hljs php\"><span class=\"hljs-comment\"># service zend-server restart<\/span><\/pre>\n<\/li>\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043d\u0430\u043b\u0438\u0447\u0438\u0435\u00a0<b>postfix<\/b>\u00a0\u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435\n<pre class=\"syntax hljs php\"><span class=\"hljs-comment\"># chk\u0441onfig --list|grep postfix<\/span><\/pre>\n<p>(\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0435\u0441\u0442\u044c):<\/p>\n<pre class=\"syntax hljs css\"><span class=\"hljs-tag\">postfix<\/span>         0<span class=\"hljs-pseudo\">:off<\/span>   1<span class=\"hljs-pseudo\">:off<\/span>   2<span class=\"hljs-pseudo\">:on<\/span>    3<span class=\"hljs-pseudo\">:on<\/span>    4<span class=\"hljs-pseudo\">:on<\/span>    5<span class=\"hljs-pseudo\">:on<\/span>    6<span class=\"hljs-pseudo\">:off<\/span><\/pre>\n<p>\u0435\u0441\u043b\u0438 \u043d\u0435\u0442:<\/p>\n<pre class=\"syntax hljs php\"><span class=\"hljs-comment\"># chkconfig postfix on<\/span><\/pre>\n<\/li>\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0440\u0430\u0431\u043e\u0442\u0443:<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0423\u0434\u0430\u043b\u0438\u0442\u0435\u00a0sendmail: # rpm -e &#8211;nodeps sendmail \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435\u00a0postfix: # yum install postfix # \/etc\/postfix\/post-install upgrade-package \u041f\u0435\u0440\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0439\u0442\u0435 \u0431\u0430\u0437\u0443 \u0430\u043b\u0438\u0430\u0441\u043e\u0432: # cd \/etc # newaliases \u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435\u00a0sendmail_path\u00a0\u0432\u00a0\/etc\/php.ini: sendmail_path = \/usr\/sbin\/sendmail -t -i \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435\u00a0postfix: # service postfix restart \u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 apache: # service zend-server restart \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043d\u0430\u043b\u0438\u0447\u0438\u0435\u00a0postfix\u00a0\u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 # chk\u0441onfig &#8211;list|grep postfix (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0435\u0441\u0442\u044c): postfix 0:off 1:off 2:on 3:on 4:on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.qvanta.ru\/index.php?rest_route=\/wp\/v2\/posts\/10"}],"collection":[{"href":"https:\/\/blog.qvanta.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qvanta.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qvanta.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qvanta.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":0,"href":"https:\/\/blog.qvanta.ru\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.qvanta.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qvanta.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qvanta.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}