{"id":863,"date":"2026-09-17T23:14:04","date_gmt":"2026-09-17T20:14:04","guid":{"rendered":"https:\/\/imaxis.ru\/?p=863"},"modified":"2026-09-18T00:06:08","modified_gmt":"2026-09-17T21:06:08","slug":"ustanovka-i-nastroyka-carbonio-ce-na-ubuntu-pochtovyy-server","status":"publish","type":"post","link":"https:\/\/imaxis.ru\/?p=863","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Carbonio CE \u043d\u0430 Ubuntu: \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440"},"content":{"rendered":"<h1>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Carbonio CE \u043d\u0430 Ubuntu: \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440<\/h1>\n<p>Carbonio Community Edition (Zextras) \u2014 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u0430\u044f \u043f\u043e\u0447\u0442\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430: \u0432\u0435\u0431-\u043a\u043b\u0438\u0435\u043d\u0442, MTA (SMTP), \u0430\u043d\u0442\u0438\u0441\u043f\u0430\u043c \u0438 \u0430\u043d\u0442\u0438\u0432\u0438\u0440\u0443\u0441, IMAP\/POP3, \u043f\u0430\u043d\u0435\u043b\u044c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0444\u0430\u0439\u043b\u044b\/\u0437\u0430\u0434\u0430\u0447\u0438\/\u0447\u0430\u0442. \u0412 \u044d\u0442\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0440\u0430\u0437\u0431\u0435\u0440\u0451\u043c \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u0441 \u043d\u0443\u043b\u044f \u043d\u0430 Ubuntu.<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e \u043d\u0430 Ubuntu 20.04\/22.04\/24.04. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u2014 <a href=\"https:\/\/docs.zextras.com\/carbonio-ce\/html\/index.html\">docs.zextras.com<\/a> (\u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c). \u041f\u0435\u0440\u0435\u0434 \u043d\u0430\u0447\u0430\u043b\u043e\u043c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0437\u0443\u0447\u0438\u0442\u0435 <a href=\"https:\/\/docs.zextras.com\/carbonio-ce\/html\/install\/requirements.html\">\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043a \u0441\u0438\u0441\u0442\u0435\u043c\u0435<\/a>.<\/p>\n<hr \/>\n<h2>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430<\/h2>\n<h3>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439<\/h3>\n<p>\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043d\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u0435\u0442 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u043e. \u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 <a href=\"https:\/\/zextras.com\/carbonio-community-edition#discoverproduct\">\u0444\u043e\u0440\u043c\u0443 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435<\/a> \u2014 \u043d\u0430 \u043f\u043e\u0447\u0442\u0443 \u043f\u0440\u0438\u0434\u0451\u0442 \u043f\u0438\u0441\u044c\u043c\u043e \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0438 \u0441\u0441\u044b\u043b\u043a\u043e\u0439 \u043d\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e. \u041d\u0438\u0436\u0435 \u2014 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438; \u0441\u0432\u0435\u0440\u044f\u0439\u0442\u0435\u0441\u044c \u0441\u043e \u0441\u0432\u043e\u0435\u0439 \u0441\u0441\u044b\u043b\u043a\u043e\u0439.<\/p>\n<h3>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/h3>\n<pre><code class=\"language-bash\">apt update\napt install wget\nwget https:\/\/repo.zextras.io\/inst_repo_ubuntu.sh\nbash .\/inst_repo_ubuntu.sh\nrm -f inst_repo_ubuntu.sh\n<\/code><\/pre>\n<h3>\u0411\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440<\/h3>\n<pre><code class=\"language-bash\">iptables -L\n<\/code><\/pre>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u0440\u0442\u044b \u0432\u0435\u0431-\u0434\u043e\u0441\u0442\u0443\u043f\u0430:<\/p>\n<pre><code class=\"language-bash\">iptables -I INPUT -p tcp --match multiport --dports 80,443 -j ACCEPT\niptables -I INPUT -p tcp --dport 6071 -j ACCEPT\n<\/code><\/pre>\n<p><strong>80 \u2014 HTTP, 443 \u2014 HTTPS, 6071 \u2014 \u043f\u0430\u043d\u0435\u043b\u044c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/strong><\/p>\n<p>\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u043f\u0430\u043d\u0435\u043b\u044c \u043f\u043e\u0434\u0441\u0435\u0442\u044c\u044e:<\/p>\n<pre><code class=\"language-bash\">iptables -I INPUT -p tcp -s 192.168.0.0\/24 --dport 6071 -j ACCEPT\n<\/code><\/pre>\n<p>SMTP:<\/p>\n<pre><code class=\"language-bash\">iptables -I INPUT -p tcp --match multiport --dports 25,465,587 -j ACCEPT\n<\/code><\/pre>\n<p><strong>25 \u2014 SMTP; 587 \u2014 STARTTLS; 465 \u2014 TLS\/SSL.<\/strong><\/p>\n<p>IMAP:<\/p>\n<pre><code class=\"language-bash\">iptables -I INPUT -p tcp --match multiport --dports 143,993 -j ACCEPT\n<\/code><\/pre>\n<p><strong>143 \u2014 IMAP\/STARTTLS; 993 \u2014 IMAPS.<\/strong><\/p>\n<p>POP3 (\u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438):<\/p>\n<pre><code class=\"language-bash\">iptables -I INPUT -p tcp --match multiport --dports 110,995 -j ACCEPT\n<\/code><\/pre>\n<pre><code class=\"language-bash\">apt install iptables-persistent\nnetfilter-persistent save\n<\/code><\/pre>\n<h3>\u0412\u0440\u0435\u043c\u044f<\/h3>\n<pre><code class=\"language-bash\">timedatectl set-timezone Europe\/Moscow\napt install chrony\n<\/code><\/pre>\n<h3>\u0418\u043c\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/h3>\n<pre><code class=\"language-bash\">hostnamectl set-hostname mail.imaxis.ru\nvi \/etc\/hosts\n<\/code><\/pre>\n<pre><code>192.168.1.15      mail.imaxis.ru\n<\/code><\/pre>\n<p><strong>\u0433\u0434\u0435 <code>192.168.1.15<\/code> \u2014 IP \u0441\u0435\u0440\u0432\u0435\u0440\u0430, <code>mail.imaxis.ru<\/code> \u2014 FQDN.<\/strong><\/p>\n<p>\u0411\u0435\u0437 \u043f\u0430\u043a\u0435\u0442\u0430 <code>hostname<\/code> \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f IP \u043f\u043e \u0438\u043c\u0435\u043d\u0438:<\/p>\n<pre><code class=\"language-bash\">apt install hostname\n<\/code><\/pre>\n<hr \/>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Carbonio<\/h2>\n<h3>\u0421\u0423\u0411\u0414<\/h3>\n<pre><code class=\"language-bash\">apt install postgresql-16\nread -s -p &quot;Password:&quot; PG_PWD\n<\/code><\/pre>\n<pre><code class=\"language-bash\">sudo -iu postgres psql -c &quot;CREATE ROLE carbonio WITH LOGIN SUPERUSER encrypted password '$PG_PWD';&quot;\nsudo -iu postgres psql -c &quot;CREATE DATABASE carbonio OWNER carbonio;&quot;\n<\/code><\/pre>\n<p><strong>\u0412\u043b\u0430\u0434\u0435\u043b\u0435\u0446 \u0431\u0430\u0437\u044b <code>carbonio<\/code> \u2014 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c <code>carbonio<\/code>, \u043f\u0430\u0440\u043e\u043b\u044c \u2014 \u0438\u0437 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 <code>PG_PWD<\/code>.<\/strong><\/p>\n<h3>\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/h3>\n<pre><code class=\"language-bash\">apt install service-discover-server carbonio-directory-server carbonio-proxy carbonio-webui carbonio-files-ui carbonio-mta carbonio-mailbox-db carbonio-appserver carbonio-user-management carbonio-files-ce carbonio-files-public-folder-ui carbonio-files-db carbonio-tasks-ce carbonio-tasks-db carbonio-tasks-ui carbonio-storages-ce carbonio-preview-ce carbonio-docs-connector-ce carbonio-docs-connector-db carbonio-docs-editor carbonio-prometheus carbonio-message-broker carbonio-message-dispatcher-ce carbonio-message-dispatcher-db carbonio-ws-collaboration-ce carbonio-ws-collaboration-db carbonio-ws-collaboration-ui carbonio-videoserver-ce carbonio-catalog\n<\/code><\/pre>\n<pre><code class=\"language-bash\">systemctl status carbonio-*\n<\/code><\/pre>\n<p><strong>\u0415\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441 \u043d\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u2014 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0432\u0440\u0443\u0447\u043d\u0443\u044e.<\/strong><\/p>\n<p>\u041f\u0435\u0440\u0432\u0438\u0447\u043d\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430:<\/p>\n<pre><code class=\"language-bash\">carbonio-bootstrap\n<\/code><\/pre>\n<p>\u041f\u0440\u0438 \u043d\u0435\u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 MX-\u0437\u0430\u043f\u0438\u0441\u044f\u0445 \u0443\u0432\u0438\u0434\u0438\u043c:<\/p>\n<pre><code>DNS ERROR - none of the &quot;MX&quot; records for imaxis.ru\nresolve to this host\n<\/code><\/pre>\n<p>\u041e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u0441\u044f \u043e\u0442 \u0441\u043c\u0435\u043d\u044b \u0434\u043e\u043c\u0435\u043d\u0430:<\/p>\n<pre><code>Change domain name? [Yes] no\n<\/code><\/pre>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0441\u043e\u0433\u043b\u0430\u0448\u0430\u0435\u043c\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u2014 <strong>y<\/strong>:<\/p>\n<pre><code>Main menu\n   1) Common Configuration:\n   2) carbonio-antivirus:                      Enabled\n   3) carbonio-directory-server:               Enabled\n   4) carbonio-mta:                            Enabled\n   5) carbonio-appserver:                      Enabled\n   6) carbonio-proxy:                          Enabled\n   s) Save config to file\n   x) Expand menu\n   q) Quit\n*** CONFIGURATION COMPLETE - press 'y' to apply configuration\nSelect from menu, or press 'y' to apply config (? - help) y\n<\/code><\/pre>\n<pre><code>Configuration complete - press return to exit\n<\/code><\/pre>\n<p>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432:<\/p>\n<pre><code class=\"language-bash\">service-discover setup-wizard\n<\/code><\/pre>\n<pre><code>Setup of first service-discover server instance\nens18 192.168.1.15\/24, fe80::d8c5:3aff:fe51:6a45\/64\nSpecify the binding address for service discovery: 192.168.1.15\/24\nCreate the cluster credentials password (will be used for setups):\nType the credential password again:\n<\/code><\/pre>\n<p><strong>\u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u0435\u043c \u043f\u0430\u0440\u043e\u043b\u044c \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430.<\/strong><\/p>\n<pre><code class=\"language-bash\">pending-setups -a\n<\/code><\/pre>\n<p><strong>\u0412\u0432\u043e\u0434\u0438\u043c \u043f\u0430\u0440\u043e\u043b\u044c \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430.<\/strong><\/p>\n<pre><code>There are no pending-setups to run. Exiting!\n<\/code><\/pre>\n<h3>\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0421\u0423\u0411\u0414<\/h3>\n<pre><code class=\"language-bash\">export PGPASSWORD=$PG_PWD\n<\/code><\/pre>\n<pre><code class=\"language-bash\">carbonio-mailbox-db-bootstrap carbonio 127.0.0.1\ncarbonio-files-db-bootstrap carbonio 127.0.0.1\ncarbonio-docs-connector-db-bootstrap carbonio 127.0.0.1\ncarbonio-tasks-db-bootstrap carbonio 127.0.0.1\ncarbonio-message-dispatcher-db-bootstrap carbonio 127.0.0.1\n<\/code><\/pre>\n<pre><code class=\"language-bash\">unset PG_PWD PGPASSWORD\n<\/code><\/pre>\n<hr \/>\n<h2>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430<\/h2>\n<p>\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e Carbonio \u0434\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0432\u0441\u0435\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044f\u043c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 \u2014 \u043f\u0440\u0438 \u0437\u0430\u0440\u0430\u0436\u0435\u043d\u0438\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u041f\u041a \u044d\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u0442 \u043a \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0435 \u0441\u043f\u0430\u043c\u0430.<\/p>\n<pre><code class=\"language-bash\">sudo -iu zextras postconf mynetworks\n<\/code><\/pre>\n<p>\u0420\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u0434\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u0431\u0435:<\/p>\n<pre><code class=\"language-bash\">sudo -iu zextras carbonio prov ms $(hostname -f) zimbraMtaMyNetworks '127.0.0.0\/8'\nsystemctl restart carbonio-mta.target\n<\/code><\/pre>\n<hr \/>\n<h2>\u0412\u0445\u043e\u0434 \u0432 \u043f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f<\/h2>\n<p>\u041f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c <code>zextras<\/code> \u0441\u043e \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c \u043f\u0430\u0440\u043e\u043b\u0435\u043c. \u0417\u0430\u0434\u0430\u0451\u043c \u0441\u0432\u043e\u0439.<\/p>\n<pre><code class=\"language-bash\">sudo -iu zextras carbonio prov getAllDomains\n<\/code><\/pre>\n<p><strong>\u0414\u043e\u043c\u0435\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0442\u044c \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <code>imaxis.ru<\/code>.<\/strong><\/p>\n<pre><code class=\"language-bash\">MAIL_DOMAIN=imaxis.ru\nread -s -p &quot;Password:&quot; ADM_PWD\nsudo -iu zextras carbonio prov setPassword zextras@${MAIL_DOMAIN} ${ADM_PWD}\nunset ADM_PWD\n<\/code><\/pre>\n<p><strong>\u041b\u043e\u0433\u0438\u043d \u2014 <code>zextras@&lt;\u0434\u043e\u043c\u0435\u043d&gt;<\/code>.<\/strong><\/p>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c <code>https:\/\/&lt;IP-\u0441\u0435\u0440\u0432\u0435\u0440\u0430&gt;:6071<\/code> (\u043f\u0440\u0438\u043c\u0438\u0442\u0435 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430) \u0438 \u0432\u0445\u043e\u0434\u0438\u043c.<\/p>\n<hr \/>\n<h2>\u0421\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 SSL\/TLS<\/h2>\n<p>\u0411\u0435\u0437 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 (\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0438\u043c\u044f, \u0434\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u0439 CA, \u043f\u043e\u043b\u043d\u0430\u044f \u0446\u0435\u043f\u043e\u0447\u043a\u0430) \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b: \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u043e\u0448\u0438\u0431\u043a\u0438 STARTTLS\/SSL \u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432.<\/p>\n<p>Carbonio \u043d\u0435 \u0441\u043b\u0443\u0448\u0430\u0435\u0442 \u043f\u043e\u0440\u0442 80 \u2014 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0440\u0435\u0434\u0438\u0440\u0435\u043a\u0442 \u043d\u0430 443:<\/p>\n<pre><code class=\"language-bash\">sudo -iu zextras carbonio prov ms $(hostname -f) zimbraReverseProxyMailMode redirect\nsystemctl restart carbonio-proxy.target\nss -tunlp | grep :80\n<\/code><\/pre>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c <code>https:\/\/mail.imaxis.ru:6071<\/code>, \u0432\u0445\u043e\u0434\u0438\u043c \u0432 \u043f\u0430\u043d\u0435\u043b\u044c. \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u0440\u0430\u0437\u0434\u0435\u043b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043e\u043c\u0435\u043d\u0430\u043c\u0438, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0434\u043e\u043c\u0435\u043d, \u0441\u043b\u0435\u0432\u0430 \u2014 <strong>Virtual Hosts &amp; Certificates<\/strong>.<\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0445\u043e\u0441\u0442 (\u0438\u043c\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439) \u2192 <strong>ADD<\/strong> \u2192 <strong>SAVE<\/strong>.<\/p>\n<p>\u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c <strong>UPLOAD AND VERIFY CERTIFICATE<\/strong>, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u0442 Let&#8217;s Encrypt (\u043f\u043e\u043b\u043d\u0430\u044f \u0446\u0435\u043f\u043e\u0447\u043a\u0430) \u2192 <strong>GENERATE CERTIFICATE<\/strong>.<\/p>\n<p>\u0421\u0442\u0430\u0442\u0443\u0441 \u043f\u0440\u0438\u0434\u0451\u0442 \u043f\u0438\u0441\u044c\u043c\u043e\u043c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0443 (<code>zextras<\/code>):<\/p>\n<pre><code>The certification result is: SUCCESS\nThe certificate for imaxis.ru was successfully received.\n<\/code><\/pre>\n<pre><code class=\"language-bash\">systemctl restart carbonio-proxy.target\n<\/code><\/pre>\n<hr \/>\n<h2>\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u043f\u0438\u0441\u0435\u043c<\/h2>\n<h3>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u044f\u0449\u0438\u043a\u0430<\/h3>\n<p>\u041f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u2192 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u043e\u043c\u0435\u043d\u0430\u043c\u0438 \u2192 <strong>Accounts<\/strong> \u2192 \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u0430\u043a\u043a\u0430\u0443\u043d\u0442.<\/p>\n<p>\u0417\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c:<\/p>\n<ul>\n<li><strong>Surname<\/strong> \u2014 \u0438\u043c\u044f (\u0430\u0432\u0442\u043e\u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442 <code>username<\/code> \u0438 <code>Display Name<\/code>);<\/li>\n<li><strong>Password<\/strong> \u2014 \u043f\u0430\u0440\u043e\u043b\u044c (\u0434\u0432\u0430\u0436\u0434\u044b);<\/li>\n<li><strong>Account Status<\/strong> \u2014 <strong>Active<\/strong>.<\/li>\n<\/ul>\n<h3>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438<\/h3>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0432\u0435\u0431-\u043a\u043b\u0438\u0435\u043d\u0442 <code>https:\/\/mail.imaxis.ru<\/code>, \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u043c <strong>NEW<\/strong>, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0438\u0441\u044c\u043c\u043e. \u041f\u0438\u0441\u044c\u043c\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u0432 \u0441\u043f\u0430\u043c \u2014 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c DNS.<\/p>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 DNS<\/h3>\n<ol>\n<li><strong>MX<\/strong> \u2014 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043e\u043c\u0435\u043d\u0430;<\/li>\n<li><strong>A<\/strong> \u2014 \u0430\u0434\u0440\u0435\u0441 \u0434\u043b\u044f MX-\u0445\u043e\u0441\u0442\u0430 (\u0432\u043d\u0435\u0448\u043d\u0438\u0439 IP);<\/li>\n<li><strong>PTR<\/strong> \u2014 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 IP \u2192 \u0434\u043e\u043c\u0435\u043d (\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442 \u043b\u0435\u0433\u0438\u0442\u0438\u043c\u043d\u043e\u0441\u0442\u044c);<\/li>\n<li><strong>SPF<\/strong> \u2014 TXT-\u0437\u0430\u043f\u0438\u0441\u044c \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u044b\u0445 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u0435\u0439;<\/li>\n<li><strong>DKIM<\/strong> \u2014 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430 \u0447\u0435\u0440\u0435\u0437 \u043f\u043e\u0434\u043f\u0438\u0441\u044c;<\/li>\n<li><strong>DMARC<\/strong> \u2014 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043f\u0438\u0441\u0435\u043c \u0434\u043e\u043c\u0435\u043d\u0430.<\/li>\n<\/ol>\n<hr \/>\n<h2>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 DKIM<\/h2>\n<h3>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c<\/h3>\n<pre><code class=\"language-bash\">DOMAIN=imaxis.ru\nsudo -iu zextras \/opt\/zextras\/libexec\/zmdkimkeyutil -q -d ${DOMAIN}\n<\/code><\/pre>\n<pre><code>Public signature to enter into DNS:\nC1EC91E2-BC8F-11EE-81D0-32265FA98525._domainkey IN      TXT     ( &quot;v=DKIM1; k=rsa; &quot;\n          &quot;p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...&quot; )  ; ----- DKIM key ... for imaxis.ru\n<\/code><\/pre>\n<p><strong>\u0418\u043c\u044f TXT-\u0437\u0430\u043f\u0438\u0441\u0438 \u2014 <code>&lt;\u0445\u044d\u0448&gt;._domainkey<\/code>, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u2014 <code>v=DKIM1; k=rsa; p=...<\/code>.<\/strong><\/p>\n<h3>\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c<\/h3>\n<pre><code class=\"language-bash\">DOMAIN=imaxis.ru\nsudo -iu zextras \/opt\/zextras\/libexec\/zmdkimkeyutil -a -d ${DOMAIN}\n<\/code><\/pre>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u0443\u044e TXT-\u0437\u0430\u043f\u0438\u0441\u044c \u0432 DNS \u0438 \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0438\u043d\u0443\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c.<\/p>\n<hr \/>\n<h2>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0430<\/h2>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c <a href=\"https:\/\/www.mail-tester.com\/\">mail-tester.com<\/a>, \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0438\u0441\u044c\u043c\u043e, \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u00ab\u0417\u0430\u0442\u0435\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043e\u0446\u0435\u043d\u043a\u0443\u00bb. \u0415\u0441\u043b\u0438 \u043d\u0435 10 \u0431\u0430\u043b\u043b\u043e\u0432 \u2014 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f.<\/p>\n<hr \/>\n<h2>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430<\/th>\n<th>IMAP<\/th>\n<th>POP3<\/th>\n<th>SMTP<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u0410\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/td>\n<td>\u0418\u043c\u044f \u0438\u0437 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <code>mail.imaxis.ru<\/code>)<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u041f\u043e\u0440\u0442<\/td>\n<td>143<\/td>\n<td>110<\/td>\n<td>587<\/td>\n<\/tr>\n<tr>\n<td>\u0428\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/td>\n<td>STARTTLS<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u0418\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/td>\n<td>\u041f\u043e\u043b\u043d\u044b\u0439 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 (<code>user@domain<\/code>)<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u041f\u0430\u0440\u043e\u043b\u044c<\/td>\n<td>\u041f\u0430\u0440\u043e\u043b\u044c \u044f\u0449\u0438\u043a\u0430<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h2>\u0422\u043e\u043d\u043a\u043e\u0441\u0442\u0438 \u0438 \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0435 \u043a\u0430\u043c\u043d\u0438<\/h2>\n<ul>\n<li><strong>\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043f\u043e \u0437\u0430\u044f\u0432\u043a\u0435<\/strong> \u2014 \u0441\u0441\u044b\u043b\u043a\u0438 \u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u0432\u044b\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u043e; \u0447\u0443\u0436\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043c\u043e\u0433\u0443\u0442 \u043d\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/li>\n<li><strong>\u041f\u0430\u043a\u0435\u0442 <code>hostname<\/code><\/strong> \u2014 \u0431\u0435\u0437 \u043d\u0435\u0433\u043e <code>carbonio-bootstrap<\/code> \u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f IP.<\/li>\n<li><strong>MX\/A\/PTR<\/strong> \u2014 \u0431\u0435\u0437 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u043f\u0438\u0441\u044c\u043c\u0430 \u0443\u0445\u043e\u0434\u044f\u0442 \u0432 \u0441\u043f\u0430\u043c; PTR \u0447\u0430\u0441\u0442\u043e \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440.<\/li>\n<li><strong>\u041f\u043e\u0440\u0442 80 \u0434\u043b\u044f Let&#8217;s Encrypt<\/strong> \u2014 Carbonio \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0435\u0433\u043e \u043d\u0435 \u0441\u043b\u0443\u0448\u0430\u0435\u0442; \u0432\u043a\u043b\u044e\u0447\u0430\u0439\u0442\u0435 <code>zimbraReverseProxyMailMode redirect<\/code>.<\/li>\n<li><strong>\u041f\u0430\u0440\u043e\u043b\u044c \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430<\/strong> \u2014 \u0437\u0430\u0434\u0430\u0451\u0442\u0441\u044f \u043f\u0440\u0438 <code>service-discover setup-wizard<\/code> \u0438 \u043d\u0443\u0436\u0435\u043d \u0434\u043b\u044f <code>pending-setups<\/code>.<\/li>\n<li><strong>PostgreSQL 16<\/strong> \u2014 \u0441\u0432\u0435\u0440\u044f\u0439\u0442\u0435 \u0432\u0435\u0440\u0441\u0438\u044e \u0441 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439; \u0432 \u043d\u043e\u0432\u044b\u0445 \u0440\u0435\u043b\u0438\u0437\u0430\u0445 \u043e\u043d\u0430 \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f.<\/li>\n<li><strong>\u041f\u0430\u043d\u0435\u043b\u044c 6071<\/strong> \u2014 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u044c\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u043f\u043e IP, \u044d\u0442\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441.<\/li>\n<li><strong><code>mynetworks<\/code><\/strong> \u2014 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0443\u0437\u044c\u0442\u0435 \u0434\u043e <code>127.0.0.0\/8<\/code>, \u0438\u043d\u0430\u0447\u0435 \u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u0442\u0430\u043d\u0435\u0442 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0440\u0435\u043b\u0435\u0435\u043c \u0434\u043b\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438.<\/li>\n<\/ul>\n<hr \/>\n<h2>\u0428\u043f\u0430\u0440\u0433\u0430\u043b\u043a\u0430<\/h2>\n<pre><code class=\"language-bash\">wget https:\/\/repo.zextras.io\/inst_repo_ubuntu.sh &amp;&amp; bash .\/inst_repo_ubuntu.sh\napt install postgresql-16 hostname\nsudo -iu postgres psql -c &quot;CREATE ROLE carbonio WITH LOGIN SUPERUSER encrypted password 'PWD';&quot;\nsudo -iu postgres psql -c &quot;CREATE DATABASE carbonio OWNER carbonio;&quot;\napt install service-discover-server carbonio-directory-server carbonio-proxy carbonio-webui carbonio-mta carbonio-mailbox-db carbonio-appserver ...\ncarbonio-bootstrap\nservice-discover setup-wizard\npending-setups -a\ncarbonio-mailbox-db-bootstrap carbonio 127.0.0.1\n# \u043f\u0430\u043d\u0435\u043b\u044c: https:\/\/&lt;IP&gt;:6071  (zextras@domain)\n<\/code><\/pre>\n<p><em>\u041f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e \u043d\u0430: Ubuntu 20.04\/22.04\/24.04 + Carbonio CE.<\/em><br \/>\n<em>\u0414\u0430\u0442\u0430: \u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c 2026.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Carbonio CE \u043d\u0430 Ubuntu: \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 Carbonio<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-863","post","type-post","status-publish","format-standard","hentry","category-linux"],"aioseo_notices":[],"views":9,"_links":{"self":[{"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/posts\/863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/imaxis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=863"}],"version-history":[{"count":3,"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/posts\/863\/revisions"}],"predecessor-version":[{"id":884,"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/posts\/863\/revisions\/884"}],"wp:attachment":[{"href":"https:\/\/imaxis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/imaxis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/imaxis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}