{"id":227,"date":"2012-08-30T09:54:00","date_gmt":"2012-08-30T09:54:00","guid":{"rendered":"http:\/\/blog.successionua.com\/?p=227"},"modified":"2012-08-30T09:54:00","modified_gmt":"2012-08-30T09:54:00","slug":"%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-roundcube-webmail","status":"publish","type":"post","link":"https:\/\/geckich.space\/?p=227","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 RoundCube Webmail"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\u0421\u0440\u0430\u0437\u0443 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044e\u0441\u044c: \u041e\u0421 &#8211; Debian, MTA &#8211; Postfix, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f, \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 Apache + modphp5.<br \/>\u0412 Debian, \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430, \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u043f\u0443\u0442\u0438 &#8211; \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437 \u0441\u043e\u0440\u0446\u043e\u0432 \u0438\u043b\u0438 \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u043e\u0432. \u042f \u0432\u044b\u0431\u0440\u0430\u043b 2\u0439 \u043f\u0443\u0442\u044c.<\/p>\n<p><b><span style=\"color: #e69138;\">apt-get install roundcube roundcube-mysql&nbsp;<\/span><\/b><b style=\"color: #e69138;\">libapache2-mod-evasive<\/b><br \/><b><span style=\"color: #e69138;\">nano&nbsp;\/etc\/apache2\/conf.d\/roundcube<\/span><\/b><\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0442\u0440\u043e\u0447\u043a\u0438:<br \/><span style=\"color: #e69138;\"><br \/><\/span><span style=\"color: #e69138;\">Alias \/roundcube\/program\/js\/tiny_mce\/ \/usr\/share\/tinymce\/www\/<\/span><\/p>\n<p><span style=\"color: #e69138;\">Alias \/roundcube \/var\/lib\/roundcube<\/span><br \/><b><span style=\"color: #e69138;\"><br \/><\/span><\/b><b><span style=\"color: #e69138;\">chown -R www-data \/var\/lib\/roundcube\/<\/span><\/b><br \/><b><span style=\"color: #e69138;\">nano&nbsp;\/var\/lib\/roundcube\/config\/main.inc.php<\/span><\/b><\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0438 \u0434\u043b\u044f \u0441\u0432\u043e\u0435\u0433\u043e \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<p><span style=\"color: #e69138;\">$rcmail_config[&#8216;force_https&#8217;] = TRUE;<\/span><br \/><span style=\"color: #e69138;\">$rcmail_config[&#8216;default_host&#8217;] = &#8216;ssl:\/\/localhost:993&#8217;;<\/span><br \/><span style=\"color: #e69138;\">$rcmail_config[&#8216;imap_auth_type&#8217;] = &#8216;check&#8217;;<\/span><br \/><span style=\"color: #e69138;\">$rcmail_config[&#8216;smtp_server&#8217;] = &#8216;127.0.0.1&#8217;;<\/span><br \/><span style=\"color: #e69138;\">$rcmail_config[&#8216;smtp_port&#8217;] = 465;<\/span><\/p>\n<p><span style=\"color: #e69138;\">$rcmail_config[&#8216;smtp_user&#8217;] = &#8216;%u&#8217;;<\/span><\/p>\n<div><span style=\"color: #e69138;\">$rcmail_config[&#8216;smtp_pass&#8217;] = &#8216;%p&#8217;;<\/span><\/div>\n<p><span style=\"color: #e69138;\">$rcmail_config[&#8216;smtp_auth_type&#8217;] = &#8216;LOGIN&#8217;;<\/span><\/p>\n<p><a name='more'><\/a><b><span style=\"color: #e69138;\">nano \/etc\/apache2\/sites-available\/roundcube<\/span><\/b><br \/><span style=\"color: #e69138;\"><br \/><\/span><span style=\"color: #e69138;\">&lt;VirtualHost *:443&gt;<\/span><br \/><span style=\"color: #e69138;\"><br \/><\/span><span style=\"color: #e69138;\">&nbsp; &nbsp; ServerAdmin admin@domain.com<\/span><br \/><span style=\"color: #e69138;\">&nbsp; &nbsp; DocumentRoot \/var\/lib\/roundcube\/<\/span><br \/><span style=\"color: #e69138;\">&nbsp; &nbsp; DirectoryIndex index.php<\/span><br \/><span style=\"color: #e69138;\"><br \/><\/span><span style=\"color: #e69138;\">&nbsp; &nbsp; ServerName webmail.domain.com<\/span><br \/><span style=\"color: #e69138;\">&nbsp; &nbsp; ServerAlias www.webmail.domain.com<\/span><br \/><span style=\"color: #e69138;\"><br \/><\/span><span style=\"color: #e69138;\"><br \/><\/span><span style=\"color: #e69138;\">&nbsp; &nbsp; SSLEngine On<\/span><br \/><span style=\"color: #e69138;\">&nbsp; &nbsp; SSLCertificateFile \/etc\/ssl\/server.cert<\/span><br \/><span style=\"color: #e69138;\">&nbsp; &nbsp; SSLCertificateKeyFile \/etc\/ssl\/server.key<\/span><br \/><span style=\"color: #e69138;\"><br \/><\/span><span style=\"color: #e69138;\">&lt;\/VirtualHost&gt;<\/span><\/p>\n<p><span style=\"color: #e69138;\"><b>a2enmod ssl<\/b><\/span><br \/><b style=\"color: #e69138;\">a2ensite default-ssl<\/b><br \/><b style=\"color: #e69138;\"><br \/><\/b><br \/>\u0427\u0442\u043e\u0431\u044b \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u0432 \u043f\u0438\u0441\u044c\u043c\u043e \u0444\u0430\u0439\u043b\u043e\u0432, \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435. \u0418\u0442\u0430\u043a, \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c.<\/p>\n<p><b><span style=\"color: #e69138;\">nano \/etc\/php5\/apache2\/php.ini<\/span><\/b><br \/><span style=\"color: #e69138;\"><br \/><\/span><span style=\"color: #e69138;\">memory_limit = 256M<\/span><br \/><span style=\"color: #e69138;\">post_max_size = 128M<\/span><br \/><span style=\"color: #e69138;\">upload_max_filesize = 64M<\/span><\/p>\n<p>\u0420\u0430\u0437\u043c\u0435\u0440\u044b \u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043a\u0430\u043a \u0432\u0430\u043c \u043d\u0430\u0434\u043e, \u043d\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0442\u0430\u043a:&nbsp;memory_limit &gt;&nbsp;post_max_size &gt;&nbsp;upload_max_filesize<br \/>\u0414\u0430\u043b\u0435\u0435:<\/p>\n<p><span style=\"color: #e69138;\"><b>nano \/etc\/postfix\/main.cf<\/b><\/span><br \/><span style=\"color: #e69138;\"><br \/><\/span><span style=\"color: #e69138;\">message_size_limit = 64000000<\/span><\/p>\n<p>\u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0431\u0430\u0439\u0442\u0430\u0445.<br \/>\u0418 \u0442\u0435\u043f\u0435\u0440\u044c \u0441\u0430\u043c\u043e\u0435 \u0437\u0430\u043f\u0430\u0434\u043b\u044f\u043d\u0441\u043a\u043e\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u044f \u043d\u0435 \u0441\u0440\u0430\u0437\u0443 \u043d\u0430\u0448\u0435\u043b:<\/p>\n<p><span style=\"color: #e69138;\"><b>nano \/var\/lib\/roundcube\/.htaccess<\/b><\/span><br \/><span style=\"color: #e69138;\"><br \/><\/span><span style=\"color: #e69138;\">php_value &nbsp; &nbsp; &nbsp; upload_max_filesize &nbsp; &nbsp; 64M<\/span><\/p>\n<p><span style=\"color: #e69138;\">php_value &nbsp; &nbsp; &nbsp; post_max_size &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 128M<\/span><br \/><span style=\"color: #e69138;\">php_value &nbsp; &nbsp; &nbsp; memory_limit &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;256M<\/span><\/p>\n<p>\u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0438 \u0441\u043c\u0435\u043b\u043e \u0442\u043e\u043f\u0430\u0435\u043c \u043d\u0430 <b>https:\/\/webmail-address.int\/roundcube<\/b><br \/><b><span style=\"color: #e69138;\"><br \/><\/span><\/b><b><span style=\"color: #e69138;\">\/etc\/init.d\/postfix restart<\/span><\/b><\/p>\n<p><b><span style=\"color: #e69138;\">\/etc\/init.d\/apache2 restart<\/span><\/b><\/div>\n<div>http:\/\/geckich.blogspot.com\/<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0421\u0440\u0430\u0437\u0443 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044e\u0441\u044c: \u041e\u0421 &#8211; Debian, MTA &#8211; Postfix, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f, \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 Apache + modphp5.\u0412 Debian, \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430, \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u043f\u0443\u0442\u0438 &#8211; \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437 \u0441\u043e\u0440\u0446\u043e\u0432 \u0438\u043b\u0438 \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u043e\u0432. \u042f \u0432\u044b\u0431\u0440\u0430\u043b 2\u0439 \u043f\u0443\u0442\u044c. apt-get install roundcube roundcube-mysql&nbsp;libapache2-mod-evasivenano&nbsp;\/etc\/apache2\/conf.d\/roundcube \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0442\u0440\u043e\u0447\u043a\u0438:Alias \/roundcube\/program\/js\/tiny_mce\/ \/usr\/share\/tinymce\/www\/ Alias \/roundcube \/var\/lib\/roundcubechown -R www-data \/var\/lib\/roundcube\/nano&nbsp;\/var\/lib\/roundcube\/config\/main.inc.php \u0417\u0434\u0435\u0441\u044c \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0438 \u0434\u043b\u044f \u0441\u0432\u043e\u0435\u0433\u043e \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u041f\u0440\u0438\u043c\u0435\u0440: &hellip; <a href=\"https:\/\/geckich.space\/?p=227\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 RoundCube Webmail<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-227","post","type-post","status-publish","format-standard","hentry","category-linux"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts\/227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=227"}],"version-history":[{"count":0,"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts\/227\/revisions"}],"wp:attachment":[{"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}