Difference between revisions of "RoundCube"
Line 41: | Line 41: | ||
=== Options === | === Options === | ||
You can fine tune access to roundcube with DB settings. For details have a look at [[Web Application RPM#New DB settings]]. | You can fine tune access to roundcube with DB settings. For details have a look at [[Web Application RPM#New DB settings]]. | ||
+ | |||
+ | |||
+ | ====To Activate Roundcube Plugin==== | ||
+ | Plugins need to be allowed in the main.config.php of roundcube, you can also write options in this file. If you want to modify options you have to modify the template in /etc/e-smith/templates/opt/roundcube/config/main.inc.php/20plugin | ||
+ | Please add all plugins you want to activate in the command line below : $rcmail_config['plugins'] = array('plugin1','plugin2','plugin3'); | ||
+ | where "plugin*" is a valid name of plugin and a valid folder name in /opt/roundcube/plugins | ||
+ | |||
+ | see the file 20plugin for example | ||
+ | |||
+ | nano /etc/e-smith/templates/opt/roundcube/config/main.inc.php/20plugin | ||
+ | save by ctrl+x | ||
+ | expand-template /opt/roundcube/config/main.inc.php | ||
+ | |||
+ | ====Your personal settings==== | ||
+ | |||
+ | For special needs you should create your personal template file if you want your config file will not be overwritten by the smeserver-roundcube templates. | ||
+ | |||
+ | For example do | ||
+ | nano /etc/e-smith/templates/opt/roundcube/config/main.inc.php/21plugin-personal | ||
+ | |||
+ | with all your special options you want and perform this CL to expand templates | ||
+ | expand-template /opt/roundcube/config/main.inc.php | ||
+ | |||
+ | You can read the file below to know further options you can activate | ||
+ | less /opt/roundcube/config/main.inc.php.dist | ||
+ | |||
+ | All plugins in /opt/roundcube/plugins/ comes with their own config.inc.php.dist which you can use to set default options. | ||
Revision as of 16:50, 26 October 2013
RoundCube for SME Server
Maintainer
stephdl Stéphane de Labrusse AKA Stephdl
Dungog.net (Software) : original developper
Description
RoundCube Webmail is a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality you expect from an e-mail client, including MIME support, address book, folder manipulation, message searching and spell checking. For more information see http://www.roundcube.net/. Actually roundcube is only available with beta status, but it run very fast and stable.
Installation
Install from the SME Contribs repository issue the following command on the SME Server shell:
yum --enablerepo=smecontribs install smeserver-roundcube
Installation for roundcube webmail 0.9.4
The rpm is not in the smecontribs tree yet, you have to download manually in my web area and install them. Raise a bug or mail me for bugs and new features mailto:stephdl@de-labrusse.fr
This is just an update from the work of stephen noble
wget http://mirror.de-labrusse.fr/Sme-Server/roundcube/roundcube-0.9.5-1.noarch.rpm wget http://mirror.de-labrusse.fr/Sme-Server/roundcube/smeserver-roundcube-0.9-15.noarch.rpm yum localinstall roundcube-0.9.5-1.noarch.rpm smeserver-roundcube-0.9-15.noarch.rpm signal-event console-save
Uninstallation
To remove the package issue the following command on the SME Server shell:
rpm -e roundcube smeserver-roundcube
To remove mysql database and user, both are roundcube, see MySQL#Remove a database and MySQL#Remove a user. There is no need to reboot.
Usage
http://servername/roundcube and logon with your SME Server user account.
Options
You can fine tune access to roundcube with DB settings. For details have a look at Web Application RPM#New DB settings.
To Activate Roundcube Plugin
Plugins need to be allowed in the main.config.php of roundcube, you can also write options in this file. If you want to modify options you have to modify the template in /etc/e-smith/templates/opt/roundcube/config/main.inc.php/20plugin Please add all plugins you want to activate in the command line below : $rcmail_config['plugins'] = array('plugin1','plugin2','plugin3'); where "plugin*" is a valid name of plugin and a valid folder name in /opt/roundcube/plugins
see the file 20plugin for example
nano /etc/e-smith/templates/opt/roundcube/config/main.inc.php/20plugin
save by ctrl+x
expand-template /opt/roundcube/config/main.inc.php
Your personal settings
For special needs you should create your personal template file if you want your config file will not be overwritten by the smeserver-roundcube templates.
For example do
nano /etc/e-smith/templates/opt/roundcube/config/main.inc.php/21plugin-personal
with all your special options you want and perform this CL to expand templates
expand-template /opt/roundcube/config/main.inc.php
You can read the file below to know further options you can activate
less /opt/roundcube/config/main.inc.php.dist
All plugins in /opt/roundcube/plugins/ comes with their own config.inc.php.dist which you can use to set default options.
To limit access to roundcube
config setprop roundcube PublicAccess OPTION
OPTION is either of the following.
none => No access local => Local network (no password required) local-pw => Local network (password required) global => Entire Internet(no password required) global-pw => Entire Internet(password required) global-pw-remote => Entire Internet(password required outside local network)
config setprop roundcube PublicAccess global
To enable your changes run these commands
expand-template /etc/httpd/conf/httpd.conf sv h /service/httpd-e-smith
To add a different URL
by example
http://yourserver.net/webmail
or
http://yourserver.net/mail
config setprop roundcube URL webmail
or
config setprop roundcube URL mail
To enable your changes run these commands
expand-template /etc/httpd/conf/httpd.conf sv h /service/httpd-e-smith
- If you want to remove completely the new url
config delprop roundcube URL
then
expand-template /etc/httpd/conf/httpd.conf sv h /service/httpd-e-smith
Local Settings
The config file is now templated, so changes need to be made in a new fragment
- eg. /etc/e-smith/templates/opt/roundcube/config/main.inc.php/20local
check which setting you want to change with
cat /opt/roundcube/config/main.inc.php.dist
then add the new setting in the new fragment and expand, it will overrule the old
expand-template /opt/roundcube/config/main.inc.php
If you think your setting should be the SME default raise a bug
Bugs
Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-roundcube component or use this link .