INSTALL MAIL SERVER DENGAN POSTFIX DAN ROUNDCUBE
1. apt-get install apache2
nano /etc/apache2/sites-available/000-default.conf
nameserver
ganti file root
wajib restart service == > systemctl restart apache2
2. apt-get install dovecot-imapd
apt-get install dovecot-pop3d
apt-get install dovecot-mysql
nano /etc/dovecot/conf.d/10-mail.conf
mail_location = maildir:~/Maildir
TAMBAHKAN PAGAR PADA mail_location = mbox:~ ===> harus benar2 diperhatikan
nano /etc/dovecot/conf.d/10-auth.conf
disable_plaintext_auth = no
nano /etc/dovecot/dovecot.conf
listen = *
namespace inbox {
inbox = yes
}
wajib restart service == > systemctl restart dovecot
3. apt-get install postfix
maildirmake.dovecot /etc/skel/Maildir
nano /etc/postfix/main.cf
home_mailbox = Maildir/
dpkg-reconfigure postfix
wajib restart service == > systemctl restart postfix
4. apt-get install mariadb-server
mysql_secure_installation
mysql -u root -p
create database roundcube;
create user ’roundcube’@’localhost’ identified by ‘123’;
grant all privileges on roundcube.* to ’roundcube’@’localhost’;
flush privileges;
wajib restart service == > systemctl restart mariadb
5. apt-get install roundcube
dpkg-reconfigure roundcube-core
nano /etc/roundcube/config.inc.php
6. Restart service
systemctl restart apache2
systemctl restart mariadb
systemctl restart postfix
systemctl restart dovecot