Changes

From SME Server
Jump to navigationJump to search
2,100 bytes removed ,  25 February
no edit summary
Line 24: Line 24:  
|Yes
 
|Yes
 
|Yes
 
|Yes
|1.6.4
+
|1.6.5
 
|-
 
|-
 
|1.5 LTS
 
|1.5 LTS
Line 30: Line 30:  
|Yes
 
|Yes
 
|Yes
 
|Yes
|1.5.5
+
|1.5.6
 
|}
 
|}
   Line 164: Line 164:     
=== Customization ===
 
=== Customization ===
 
+
{| class="wikitable"
 
+
|+
 +
config setprop roundcube
 +
!property
 +
!default
 +
!accepted
 +
!comment
 +
|-
 +
|Dbname
 +
|roundcube
 +
|
 +
|
 +
|-
 +
|DbPassword
 +
|
 +
|
 +
|
 +
|-
 +
|DbUser
 +
|
 +
|
 +
|
 +
|-
 +
|Name
 +
|RoundCube IMAP Client
 +
|
 +
|
 +
|-
 +
|URL
 +
|
 +
|string
 +
|you can add an URL to your domains as an http alias. Could be webmail (if default webmail is deactivated)
 +
|-
 +
|PluginsList
 +
|globaladdressbook,contextmenu,markasjunk,vcard_attachments,newmail_notifier,emoticons,managesieve,nextcloud_attachments
 +
|comma separated list
 +
|if you need to add or remove a plugin you need to alter this string in order to get it detected
 +
|-
 +
|access
 +
|public
 +
|private,public
 +
|
 +
|-
 +
|status
 +
|enabled
 +
|enabled,disabled
 +
|
 +
|-
 +
|MaxUploadSize
 +
|100M
 +
|
 +
|
 +
|-
 +
|MemoryLimit
 +
|512M
 +
|
 +
|
 +
|-
 +
|PHPBaseDir
 +
|/usr/share/roundcubemail:/etc/roundcubemail/:/var/log/roundcubemail:/var/lib/roundcubemail:/var/log/roundcube.log:/var/lib/php/roundcube:/home/e-smith/files/roundcube:/dev/urandom:/proc/meminfo:/usr/share/GeoIP/GeoLite2-Country.mmdb:/proc/cpuinfo
 +
|strings separated by :
 +
|the property will be added to the existing string
 +
|-
 +
|PHPmaxChildren
 +
|20
 +
|number
 +
|
 +
|-
 +
|PHPminServers
 +
|4
 +
|number
 +
|
 +
|-
 +
|PHPstartServers
 +
|6
 +
|number
 +
|
 +
|-
 +
|PHPmaxServers
 +
|8
 +
|number
 +
|
 +
|-
 +
|PHPmaxRequests
 +
|1000
 +
|number
 +
|
 +
|-
 +
|nextcloudURI
 +
|<nowiki>https://$DomainName/nextcloud</nowiki> or <nowiki>https://$nextcloud{'Virtualhost'}</nowiki>
 +
|
 +
|will override deafult, usefull if nextcloud is not on the same server
 +
|-
 +
|nextcloudFolder
 +
|Mail Attachments
 +
|string
 +
|can not be a subfolder
 +
|-
 +
|NCsoftlimit
 +
|<nowiki>$qmail{'MaxMessageSize'}||'25M'</nowiki>
 +
|number with M
 +
|limit size for attachements
 +
|-
 +
|nextcloudBehavior
 +
|prompt
 +
|prompt,upload
 +
|show dialog or upload directly
 +
|-
 +
|nextcloudVerifyCerts
 +
|true
 +
|true,false
 +
|allow you to override cert verification in case of self signed cert
 +
|}
 +
then
 +
signal-event roundcube-update
 
====Roundcube plugins====
 
====Roundcube plugins====
      
=====Default plugins shipped with smeserver-roundcube=====
 
=====Default plugins shipped with smeserver-roundcube=====
Line 242: Line 354:  
  rcplugin_update.sh
 
  rcplugin_update.sh
   −
====Customize Roundcube settings====
+
====Miscellaneous notes====
 
  −
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. This also applies to Roundcube plugins in /opt/roundcube/plugins/ which occasionally come with their own config.inc.php or generic config.php.inc.dist which you can use to set default options.
  −
 
  −
* The config file for Roundcube itself is now templated, so changes need to be made in a new custom template fragment
  −
:*for sme8
  −
ll /etc/e-smith/templates/opt/roundcube/config/config.inc.php/
  −
  −
''10default_host          15Ldap_addressbook      20plugins_configuration  template-begin          template-end            ''
  −
:* for sme9/sme10
  −
ls /etc/e-smith/templates/etc/roundcubemail/config.inc.php/
  −
10SQL_DATABASE  20LOGGING_DEBUGGING  30IMAP  40SMTP  50LDAP  60SYSTEM  70USER_INTERFACE  80ADDRESSBOOKS_SETTINGS  90USER_PREFERENCES  95PLUGINS  template-begin  template-end
  −
 
  −
* check which setting you want to change with
  −
cat /etc/roundcubemail/defaults.inc.php
  −
 
  −
* Extend the default settings by adding a new template fragment and add your customizations/additions there, eg.:
  −
mkdir /etc/e-smith/templates-custom/etc/roundcubemail/config/
  −
vim /etc/e-smith/templates-custom/etc/roundcubemail/config/config.inc.php/30my_custom_settings
  −
 
  −
* Finally, expand the template:
  −
signal-event roundcube-update
  −
 
  −
Likewise, plugin customization can be done by creating custom template fragments.
  −
For example, to set if and how the "vacation management panel" of the "managesieve" plugin should appear in the Roundcube webmail frontend:
  −
 
  −
* check the current configuration of the managesieve plugin:
  −
cat /usr/share/roundcubemail/plugins/managesieve/config.inc.php
  −
 
  −
* check current template fragments for the plugin configuration:
  −
ll /etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/
  −
 
  −
  ''...''
  −
  ''-rw-r--r-- 1 root root  266 30. Nov 19:45 30showvacation''
  −
  ''...''
  −
 
  −
* copy the relevant template fragment to /etc/e-smith/templates-custom/... and modify the setting: 
  −
mkdir -p /etc/e-smith/templates-custom/usr/share/roundcubemail/plugins/managesieve/config.inc.php
  −
 
  −
cp /etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/30showvacation /etc/e-smith/templates-custom/usr/share/roundcubemail/plugins/managesieve/config.inc.php/
  −
  −
vim /etc/e-smith/templates-custom/usr/share/roundcubemail/plugins/managesieve/config.inc.php/30showvacation
  −
 
  −
* Finally, expand the customized template:
  −
signal-event roundcube-update
  −
{{Note box|If you think your setting should be the SME default raise a bug}}
  −
 
  −
====Add an alternative URL====
  −
 
  −
If Roundcube should be reachable by an alternative URL to http://yourserver.net/roundcube, eg.
  −
 
  −
http://yourserver.net/webmail
  −
or
  −
http://yourserver.net/mail
  −
 
  −
{{warning box|The URL '''/webmail''' is by default used by the horde webmail, so you have to deactivate the webmail in the server-manager's "Configuration" -> "Email" panel if you want to use it for roundcube instead.}}
  −
 
  −
{{note box|this adds another url, it doesn't remove the default}}
  −
 
  −
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
  −
 
  −
===Miscellaneous notes===
      
====Mail filter support (Sieve)====
 
====Mail filter support (Sieve)====
Roundcube V1.0 on SME server comes with the managesieve plugin installed and enabled by default. The managesieve plugin adds additional menu items to the settings in Roundcube's webinterface to allow users to define mail filters and vacation messages in a convenient way. However, to make use of these features, the [[Dovecot-extras|smeserver-dovecot-extras]] contrib also has to be installed (this adds sieve script support and a manage sieve daemon to SME server). If these features are not wanted, Roundcube's managesieve plugin should be disabled (reverse [[#Adding additional plugins|Step 5 described above]], ie. remove <tt>managesieve</tt> from the list of installed plugins).
+
Roundcube V1.0 on SME server comes with the managesieve plugin installed and enabled by default (sieverules has been deprecated and you must only use managesieve). The managesieve plugin adds additional menu items to the settings in Roundcube's webinterface to allow users to define mail filters and vacation messages in a convenient way.  
 
  −
{{Warning box|sieverules has been deprecated and you must only use managesieve}}
      
=====Troubleshooting=====
 
=====Troubleshooting=====
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu