Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Enabling MailStore in WebApp with intranet plugin ?!

    Kopano DeskApp
    4
    5
    545
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • El Muchacho
      El Muchacho last edited by

      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

      zara-kopa 1 Reply Last reply Reply Quote 0
      • zara-kopa
        zara-kopa @El Muchacho last edited by

        @el-muchacho

        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

        El Muchacho 1 Reply Last reply Reply Quote 0
        • El Muchacho
          El Muchacho @zara-kopa last edited by

          @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.

          externa1 1 Reply Last reply Reply Quote 0
          • externa1
            externa1 @El Muchacho last edited by

            @el-muchacho

            should look like this:

            6235860e-05a9-4b26-885c-57d4c1da0f11-image.png

            rg
            Christian

            fbartels 1 Reply Last reply Reply Quote 0
            • fbartels
              fbartels Kopano @externa1 last edited by

              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 at https://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.

              Regards Felix

              Resources:
              https://kopano.com/blog/how-to-get-kopano/
              https://documentation.kopano.io/
              https://kb.kopano.io/

              Support overview:
              https://kopano.com/support/

              1 Reply Last reply Reply Quote 0
              • First post
                Last post