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/...20051007.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://myWebmail:myPass@localhost/admin_webmail';
the format is: mysql://
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:
/usr/sbin/service httpd restart
You are done!
Login @ http://www.domain.com/webmail/
No comments:
Post a Comment