1 (edited by irma 2018-11-09 20:44:06)

Topic: SOGo Integrator on iRedMail 0.9.8

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: CentOS 7.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Not yet.
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi iRedMail Admins and Users!

I downloaded and customized the SOGo Integrator Add-On according to this manual: https://sogo.nu/files/docs/SOGoMozillaT … Guide.html

The Add-On's extensions.rdf file looks like this:

<?xml version="1.0"?>
<!DOCTYPE RDF>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:isi="http://inverse.ca/sogo-integrator/"
  xmlns:em="http://www.mozilla.org/2004/em-rdf#"
  xmlns:NC="http://home.netscape.com/NC-rdf#">
  <Seq about="http://inverse.ca/sogo-integrator/extensions"
    isi:updateURL="https://myIRMserver.myDomain.myTLD/plugins/updates.php?plugin=%ITEM_ID%&amp;version=%ITEM_VERSION%&amp;platform=%PLATFORM%">
    <li>
      <Description
        em:id="sogo-integrator@inverse.ca"
        em:name="SOGo Integrator"/>
    </li>
    <li>
      <Description
        em:id="sogo-connector@inverse.ca"
        em:name="SOGo Connector"/>
    </li>
<!--
    <li>
      <Description
        em:id="{e2fda1a4-762b-4020-b5ad-a41df1933103}"
        em:name="Lightning"/>
    </li>
-->
  </Seq>
</RDF>

The second thing to be considered, affects the IRM webserver's x-webobjects-server-url, located in the webserver's configuration file /etc/nginx/templates/sogo.tmpl . By default the setting is:

proxy_set_header x-webobjects-server-url  https://$host;

I changed it to:

proxy_set_header x-webobjects-server-url https://myIRMserver.myDomain.myTLD/plug … PLATFORM%;

Back on the Integrator Add-On's customization, you must locate the file defaults/preferences/site.js and adapt its setting

pref("sogo-integrator.autocomplete.server.urlid", "public");

to match your IRM server's LDAP identifier. Open /etc/sogo/sogo.conf and search for your SOGoUserSources LDAP section. You read:

id = users;

So change it accordingly in the site.js file to be:

pref("sogo-integrator.autocomplete.server.urlid", "users");

Finally repack the Add-On and install it on Thunderbird.

Having restarted Thunderbird, you get three icons on the calendar's management tab (see attachment).

If I understood SOGo Integrator's concept correctly, all of your Calendars created in SOGo should be available in Thunderbird Lightning now. And all of your SOGo Address Books should provide their addresses now.

The issue: Neither the calendars show up nor the Personal Address Book's nor the Global Address Book's addresses available (e.g. composing an eMail message).

What is wrong?

Thanks in advance!

BR
IrmA

Post's attachments

sogointegrator_calendar_operations_icon.png
sogointegrator_calendar_operations_icon.png 2.55 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: SOGo Integrator on iRedMail 0.9.8

OK, found that the NGINX webserver cannot start properly due to the manipulated setting in

proxy_set_header x-webobjects-server-url

I masked the semi-colons, then the line looked like this:

proxy_set_header x-webobjects-server-url https://myIRMserver.myDomain.myTLD/plug … PLATFORM%;

Result: NGINX service starts, but users cannot access their mailboxes anymore.

Resetted to default setting. Line looks like this now:

proxy_set_header x-webobjects-server-url  https://$host;

Result: NGINX starts properly, users can access their mailboxes by SOGo WebGUI.

Of course, now the SOGo Integrator's prerequisite is not matched:
proxy_set_header x-webobjects-server-url's setting must match the isi:updateURL's value in SOGo Integrator's extensions.rdf file.

3

Re: SOGo Integrator on iRedMail 0.9.8

I'm afraid that you have to ask in SOGo mailing list instead to get support from SOGo developers:
https://sogo.nu/support.html