kolab(imap, chwala,seafile) and roundcube on different hosts

signaldeveloper at gmail.com signaldeveloper at gmail.com
Tue Sep 8 23:57:05 CEST 2015


Jochen,

How are you! I would simply do this by forcing the files plugin to listen on a certain port, then block the port outside the intranet using a firewall. I did something similar with the kolab web admin panel. Good luck!!

- Paul


> On Sep 8, 2015, at 4:16 PM, Jochen Hein <jochen at jochen.org> wrote:
> 
> 
> I have a kolab 3.4 server on Debian 8 with roundcube that is accessible
> from the intranet. kolab_files is enabled and can access chwala/seafile
> without problems.
> 
> I'd like to have the kolab server inaccessible from the
> outside(internet), so I run a second roundcube instance on a different
> VM. Authentication and reading/sending mails works fine, but using
> kolab_files (pointing to seafile) gives mit an "An error occurred!
> Connection Error (Failed to reach the server)". I've searched for hints
> in the logs but was not successful.  Should that work?
> 
> /etc/roundcube/kolab_files.inc.php:
> // URL of kolab-chwala installation
> $config['kolab_files_url'] = 'https://kolab3.example.org/chwala/';
> 
> // List of files list columns. Available are: name, size, mtime, type
> $config['kolab_files_list_cols'] = array('name', 'mtime', 'size');
> 
> // Name of the column to sort files list by
> $config['kolab_files_sort_col'] = 'name';
> 
> // Order of the files list sort
> $config['kolab_files_sort_order'] = 'asc';
> 
> // Number of concurent requests for searching and collections
> listing. Default: 1
> $config['kolab_files_search_threads'] = 1;
> 
> // seafile
> $config['fileapi_backend'] = 'seafile';
> //$config['fileapi_backend'] = 'kolab';
> //$config['fileapi_drivers'] = array('seafile');
> $config['fileapi_seafile_host'] = 'https://kolab3.example.org/seafile/';
> $config['fileapi_seafile_ssl_verify_peer'] = false;
> $config['fileapi_seafile_ssl_verify_host'] = false;
> $config['fileapi_seafile_cache_ttl'] = '14d';
> $config['fileapi_seafile_debug'] = true;
> 
> 
> /etc/roundcube/config.inc.php:
> $config['fileapi_backend'] = 'seafile';
> //$config['fileapi_backend'] = 'kolab';
> //$config['fileapi_drivers'] = array('seafile');
> $config['fileapi_seafile_host'] = 'https://kolab3.jochen.org/seafile/';
> $config['fileapi_seafile_ssl_verify_peer'] = false;
> $config['fileapi_seafile_ssl_verify_host'] = false;
> $config['fileapi_seafile_cache_ttl'] = '14d';
> $config['fileapi_seafile_debug'] = true;
> 
> Any hints what I should try?
> 
> Jochen
> 
> -- 
> The only problem with troubleshooting is that the trouble shoots back.
> 
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users


More information about the users mailing list