apt install postfix dovecot-imapd dovecot-pop3d nano /etc/postfix/main.cf tambahkan home_mailbox = Maildir/ buat folder direktory baru di /etc/skel maildirmake.dovecot /etc/skel/Maildir reconfigure dpkg-reconfigure postfix su - root pilih Internet Site system mail name : mail.jsi.local recipient for root and postmaster mail : kosong force sync updates on mail queu : yes local network : tambahkan 0.0.0.0/0 Internet protocols to use : ipv4 systemctl restart dovecot konfigurasi dovecot nano /etc/dovecot/dovecot.conf hilangkan uncomment pada baris listen = * nano /etc/dovecot/conf.d/10-auth.conf disable_plaintext_auth = no nano /etc/dovecot/conf.d/10-mail.conf uncomment baris mail_location = maildir:~/Maildir comment pada baris mail_lcoation = mbox:~/mail:INBOX=/var/mail/%u systemctl restart dovecot tambahkan user untuk mail yaitu satu dan dua adduser satu dan berikan password untuk user satu dan user dua adduser dua systemctl restart postfix dovecot tes mail dengan aplikasi telnet telnet mail.jsi.local 25 mail from: satu@mail.jsi.local rcpt to: dua@mail.jsi.local data tulis isi mail/pesan diakhiri dengan titik (.) untuk keluar masukkan perintah quit cek email masuk di user dua telnet mail.jsi.local 110 masukkan user email : user dua masukkan password email : pass dua12345 lihat list email masukkan perintah : list buka isi email : retr 1 keluar : quit install roundcube dengan mariadb apt -y install mariadb-server roundcube configure database for roundcube with dbconfig-common? Pilih Yes masukkan password mysql/mariadb untuk database roundcube edit file konfigurasi di /etc/roundcube/config.inc.php tambahkan default host dengan nama domain yang digunakan untuk mail server $config['default_host'] = 'mail.jsi.local'; ganti SMTP server dengan domain mail server $config['smtp_host'] = 'mail.jsi.local:25'; kosongkan smtp user dan smtp password simpan file konfigurasi ulang roundcube dpkg-reconfigure roundcube-core kosongkan IMAP server user with Rouncube karena tidak mengguna TLS web server pilih yang apache2 konfigurasi apache di nano /etc/apache2/apache2.conf tambahkan Include /etc/roundcube/apache.conf cd /etc/apache2/sites-available touch mail.conf nano mail.conf ServerName mail.jsi.local DocumentRoot /user/share/roundcube disable default apache web server a2dissite 000-default.conf a2ensite mail.conf konfig alias permission untuk website Rouncube cd /etc/apache2/conf-enabled/roundcube.conf uncommnet pada baris ketiga Alias /roundcube /var/lib/roundcube/public_html systemctl restart apache2 lakukan uji coba dari browser mail.jsi.local/roundcube