The Zentyal version of Roundcube is actually a bit dated (Roundcube Webmail 0.9.5) and this might cause problems with some plugins.
Basically roundcube is just a web imap client so its no big deal as we dont need the zentyal module as the standard install is very easy.
So here is a little tutorial based on Zentyal 3.5. Based on
http://trac.roundcube.net/wiki/Howto_InstallIn webmin Others>Upload&Download>Download from web.
Paste
http://downloads.sourceforge.net/project/roundcubemail/roundcubemail/1.0.1/roundcubemail-1.0.1.tar.gz in "URLs to download"
Change the directory to /usr/share/ in "Download to file or directory"
In webmin Others>File Manager
Find /usr/share/roundcubemail-1.0.1.tar.gz select extract and delete.
We should now have a /usr/share/roundcube-1.0.1 folder.
In webmin Servers>MySQL Database Server.
If you are asked for a MySQL Login then the login is root and the password right click on filemanager and open in another tab copy and paste the password from /var/lib/zentyal/conf/zentyal-mysql.passwd
Create a database roundcube
Create a roundcube user for localhost with a password
Set the database permissions for roundube allow everything but grant permissions.
See attached images for user and database permissions.
Alias /webmail /usr/share/roundcubemail-1.0.1
<Directory /usr/share/roundcubemail-1.0.1>
Options +FollowSymLinks
# AddDefaultCharset UTF-8
AddType text/x-component .htc
<IfModule mod_php5.c>
php_flag display_errors Off
php_flag log_errors On
# php_value error_log logs/errors
php_value upload_max_filesize 10M
php_value post_max_size 12M
php_value memory_limit 64M
php_flag zlib.output_compression Off
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
php_flag zend.ze1_compatibility_mode Off
php_flag suhosin.session.encrypt Off
#php_value session.cookie_path /
php_flag session.auto_start Off
php_value session.gc_maxlifetime 21600
php_value session.gc_divisor 500
php_value session.gc_probability 1
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^favicon\.ico$ skins/larry/images/favicon.ico
# security rules:
# - deny access to files not containing a dot or starting with a dot
# in all locations except installer directory
RewriteRule ^(?!installer)(\.?[^\.]+)$ - [F]
# - deny access to some locations
RewriteRule ^/?(\.git|\.tx|SQL|bin|config|logs|temp|tests|program\/(include|lib|localization|steps)) - [F]
# - deny access to some documentation files
RewriteRule /?(README\.md|composer\.json-dist|composer\.json|package\.xml)$ - [F]
</IfModule>
<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
</IfModule>
<IfModule mod_headers.c>
# replace 'append' with 'merge' for Apache version 2.2.9 and later
# Header append Cache-Control public env=!NO_CACHE
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 month"
</IfModule>
FileETag MTime Size
<IfModule mod_autoindex.c>
Options -Indexes
</ifModule>
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory /usr/share/roundcube-1.0.1/plugins/enigma/home>
Options -FollowSymLinks
AllowOverride None
Order allow,deny
Deny from all
</Directory>
<Directory /usr/share/roundcube-1.0.1/config>
Options -FollowSymLinks
AllowOverride None
Order allow,deny
Deny from all
</Directory>
<Directory /usr/share/roundcube-1.0.1/temp>
Options -FollowSymLinks
AllowOverride None
Order allow,deny
Deny from all
</Directory>
<Directory /usr/share/roundcube-1.0.1/logs>
Options -FollowSymLinks
AllowOverride None
Order allow,deny
Deny from all
</Directory>
Create /etc/apache2/conf-available/roundcube.conf and paste the above
Alias /webmail can be changed to what ever you require or so it doesn't conflict with the zentyal webmail
a2enconf roundcube.conf
restart the webserver
point your browser to my-server-ip/webmail/installer
Follow the steps in the installer. Check you can connect then delete the installer folder.
Ok we should have a working copy of the latest roundcube.
I am going to continue this and start adding some plugins.
Global ldap address book.
Global SQL shared contacts
and hopefully a calendar.
If anybody wants to check the above and give feedback it would be much appreciated.
I do like roundcube as a webinterface it is quite sexy.