Skip to content

Latest commit

 

History

History
64 lines (51 loc) · 1.81 KB

README.md

File metadata and controls

64 lines (51 loc) · 1.81 KB

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.1
  • 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://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;
 }