Line 100: |
Line 100: |
| ===Limit access to web interface=== | | ===Limit access to web interface=== |
| {{Note box|By default, the Roundcube webmail interface is accessible from the entire internet without requiring additional HTTP authentication.}} | | {{Note box|By default, the Roundcube webmail interface is accessible from the entire internet without requiring additional HTTP authentication.}} |
| + | Access to Roundcube can be fine-tuned by setting the corresponding property in the configuration DB of SME server: |
| + | <tabs container=""><tab name="For SME 10 smeserver-roundcube-1.2-20 and newer"> |
| + | To change to public access do |
| + | config setprop roundcube access public |
| + | systemctl restart httpd-e-smith |
| + | or to change to private access (lan + authorized external IP) |
| + | config setprop roundcube access private |
| + | systemctl restart httpd-e-smith |
| + | |
| + | To disable roundcube |
| + | config setprop roundcube status disabled |
| + | signal-event smeserver-roundcube-update |
| + | To enable roundcube |
| + | config setprop roundcube status enabled |
| + | signal-event smeserver-roundcube-update |
| + | |
| + | </tab><tab name="For SME 10 before 1.2-20"> |
| + | config setprop roundcube PublicAccess OPTION |
| + | |
| + | where 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, this is the default on SME) |
| + | global-pw => Entire Internet (password required) |
| + | global-pw-remote => Entire Internet (password required outside local network) |
| + | |
| + | For example, to restrict access to LAN only: |
| | | |
− | Access to Roundcube can be fine-tuned by setting the corresponding property in the configuration DB of SME server:
| + | config setprop roundcube PublicAccess local |
| | | |
| + | To activate these changes to the configuration DB, run this command: |
| + | systemctl restart httpd-e-smith |
| + | </tab><tab name="For SME 8, 9, and 10 before 1.2-20"> |
| config setprop roundcube PublicAccess OPTION | | config setprop roundcube PublicAccess OPTION |
| | | |
Line 124: |
Line 156: |
| | | |
| afterwards. | | afterwards. |
| + | </tab></tabs> |
| + | |
| + | |
| + | |
| | | |
| Note: for a general description of how DB settings work on SME server, have a look at [[Web Application RPM#New DB settings]]. | | Note: for a general description of how DB settings work on SME server, have a look at [[Web Application RPM#New DB settings]]. |