Enabling MailStore in WebApp with intranet plugin ?!
-
Re: PST-Viewer inside of Kopano Deskapp
This should work …
But I always get “mailstore.mydomain.com hat die Verbindung abgelehnt” …This only happens in WebApp.
Each tested browser opens the same page fine.Any Ideas?
regards
Rico
-
You have to config the INTRANET config.php!
In our productive system it looks like:
<?php
define(‘PLUGIN_INTRANET_USER_DEFAULT_ENABLE’, true);
define(‘PLUGIN_INTRANET_BUTTON_TITLE’, ‘MAIL-ARCHIV’);
define(‘PLUGIN_INTRANET_URL’, ‘https://your.domain.com:port/’);
define(‘PLUGIN_INTRANET_AUTOSTART’, false);
define(‘PLUGIN_INTRANET_ICON’, ‘resources/icons/icon_default.png’);// More buttons can be added by adding a number as follows
// Note: Numbers must start with 1 and be sequential
// define(‘PLUGIN_INTRANET_BUTTON_TITLE_1’, ‘Kopano.com’);
// define(‘PLUGIN_INTRANET_URL_1’, ‘https://kopano.com/’);
// define(‘PLUGIN_INTRANET_AUTOSTART_1’, false);
// define(‘PLUGIN_INTRANET_ICON_1’, ‘resources/icons/icon_default.png’);Our instance of MAILSTORE is running behind an revers-Proxy with spezific-Let’s encrypt certification. — In DESK-APP you can login directly, in WEBAPP via FIREFOX you mast open an new tab.
best regards
ZARA-KOPA -
@zara-kopa said in Enabling MailStore in WebApp with intranet plugin ?!:
in WEBAPP via FIREFOX you mast open an new tab
Do you talk about a new browser-tab? There’s no option in the plugin to open the link in a new tab.
-
-
In the end its security features of Mailstore that are interfering here (and usually for the right reasons). Mailstore seemingly sets a “content security policy” (csp for short) that prevents that it gets embedded from other domains (like you have webapp at
https://kopano.domain.com/webapp
and mailstore athttps://mailstore.domain.com
, using a different port for both also makes it a different domain for the browser).DeskApp is configured to ignore this by default, that is also why there is a WhatsApp plugin only for DeskApp and not for WebApp itself.
What are your options? You could modify the webserver serving Mailstore to override the csp to allow embedding from your WebApp domain. We have been doing something similar when it came to the integration of Mattermost into Kopano WebApp.