While testing the high speed IMAP server that i developed, i wanted to see how it perform with some open source webmail, particularly those that works with IMAP.
One of the most popular one that i found is RoundCube.
1. First you need to install the WAMPSERVER. The php included should be version 5++
2. Open up php.ini and make sure “extension_dir” points to the right directory which is under …\php\ext. Put in the extension module for sql . e.g
extension_dir = "/usr/local/apache/php/ext"
extension=php_mysql.dll
Yeah i created an c:/usr even on my Windows so that i don’t have to much changes.
3. Open up httpd.conf and make sure u have :-
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
Double check to see if the following is loaded :
LoadModule php5_module "/usr/local/apache/php/php5apache2_2.dll"
4. Install Mysql for Windows. (This can open up one whole can of worms if you get it wrong)
5. Open the INSTALL file found in RoundCube and follow the instruction to create the database for roundcube. I would advice you to stick to the names given.
5. Open the roundcube\conf\, rename the *.dist to *. (whithout dist extension). E.g db.inc.php.dist –> db.inc.php
Edit db.inc.php and set the :
config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail'
to the username password that is created in 5, if you followed the default it should be :
config['db_dsnw'] = 'mysql://roundcube:password@localhost/roundcubemail'
Edit the main.inc.php and set the this to where ur email server is :
$rcmail_config['smtp_server'] = '10.8.0.21';
6. Now copy this whole roundcube folder to a subfolder under htdocs (apache) . For e.g c:\usr\local\apachce\htdocs\roundcube
And you can try and access it via : http://x.x.x.x./roundcube
Good luck.