/Nextcloud-roundcube

NextCloud app to integrate RoundCube Webmail

Primary LanguagePHPGNU Affero General Public License v3.0AGPL-3.0

nextcloud-roundcube

NextCloud app to integrate RoundCube Webmail. The app embeds the RoundCube webmail interface in NextCloud.

Screenshot

App

History

This app uses idea and code from this app. The app needed an update to work with newer versions of NextCloud. This app doesn't have all features but at least you can auto-login.

Features

  • Auto login
  • Enable/disable SSL verification
  • Show/hide RC topline bar
  • Default path to RC
  • Per email domain path to RC

Requirements

  • NextCloud >= 21
  • Roundcube Webmail >= 1.4.1
  • curl

Tested with

  • NextCloud 22.0.0
  • Roundcube Webmail 1.4.11
  • Roundcube in a different machine/subdomain than NextCloud

Installation

  • Install app by cloning this repository.
  • The RC installation must be accessible from the same NextCloud server (same domain).

Configuration

  • You may need to configure a virtual host with a proxypass alias to somewhere else.
    • Apache would need mods proxy, proxy_http
  • NextCloud settings (as admin), Additional:
    • Set at least the default RC path: e.g. roundcube1/
    • Save settings

Apache example:

ServerName nextcloud.domain.com

SSLProxyEngine on
ProxyPass /roundcube1/ https://proxymail1.domain.com/
ProxyPass /roundcube2/ https://proxymail2.domain.com/
ProxyPassReverse /roundcube1/ https://proxymail1.domain.com/
ProxyPassReverse /roundcube2/ https://proxymail2.domain.com/

nginx example:

location /roundcube1/ {
	proxy_pass https://proxymail1.domain.com/;
}
location /roundcube2/ {
	proxy_pass https://proxymail2.domain.com/;
}