Installing Roundcube With ISPmanager
Before you start, make sure you have installed ispmanager correctly so that the email is functional. If you have installed squirrelmail already this is not a problem. Simply telnet/ssh into your server and remove it with the following command:
apt-get remove squirrelmail
- Download Roundcube
- Extract the files from the download
- Log into your webserver and navigate to your desired www in which you want to access your webserver. ex: /var/www/bordnet/data/www/test.com/
- Once in this directory we need to create a new folder img in which we will access the webmail. I use ‘webmail’ to keep it simple.
- Upload the contents of the rar (make sure you’re in the directory with all the files) to the webmail directory on your webserver.
- While this is uploading, lets go ahead and create a mysql database for Roundcube. Log into your control panel and select databases.
- Click add mysql database img and fill out the information as you want it to be.
- Once uploaded use your browser to get to yourdomain.com/webmail/installer. Click start installation.
- The next page will list various options that you can set to your liking, although a few must be set a specific way and I will only list the options that must be set specifically.
- General Configuration Box
- Set the options you wish.
- Logging & Debugging
- Set the options you wish.
- IMAP Settings
- Auto_create_user must be unchecked and the imap host should be set to localhost (ignore what it says in the img in this regard), other than that you may set the options you wish.
- SMTP Settings
- SMTP username and password must be unchecked and the smtp server should be set to localhost (ignore what it says in the img in this regard), other than that you may set the options you wish.
- Display settings & user prefs
- Set the options you wish.
- General Configuration Box
- Once finished select Create Config
- A new page will load with two boxes of information. These files need to be uploaded into the config (webmail/config) folder. It lets you choose to download them so lets do that.
- Once downloaded we must edit manually the main.in.php.dist file so open it with a text editor or your favorite html editor.
- Search for
$rcmail_config['virtuser_file'] = “”;
- Now save and upload these files to webmail/config
- Continue with the install, which will ask you to test the current settings. Do this, all should work if all information was filled out correctly check the links at the end for more in depth install guides, this may be complicated for newer users.
- Now we just have to restart apache. So telnet/ssh into your server and use the command:
/etc/init.d/apache2 restart
- Now visit http://www.test.com/webmail/

