WARNING: This application is ALPHA software. Use at your own risk
I found roundcube mail while searching projects on freshmeat. Already in Alpha stage is runs very nice, has a great template system and uses xhtml/css 2 (although the xhtml could be strict and much better) the default template is great. It currently lacks a search but that is coming in the future.
http://www.roundcube.net/
So lets get started.
=============================
1) Create a mysql db via direct admin. I called mine admin_webmail (you should all know how to do this!)
2) Download and unpack the package:
Code:
# cd /var/www/html
# wget http://easynews.dl.sourceforge.net/s...0051007.tar.gz
# tar xvfz roundcube_webmail_0.1-20051007.tar.gz
3) Ensure proper permissions of the folders:
Code:
# chown -R root.root roundcubemail
# cd roundcubemail
# chown -R apache logs temp
4) Import their SQL file:
Code:
# cd SQL
//replace the following with the database username and password you created in step 1
# mysql -u admin_webmail -p
Enter Password: *******
Once in, import their SQL file:
Code:
use admin_webmail
SOURCE mysql.initial.sql
now the import should be complete.
5) Setup db config variables
Code:
# cd ../config/
# nano db.inc.php
all you have to do here is change the "$rcmail_config['db_dsnw'] = " config information, mine looks like this:
Code:
$rcmail_config['db_dsnw'] = 'mysql://admin_webmail:myPasswordHere@localhost/admin_webmail';
the format is: mysql://:@host/database_name
save that file and close it.
6) Setup the application config:
Code:
# nano main.inc.php
find this line:
Code:
$rcmail_config['enable_caching'] = TRUE;
Replace with:
Code:
$rcmail_config['enable_caching'] = FALSE;
next find:
Code:
$rcmail_config['default_host'] = '';
replace with:
Code:
$rcmail_config['default_host'] = 'localhost';
7) *optional* you may want to setup an apache alias, you can overwrite your current webmail one with the following:
Edit httpd.conf:
Code:
# nano /etc/httpd/conf/httpd.conf
Find this line:
Code:
Alias /webmail /var/www/html/webmail/
Replace with:
Code:
Alias /webmail /var/www/html/roundcubemail/
then restart apache
Code:
# service httpd restart
You are done!
Login @ http://www.domain.com/webmail/
Questions, Comments, Typos, Suggestions, Praise post here please and I will update this main thread.
Thanks,
Pushkar
Reply With Quote
No comments:
Post a Comment