NextCloud app to integrate RoundCube Webmail. The app embeds the RoundCube webmail interface in NextCloud.
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.
- Auto login
- Enable/disable SSL verification
- Show/hide RC topline bar
- Default path to RC
- Per email domain path to RC
- NextCloud >= 21
- Roundcube Webmail >= 1.4.1
- curl
- NextCloud 22.0.0
- Roundcube Webmail 1.4.1
- Roundcube in a different machine/subdomain than NextCloud
- Install app by cloning this repository.
- The RC installation must be accessible from the same NextCloud server (same domain).
- 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
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/
location ^~ /roundcube1 {
proxy_pass https://roundcube.example.org;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_connect_timeout 120;
proxy_send_timeout 120;
proxy_read_timeout 180;
}