0% found this document useful (0 votes)
74 views5 pages

Installasi & Konfigurasi Webmail (Roundcube) : Requirement

This document provides instructions for installing and configuring the Roundcube webmail application on a server. It describes downloading and extracting the Roundcube files, creating a database and user, editing configuration files, and testing the SMTP and IMAP connections. Key steps include using the Roundcube installer wizard to configure database settings, editing main.inc.php and db.inc.php files to specify the mail domain and database connection, and accessing the webmail at http://domain_anda.com/roundcube once installation is complete.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views5 pages

Installasi & Konfigurasi Webmail (Roundcube) : Requirement

This document provides instructions for installing and configuring the Roundcube webmail application on a server. It describes downloading and extracting the Roundcube files, creating a database and user, editing configuration files, and testing the SMTP and IMAP connections. Key steps include using the Roundcube installer wizard to configure database settings, editing main.inc.php and db.inc.php files to specify the mail domain and database connection, and accessing the webmail at http://domain_anda.com/roundcube once installation is complete.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Installasi & Konfigurasi Webmail (Roundcube)

Webmail adalah aplikasi yang digunakan untuk mengakses (mengirim atau menerima) email melalui web
browser. Contohnya saja webmail gmail (gmail.com). Aplikasi webmail disini saya akan menggunakan
Roundcube.
Requirement:
Webserver (Apache)
Database Server (MySQL)
Email Server (Postfix/qmail/sendmail)
PHP Versi 5.2 or lebih
PCRE (perl compatible regular expression)
DOM (xml document object model)
libiconv (recommended)
mbstring (optional)

Installasi
Download file Roundcube :
#cd /tmp
#wget http://nchc.dl.sourceforge.net/project/roundcubemail/roundcubemail/0.5.3/roundcubemail0.5.3.tar.gz

Extrak file nya :


#tar xzvf roundcubemail-0.5.3.tar.gz

Salin filenya dan letakkan di /usr/share/ :


#cp -R roundcubemail-0.5.3.tar.gz roundcube
#cp -R roundcube /usr/share/

Buat file roundcube.conf di /etc/httpd/conf.d/ :


#vi /etc/httpd/conf.d/roundcube.conf
Alias /roundcube /usr/share/roundcube

Restart service httpd:


# /etc/init.d/httpd restart

Buat database untuk roundcube :


#mysql -u root -p
mysql> create database roundcube;
mysql> show databases;
mysql> create user roundcube;
mysql> GRANT ALL PRIVILEGES ON roundcube.* TO roundcube@localhost IDENTIFIED BY
'password_roundcube';
mysql> FLUSH PRIVILEGES;
mysql> quit;

Konfigurasi
Salin dan edit file main.inc.php dan db.inc.php di /usr/share/roundcube/config/ :
#cp main.inc.php.dist main.inc.php
#vi main.inc.php
// ---------------------------------// IMAP
// ---------------------------------$rcmail_config['default_host'] = 'localhost';
// ---------------------------------// SMTP
// ---------------------------------$rcmail_config['smtp_server'] = 'localhost';
// ---------------------------------// SYSTEM
// ---------------------------------$rcmail_config['enable_installer'] = true;
$rcmail_config['mail_domain'] = 'domain_anda.com';
#cp db.inc.php.dist db.inc.php
Buka browser dan ketikkan seperti berikut:
http://domain_anda.com/roundcube/installer

Klik Next, kemudian edit bagian berikut :

Klik tombol update config, kemudian salin isi file db.inc.php bagian $rcmail_config['db_dsnw'] ke file db.inc.php
#vi db.inc.php
$rcmail_config['db_dsnw'] = 'mysql://roundcube:password_roundcube@localhost/roundcube';

Kemudian klik Test Config

Uji coba test SMTP

Uji coba test IMAP

Kemudian edit file main.inc.php


#vi main.inc.php
$rcmail_config['enable_installer'] = false;

Ketikkan di web browser : http://domain_anda.com/roundcube


Masukkan username dan password user dan selesai...

You might also like