Note :
Pastikan IMAP / POP Server dan SMTP Server sudah terinstall dan berjalan dengan benar.
1. Install Roundcubemail
- yum install roundcubemail
2. Install Mysql Server
- yum install mysql-server
3. Start dan Cek Konfig Agar Mysql AutoRun
- service mysqld start
- chkconfig mysqld on
4. Buat password pada Mysql Server dan Database Webmail
- mysqladmin -u root password 'P4ssword'
- mysqladmin -u root -pP4ssword create webmail
5. Masuk Direktori Mysql
- mysql -uroot -pP4ssword
Note :
P4ssword adalah Password yg digunakan untuk Mysql
6. Bila sudah masuk direktori mysql ( mysql> )
- GRANT ALL ON webmail.* to 'webmail'@'localhost' IDENTIFIED BY 'webmail';
- FLUSH PRIVILEGES;
7. Keluar dari Mysql
- exit
8. Masuk Direktori SQL
- cd /usr/share/doc/roundcubemail-0.3.1/SQL
- mysql -u webmail -p webmail < mysql.initial.sql
Enter password:webmail
- cd
9. Masuk Direktori Roundcube Php
- vi /etc/roundcubemail/db.inc.php
# line 21: change like follows ( replace your password for 'roundcube' )
$rcmail_config['db_dsnw'] = 'mysql://webmail:webmail@localhost/webmail';
10. Masuk Direktori Rouncube Main.Inc.PHP
- vi /etc/roundcubemail/main.inc.php
# line IMAP auth type. Can be "auth" (CRAM-MD5), "plain" (PLAIN) or "check" to auto detect. Optional, defaults to "check"
$rcmail_config['imap_auth_type'] = 'plain';
# line Default Host Rubah Menjadi :
$rcmail_config['default_host'] = 'irdhy.com';
# line automatically create the above listed default folders on login
$rcmail_config['create_default_folders'] = TRUE;
# line Mail Domain Rubah Menjadi :
$rcmail_config['mail_domain'] = 'irdhy.com';
# line useragent Rubah Menjadi :
$rcmail_config['useragent'] = 'Irdhy Webmail';
# line productname Rubah Menjadi :
$rcmail_config['product_name'] = 'Irdhy Webmail';
# line timezone
$rcmail_config['dst_active'] = (bool)date_default_timezone_set('Asia/Jakarta');
# line Log IMAP conversation to
$rcmail_config['imap_debug'] = true;
11. Masuk Direktori Roundcubemail.conf
- vi /etc/httpd/conf.d/roundcubemail.conf
# line 5: change
Alias /webmail /usr/share/roundcubemail
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 10.0.0.0/24# IP address you allow
12. Edit File /etc/httpd/conf/httpd.conf
- vi /etc/httpd/conf/httpd.conf
* Line ServerAdmin root@localhost >> root@localhost ganti dengan Email yg valid
* Line #ServerName www.example.com:80 >> hilangkan tanda # dan ganti dengan domain anda
13. Edit file /etc/php.ini
- vi /etc/php.ini
* Line ; Maximum amount of memory a script may consume (16M)
* Rubah Line memory_limit - 64M
14. Restart httpd dan Cek konfigurasi httpd agar AutoRun
- service httpd start
- /etc/rc.d/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
- chkconfig httpd on
Selesai.. Harusnya sudah bisa jalan..
Ketikan ipaddress/webmail
Untuk tambahan..
Ini Untuk Tambahan Jika Menggunakan SSL / TLS Encryption Config
- vi /etc/roundcubemail/main.inc.php
# line 66: specify IMAP server (SSL)
$rcmail_config['default_host'] = 'ssl://mail.irdhy.com';
# line 69: specify IMAP port (SSL)
$rcmail_config['default_port'] = 993;
# line 87: specify domain name
$rcmail_config['mail_domain'] = 'irdhy.com';
# line 102: specify SMTP server (SSL)
$rcmail_config['smtp_server'] = 'ssl://mail.irdhy.com';
# line 105: specify SMTP port (SSL)
$rcmail_config['smtp_port'] = 465;
# line 180: change UserAgent
$rcmail_config['useragent'] = 'Irdhy Webmail';
# line 183: change title
$rcmail_config['product_name'] = 'Irdhy Webmail';
Note :
Untuk Edit2 Logo
/usr/share/roundcubemail/skins/default/templates/login.html
Edit Gambar
/usr/share/roundcubemail/skins/default/images/