Install Roundcube Debian 12: Perbedaan antara revisi

Dari Dokumentasi Robie
Loncat ke navigasi Loncat ke pencarian
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
 
(2 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 1: Baris 1:
{| class="wikitable"
apt update && apt -y upgrade
|
|Install RoundCube to configure web-based mail transfer System.


On this example, it uses 2 servers like follows to configure RoundCube Mail.
 
+----------------------+         |          +----------------------+
Mail Server: Install postfix
  <nowiki>| [ www.srv.world  ] |</nowiki>10.0.0.31 | 10.0.0.32|  [ mail.srv.world  ] |
 
  <nowiki>|    Apache httpd    +----------+----------+        Postfix      |</nowiki>
<code>apt -y install postfix sasl2-bin</code>
  <nowiki>|      (Roundcube)     |</nowiki>                    |        Dovecot      |
root@mail-server:~# apt -y install postfix sasl2-bin
  <nowiki>|      MariaDB        |</nowiki>                    |                      |
Reading package lists... Done
  +----------------------+                    +----------------------+
Building dependency tree... Done
   
Reading state information... Done
|}
postfix is already the newest version (3.7.11-0+deb12u1).
{| class="wikitable"
The following additional packages will be installed:
|[1]
  db-util db5.3-util
|Install and Configure SMTP Server, refer to here.
The following NEW packages will be installed:
|-
  db-util db5.3-util sasl2-bin
|[2]
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
|Install and Configure IMAP Server, refer to here.
  Need to get 179 kB of archives.
|-
  After this operation, 736 kB of additional disk space will be used.
|[3]
  Get:1 http://deb.debian.org/debian bookworm/main amd64 db5.3-util amd64 5.3.28+dfsg2-1 [64.0 kB]
|Configure SSL/TLS settings for SMTP/IMAP Server, refer to here. (Optional)
Get:2 http://deb.debian.org/debian bookworm/main amd64 db-util all 5.3.2 [2176 B]
|-
  Get:3 http://deb.debian.org/debian bookworm/main amd64 sasl2-bin amd64 2.1.28+dfsg-10 [112 kB]
|[4]
  Fetched 179 kB in 0s (800 kB/s)
|Install PHP on Apache2 Server, refer to here.
  Preconfiguring packages ...
|-
  Selecting previously unselected package db5.3-util.
|[5]
(Reading database ... 19138 files and directories currently installed.)
|Configure SSL/TLS settings on Apache2 Server, refer to here.
Preparing to unpack .../db5.3-util_5.3.28+dfsg2-1_amd64.deb ...
|-
Unpacking db5.3-util (5.3.28+dfsg2-1) ...
|[6]
Selecting previously unselected package db-util.
|Install and Configure MariaDB Server on httpd Server, refer to here.
Preparing to unpack .../archives/db-util_5.3.2_all.deb ...
|-
Unpacking db-util (5.3.2) ...
|[7]
Selecting previously unselected package sasl2-bin.
|Create a Database for RoundCube.
Preparing to unpack .../sasl2-bin_2.1.28+dfsg-10_amd64.deb ...
|}
Unpacking sasl2-bin (2.1.28+dfsg-10) ...
Setting up db5.3-util (5.3.28+dfsg2-1) ...
  Setting up db-util (5.3.2) ...
Setting up sasl2-bin (2.1.28+dfsg-10) ...
Processing triggers for man-db (2.11.2-2) ...
root@mail-server:~#
cp /usr/share/postfix/main.cf.dist /etc/postfix/main.cf
 
nano /etc/postfix/main.cf

Revisi terkini sejak 11 Desember 2024 04.31

apt update && apt -y upgrade


Mail Server: Install postfix

apt -y install postfix sasl2-bin

root@mail-server:~# apt -y install postfix sasl2-bin
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
postfix is already the newest version (3.7.11-0+deb12u1).
The following additional packages will be installed:
  db-util db5.3-util
The following NEW packages will be installed:
  db-util db5.3-util sasl2-bin
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 179 kB of archives.
After this operation, 736 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 db5.3-util amd64 5.3.28+dfsg2-1 [64.0 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 db-util all 5.3.2 [2176 B]
Get:3 http://deb.debian.org/debian bookworm/main amd64 sasl2-bin amd64 2.1.28+dfsg-10 [112 kB]
Fetched 179 kB in 0s (800 kB/s)
Preconfiguring packages ...
Selecting previously unselected package db5.3-util.
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../db5.3-util_5.3.28+dfsg2-1_amd64.deb ...
Unpacking db5.3-util (5.3.28+dfsg2-1) ...
Selecting previously unselected package db-util.
Preparing to unpack .../archives/db-util_5.3.2_all.deb ...
Unpacking db-util (5.3.2) ...
Selecting previously unselected package sasl2-bin.
Preparing to unpack .../sasl2-bin_2.1.28+dfsg-10_amd64.deb ...
Unpacking sasl2-bin (2.1.28+dfsg-10) ...
Setting up db5.3-util (5.3.28+dfsg2-1) ...
Setting up db-util (5.3.2) ...
Setting up sasl2-bin (2.1.28+dfsg-10) ...
Processing triggers for man-db (2.11.2-2) ...
root@mail-server:~#

cp /usr/share/postfix/main.cf.dist /etc/postfix/main.cf

nano /etc/postfix/main.cf