Tuesday, September 29, 2009

RoundCube on Windows

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.

6 comments:

  1. Hi there friends, how is everything, and what you would like to
    say about this post, in my view its in fact awesome designed for me.


    Also visit my weblog - academic writing help

    ReplyDelete
  2. It's awesome to pay a quick visit this site and reading the views of all colleagues concerning this piece of writing, while I am also eager of getting know-how.

    Feel free to visit my blog post :: remove virus charlotte nc

    ReplyDelete
  3. You really make it seem so easy with your presentation but I find
    this matter to be really something which I think I would never understand.
    It seems too complicated and very broad for me. I am looking forward for your next post,
    I'll try to get the hang of it!

    Here is my webpage ... real estate web directory

    ReplyDelete
  4. Hi, i think that i saw you visited my blog so i came to
    “return the favor”.I'm attempting to find things to enhance my web site!I suppose its ok to use some of your ideas!!

    My weblog :: movie forums streaming

    ReplyDelete
  5. I was curious if you ever considered changing the
    structure of your site? Its very well written; I love
    what youve got to say. But maybe you could a little more in the way
    of content so people could connect with it
    better. Youve got an awful lot of text for only having
    one or two images. Maybe you could space it out better?


    Feel free to surf to my site :: example of research paper outline

    ReplyDelete
  6. Hello, its good piece of writing on the topic of media print, we
    all know media is a impressive source of information.

    My weblog - scientific research papers

    ReplyDelete