Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: mk.keck on July 18, 2009, 04:29:16 AM

Title: How to install Roundcube for Plesk
Post by: mk.keck on July 18, 2009, 04:29:16 AM
Hi all,

some days ago I've successfully installed Roundcube (http://www.roundcubeforum.net/general-discussion/1588-setup-roundcube-plesk-2.html#post20057) on CentOS 5 with Plesk 9.2.1.

But I find another way to get Roundcube to work with Plesk:

Notice
Preparing RoundCube


into the large textbox.
Click "Go". The Database should be created.

Click in the left frame on the "Home"-icon and then select in right frame "Privileges".
In the "User overview" click on the icon "Add a new user" and enter follow:
Code: [Select]
[B]Username[/B] (use text field): yourusername
[B]Host[/B]     (Local):          localhost
[B]Password[/B] (use text field): yourpassword
[B]Retype[/B]:                    yourpassword
Click on "Go"-button

 
[/LIST]
 
Uploading Roundcube

Plesk Setting
Select for your mail-address as WebMail "AtMail".

ATTENTION
Perhabs your Roundcube (because it is stored in folder /var/www/atmail/) would be overwritten, if you make a Plesk-Update. Please make
a backup before you update Plesk.
Title: Probem with this approach
Post by: wskeggs on September 05, 2009, 07:19:59 AM
Hi,

I implemented your approach and it works nicely for certain domains. I find I can only login with emails already created in plesk that I have used previously with atmail. Others just dont login, I get the following errors in the error log:

PHP Notice:  Authentication for sales failed (LOGIN): "a001 NO Login failed." in /var/www/atmail/program/include/bugs.incs on line 86, referer: http://domain.com/


This error from time to time:
PHP Fatal error:  Maximum execution time of 120 seconds exceeded in /var/www/atmail/program/lib/imap.inc on line 260

This error when composing messages:
PHP Warning:  file_exists() [function.file-exists]: open_basedir restrict in effect. File(/dev/random) is not within the allowed path(s): (/var/www/atmail:/var/log/atmail:/etc/psa:/tmp:/var/tmp) in /var/www/atmail/program/lib/Auth/SASL/DigestMD5.php on line 184, referer: http://domain.com/?_task=mail&_id=8199187144aa1abe6bd16d&_action=compose

Does the atmail configuration in the httpd conf.d folder need to be modified for roundcube?

Edit: By the way I am running plesk 9.2.1 on centos 5 and I am using the .3 stable of roundcube.
Title: Issue resolved
Post by: wskeggs on September 20, 2009, 01:40:52 AM
Appears as though this has been resolved with the latest svn trunk
Title: How to install Roundcube for Plesk
Post by: adamas on January 02, 2011, 10:23:57 AM
hi, keck

why at my server box still error..

so, like this

Checking PHP version
Version:  OK(PHP 5.2.6-1+lenny9 detected)
Checking PHP extensions

The following modules/extensions are required to run RoundCube:
PCRE:  OK
DOM:  OK
Session:  OK
XML:  OK
JSON:  OK

The next couple of extensions are optional and recommended to get the best performance:
FileInfo:  NOT AVAILABLE(See PHP: Fileinfo - Manual (http://www.php.net/manual/en/book.fileinfo.php))
Libiconv:  OK
Multibyte:  OK
OpenSSL:  OK
Mcrypt:  OK
Checking available databases

Check which of the supported extensions are installed. At least one of them is required.
MySQL:  OK
MySQLi:  OK
PostgreSQL:  NOT AVAILABLE(Not installed)
SQLite (v2):  NOT AVAILABLE(Not installed)
Check for required 3rd party libs

This also checks if the include path is set correctly.
PEAR:  OK

Warning: include_once(MDB2.php) [function.include-once]: failed to open stream: No such file or directory in /usr/share/psa-horde/new/installer/utils.php on line 41

Warning: include_once() [function.include]: Failed opening 'MDB2.php' for inclusion (include_path='/usr/share/psa-horde:/usr/share/psa-horde/lib:/usr/share/psa-pear:.') in /usr/share/psa-horde/new/installer/utils.php on line 41
MDB2:  NOT OK(Failed to load MDB2.php; See MDB2 (http://pear.php.net/package/MDB2))
Net_SMTP:  OK
Mail_mime:  OK
Checking php.ini/.htaccess settings

The following settings are required to run RoundCube:
file_uploads:  OK
session.auto_start:  OK
zend.ze1_compatibility_mode:  OK
mbstring.func_overload:  OK
suhosin.session.encrypt:  OK

The following settings are optional and recommended:
date.timezone:  NOT OK(Could be set)

Sorry but your webserver does not meet the requirements for RoundCube!
Please install the missing modules or fix the php.ini settings according to the above check results.
Hint: only checks showing NOT OK need to be fixed.

can you help me,,, please urgent

thanks

rr
Title: How to install Roundcube for Plesk
Post by: mk.keck on March 24, 2011, 07:13:02 AM
Hi adams,

you've tried to install roundcube in PSA-Horde.
That's not a good solution.

This threat explains how to setup roundcube as a replacement for AtMail.

Please take a look here:http://www.roundcubeforum.net/general-discussion/1588-setup-roundcube-plesk-2.html#post20057
That threat explains the replaycemtn for Horde ;)

Regards
Michael
Title: How to install Roundcube for Plesk
Post by: global_kevin on July 06, 2011, 05:09:16 AM
Hey mc.keck, you may be just the guy i'm looking for

I have been running roundcube through plesk using the old Atmail swap and now i find my self needing both (fussy users).

1. I have a tested, version of roundcube 0.5.3 sitting in var/www/roundcube.
2. I also have added roundcube to the webmails table in the plesk (psa) database. so can now choose it from the list.

I'm left with the last pice of the puzzle missing.

When i go to webmail.domain.com that i've set the webmail as 'Roundcube'. I currently get nothing.

so why no redirect even though i've stated the 'docroot' field in the webmails table as ar/www/roundcube.


Anyone got any ideas?
Title: How to install Roundcube for Plesk
Post by: global_kevin on July 07, 2011, 06:16:23 AM
I've now found the folder /ect/psa-webmail/roundcube

I edited the roundcube.conf file, as to contain the correct Docroot path.

After a reboot, still no redirect.

Stangely there is a roundcube_vhost.conf file in the folder, none of the other webmail clients have one.
So how did it get there?

I try removing it but still no joy.


Any help would be much appreciated.
Title: Updated: Installing Roundcube on Plesk 10.x
Post by: mk.keck on August 07, 2011, 06:35:17 AM
With the Update of Plesk Panel to version 10.x there may be some problems with the solution in my first post (http://www.roundcubeforum.net/general-discussion/5034-how-install-roundcube-plesk.html).
Then make a new folder in your /var/www/vhosts/yourserver.com/httpdocs of the domain called webmail and copy all files and directories from Roundcube folder into it.
If you want webmail.yourdomain.com instead of youserver.com/webmail/ please make a new subdomain called webmail and link it into the folder /var/www/vhosts/yourserver.com/httpdocs/webmail.
[/LIST]This should work on Plesk 10.x (perhabs on older versions to) and with Roundcube versions 0.3.x and newer.
I've tried to use the new feature in Plesk Planel 10.x to set an own thirdparty webmail. But without any chance to get it worked. So, please use the solution I've described here. The other solution with Horde is more difficult and makes more problems, since Plesk version 10.x.
Title: Updated: Installing Roundcube on Plesk 10.x
Post by: mk.keck on August 07, 2011, 06:37:21 AM
With the Update of Plesk Panel to version 10.x there may be some problems with the solution in my first post.
  1. Please prepare Roundcube as described in my post
  2. Rename file called /var/www/atmail/index.html to /var/www/atmail/index.html.org
  3. Rename file called /var/www/atmail/index.php to /var/www/atmail/index.php.org
  4. Create a new file  /var/www/atmail/index.php:

    <?php



    /**

     * Setup here your URI to your Roundcube installation

     *

     * Example 1:

     *     $roundcube = 'http://webmail.yourserver.com/';

     * Example 2:

     *     $roundcube = 'http://yourserver.com/webmail/';

     */

    $roundcube = 'http://yourserver.com/webmail/';



    header('Location: ' . $roundcube);

    exit();

     

    ?>
  5. If you have a domain name:

    Then make a new folder in your /var/www/vhosts/yourserver.com/httpdocs of the domain called webmail and copy all files and directories from Roundcube folder into it.

    If you want webmail.yourdomain.com instead of youserver.com/webmail/ please make a new subdomain called webmail and link it into the folder /var/www/vhosts/yourserver.com/httpdocs/webmail.
This should work on Plesk 10.x (perhabs on older versions to) and with Roundcube versions 0.3.x and newer.

I've tried to use the new feature in Plesk Planel 10.x to set an own thirdparty webmail. But without any chance to get it worked. So, please use the solution I've described here. The other solution with Horde is more difficult and makes more problems, since Plesk version 10.x.
Title: How to install Roundcube for Plesk
Post by: Coloseo on September 14, 2011, 02:06:56 PM
There is another way to install RoundCube functionally.

1. Prepare "RoundCube Webmail" like mk.keck describes it later in this topic.
2. Upload "roundCube Webmail" not to "/var/www/atmail" and don't change Atmails-Folder, but upload it into your websites "httpddocs"-folder
3. Open Plesk and go to "Server"-Tab and then click on "Settings"
4. Open the "Webmail"-settings in the "mail"-section and then click "Register Webmail" and enter the datas of your roundcube (adress to the folder with roundCube)
5. Save the new settings and enter the "E-Mail"-section of Plesk (where the e-mailadresses are listened) and click "change settings" and change the Webmailapplication from "Horde" or "AtMail" to your RoundCube-Installation (You'll see the name you've given to roundcube when registering it to Plesk).
6. Use normally your webmail.
Title: How to install Roundcube for Plesk
Post by: did_vmonroig on October 20, 2011, 04:37:40 AM
Quote from: Coloseo;36570
There is another way to install RoundCube functionally.

1. Prepare "RoundCube Webmail" like mk.keck describes it later in this topic.
2. Upload "roundCube Webmail" not to "/var/www/atmail" and don't change Atmails-Folder, but upload it into your websites "httpddocs"-folder
3. Open Plesk and go to "Server"-Tab and then click on "Settings"
4. Open the "Webmail"-settings in the "mail"-section and then click "Register Webmail" and enter the datas of your roundcube (adress to the folder with roundCube)
5. Save the new settings and enter the "E-Mail"-section of Plesk (where the e-mailadresses are listened) and click "change settings" and change the Webmailapplication from "Horde" or "AtMail" to your RoundCube-Installation (You'll see the name you've given to roundcube when registering it to Plesk).
6. Use normally your webmail.


I've a problem in step 4: Plesk asks for an URL, not folder. I'm using Plesk 10.3 for Linux.
Title: How to install Roundcube for Plesk
Post by: pridtenpe on October 20, 2011, 05:38:36 AM
thank you for goods.


__________________
ผลบอล (http://www.xn--r3ce0ab1b.com/)-sbobet (http://www.sbobetsbobet.com/)-วิเคราะห์บอล (http://www.xn--r3ce0ab1b.com/analyse_list.php)-ทีเด็ดฟุตบอล (http://www.xn--r3ce0ab1b.com/analyse_list.php)-ทีเด็ด (http://www.xn--r3ce0ab1b.com/analyse_list.php)
Title: How to install Roundcube for Plesk
Post by: did_vmonroig on October 26, 2011, 06:09:10 AM
Well, finally we managed to use Rouncube with Plesk 10, basically by uninstalling Atmail and Horde, and configuring Roundcube directly in Apache. Process is explained here (http://www.codarbyte.de/2011/01/roundcube-statt-atmailhorde-in-plesk-10/) in german, and here (http://www.lapizcorto.com/instalacion-del-webmail-roundcube-en-plesk-10/) in spanish.

By the way, we have developed a plugin and drivers for existing plugins to integrate password change, vacation message and forwarding, and you can find them here: Lapiz Corto | Roundcube and Plesk 10 integration (http://www.lapizcorto.com/roundcube-and-plesk-10-integration/).
Title: How to install Roundcube for Plesk
Post by: chuongdong on October 28, 2011, 04:59:06 AM
Thank !
dat binh duong (http://vietnamhungcuong.com.vn), diaoc (http://diaoc64.com)