RoundCube Webmail On Your ISPConfig Server Within 10 Easy Steps
|
Submitted by Hans (Contact Author) (Forums) on Wed, 2006-09-27 13:02. :: ISPConfig | Control Panels | Other
RoundCube Webmail On Your ISPConfig Server Within 10 Easy Steps
Version 2.1 There are a nice RoundCube packages available for ISPConfig at http://www.ispconfig.org/downloads.htm The RoundCube package of your choice can be installed with the ISPConfig update Manager. However, if you prefer to setup RoundCube on your ISPConfig server in the webspace of your choice running on port 80, you can use this “How to” as an alternative.In this how to I will use as an example: When you are finished with this “How to”, you have a nice webmail client at URL http://webmail.myhostingcompany.tld. Step 2 is not really necessary but can be very practical if you want to upload/download your website using FTP. This is very useful if you want to customize the RoundCube website on your local desktop. Here we go: Step 1 - Create a website:In ISPConfig, create a website via “New site” in the main menu. <Directory "/var/www/web1/web"> Step 2 – Create an Administator user for the website:In ISPConfig, create a Administrator user, so you can upload the website later via FTP: Step 3 - Create a MySQL database for the website:Click on the tab called “Options” and create a new database for the website. Step 4 – Download/extract the packages and remove some files:- Login to your server as root. cd /var/www/web1/web/ Extract RoundCube with the command: tar xzf roundcubemail-0.1.1.tar.gz Remove the tar.gz files: rm *.tar.gz Step 5 - Move the files to the web directory and delete the empty directory:cd roundcubemail-0.1.1 Step 6 – making the temp and logs directory read/writeable for Apache:Whitin your web /var/www/web1/web folder, you give your web server process read/write privileges to all folders in the temp and logs directory by giving these commands: chown -R www-data:www-data temp (This is how it workes on Debian Linux, other distros might differ). cd /var/www/web1/ chown -R -v -f webadmin:web1 web/ (Remember that "web1" and the username "webadmin" are according my example, use your own webnumber and username instead !)Step 7 – Configure RoundCube (manually):With this method, you have more options available! cd config In here you will find two files, db.inc.php.dist and main.inc.php.dist. Modifications to make in file db.inc.php: Open db.inc.php in a text editor. $rcmail_config[’db_dsnw’]=’mysql:// roundcube:pass@localhost/roundcubemail’; into: $rcmail_config[’db_dsnw’]=’mysql:// web1_u1:mysqlpassword@localhost/web1_db1’; Modifications to make in file main.inc.php: Open your main.inc.php file with a text editor: $rcmail_config[’default_host’] = '’; into $rcmail_config[’default_host’] = ‘localhost’; Step 8 – Configure RoundCube (alternative way using the installer script):RoundCube comes with a nice installer script. This alternative method is a very easy way to configure RoundCube.Within your browser, visit your new RoundCube website at http://webmail.yourhostingcompany.tld/installer/index.php. Step 9 – access your new webmail client:Now you can point to your new webmail client with your favourite browser. The address according my how to is: http://webmail.myhostingcompany.tld You can login with any valid username/password or email address/password combination, as defined within ISPConfig. After your first login you should make some settings before you start using RoundCube. Here, the first thing you have to do is define your identity. You can define more than one identity for an email address but you need at least one. When you create an identity, change also @localhost within @yourdomain.tld if necessary. STEP 10 – Customizing RoundCube:If you like to customize RoundCube webmail, I refer to the how to of Paul Stamatiou at URL: http://paulstamatiou.com/2005/10/29/how-to-setup-roundcube-webmail-on-your-server/ Before you start to customize RoundCube, I recommend to download it first using your administrator account as mentioned in STEP 2. Customizing RoundCube webmail on your local desktop is more comfortable. Information: More information about RoundCube: http://www.roundcube.net/ Specials thanks to: Pauls Stamatiou, who wrote and published a nice how to for setting up RoundCube http://paulstamatiou.com/2005/10/29/how-to-setup-roundcube-webmail-on-your-server/ The Howtoforge members for their useful input!
|







Recent comments
1 day 6 hours ago
1 day 15 hours ago
1 day 18 hours ago
1 day 19 hours ago
1 day 20 hours ago
1 day 22 hours ago
1 day 23 hours ago
2 days 59 min ago
2 days 16 hours ago
2 days 17 hours ago