General discussion on installation and configuration of SOGo

Text archives Help


[SOGo] Duplicate Address Books - What now? - Follow Up.


Chronological Thread 
  • From: Alexander Pfeiffer < >
  • To:
  • Subject: [SOGo] Duplicate Address Books - What now? - Follow Up.
  • Date: Thu, 29 Nov 2012 22:56:52 +0100

Hi List, hi Michael,

i would like to pick up on this topic again as i am also struggling with it.

I am also getting duplicate addressbooks in TB. First time Setup and Start TB there is only one addressbook, but on the second start the addressbooks get duplicated. I can delete them in TB (even both), next startup they will appear again, all addressbooks are double.

Installed SOGo 2.0.2a on Ubuntu 12.04. Imap Server is Dovecot 2.0.17, i authenticate against an LDAP Server all running on the same system. TB ESR 10.0.11, Lightning 1.2.3, SOGo Connector and Integrator 10.0.3.

Maybe a sidenote: why is the path to the Addressbook missing a slash?
TB prefs.js shows paths like /Contacts/personal/">"https:/sogo.mydomain.de/SOGo/dav/ /Contacts/personal/"
The calendar path seems more correct to me: /Calendar/personal/">"https://sogo.mydomain.de/SOGo/dav/ /Calendar/personal/".

Below my configuration. Your help is appreciated!

Best, Alex


GNUstepDefaults:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" "http://www.gnustep.org/plist-0_9.xml">
<plist version="0.9">
<dict>
    <key>NSGlobalDomain</key>
    <dict>
    </dict>
    <key>sogod</key>
    <dict>
    <key>NGUseUTF8AsURLEncoding</key>
    <string>YES</string>
    <key>OCSEMailAlarmsFolderURL</key>
    <string>mysql://sogo:sogopasswd@localhost:3306/sogo/sogo_alarms_folder</string>
    <key>OCSFolderInfoURL</key>
    <string>mysql://sogo:sogopasswd@localhost:3306/sogo/sogo_folder_info</string>
    <key>OCSSessionsFolderURL</key>
    <string>mysql://sogo:sogopasswd@localhost:3306/sogo/sogo_sessions_folder</string>
    <key>SOGoACLsSendEMailNotifications</key>
    <string>YES</string>
    <key>SOGoAppointmentSendEMailNotifications</key>
    <string>YES</string>
    <key>SOGoAuthenticationMethod</key>
    <string>LDAP</string>
    <key>SOGoCalendarDefaultRoles</key>
    <array>
        <string>PublicViewer</string>
        <string>ConfidentialDAndTViewer</string>
    </array>
    <key>SOGoDraftsFolderName</key>
    <string>Drafts</string>
    <key>SOGoEnableDomainBasedUID</key>
    <string>YES</string>
    <key>SOGoEnableEMailAlarms</key>
    <string>YES</string>
    <key>SOGoFoldersSendEMailNotifications</key>
    <string>YES</string>
    <key>SOGoForceIMAPLoginWithEmail</key>
    <string>YES</string>
    <key>SOGoForwardEnabeled</key>
    <string>YES</string>
    <key>SOGoForwardEnabled</key>
    <string>YES</string>
    <key>SOGoIMAPServer</key>
    <string>localhost</string>
    <key>SOGoLDAPContactInfoAttribute</key>
    <string>displayName</string>
    <key>SOGoLanguage</key>
    <string>English</string>
    <key>SOGoMailDomain</key>
    <string>mydomain.de</string>
    <key>SOGoMailListViewColumnsOrder</key>
    <array>
        <string>Flagged</string>
        <string>Attachment</string>
        <string>Priority</string>
        <string>From</string>
        <string>Subject</string>
        <string>Unread</string>
        <string>Date</string>
        <string>Size</string>
    </array>
    <key>SOGoMailingMechanism</key>
    <string>smtp</string>
    <key>SOGoOtherUsersFolderName</key>
    <string>Other Users</string>
    <key>SOGoProfileURL</key>
    <string>mysql://sogo:sogopasswd@localhost:3306/sogo/sogo_user_profile</string>
    <key>SOGoSMTPServer</key>
    <string>localhost</string>
    <key>SOGoSentFolderName</key>
    <string>Sent</string>
    <key>SOGoSharedFolderName</key>
    <string>Shared</string>
    <key>SOGoSieveScriptsEnabled</key>
    <string>YES</string>
    <key>SOGoSieveServer</key>
    <string>sieve://127.0.0.1:4190</string>
    <key>SOGoSupportedLanguages</key>
    <array>
        <string>English</string>
        <string>German</string>
        <string>Spanish</string>
    </array>
    <key>SOGoTimeZone</key>
    <string>Europe/Berlin</string>
    <key>SOGoTrashFolderName</key>
    <string>Trash</string>
    <key>SOGoUserSources</key>
    <array>
        <dict>
        <key>CNFieldName</key>
        <string>cn</string>
        <key>IDFieldName</key>
        <string>mail</string>
        <key>UIDFieldName</key>
        <string>mail</string>
        <key>baseDN</key>
        <string>o=domains,dc=mydomain,dc=de</string>
        <key>bindDN</key>
        <string>cn=Manager,dc=mydomain,dc=de</string>
        <key>bindFields</key>
        <string>mail</string>
        <key>bindPassword</key>
        <string>secretpasswd</string>
        <key>canAuthenticate</key>
        <string>YES</string>
        <key>displayName</key>
        <string>Global LDAP Addresses</string>
        <key>hostname</key>
        <string>localhost</string>
        <key>id</key>
        <string>public</string>
        <key>isAddressBook</key>
        <string>YES</string>
        <key>type</key>
        <string>ldap</string>
        </dict>
    </array>
    <key>SOGoVacationEnabeled</key>
    <string>YES</string>
    <key>SOGoVacationEnabled</key>
    <string>YES</string>
    <key>WOMessageUseUTF8</key>
    <string>YES</string>
    <key>WOParsersUseUTF8</key>
    <string>YES</string>
    <key>WOPort</key>
    <string>20000</string>
    <key>WOUseRelativeURLs</key>
    <string>NO</string>
    <key>WOWorkersCount</key>
    <string>5</string>
    </dict>
</dict>
</plist>


apache.conf:

Alias /SOGo.woa/WebServerResources/ \
      /usr/lib/GNUstep/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/ \
      /usr/lib/GNUstep/SOGo/WebServerResources/
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
           /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2

<Directory /usr/lib/GNUstep/SOGo/>
    AllowOverride None
    Order deny,allow
    Allow from all

    # Explicitly allow caching of static content to avoid browser specific behavior.
    # A resource's URL MUST change in order to have the client load the new version.
    <IfModule expires_module>
      ExpiresActive On
      ExpiresDefault "access plus 1 year"
    </IfModule>
</Directory>

<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)">
  SetHandler default-handler
</LocationMatch>

ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On

ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0

<Proxy http://127.0.0.1:20000/SOGo>
  RequestHeader set "x-webobjects-server-port" "443"
  RequestHeader set "x-webobjects-server-name" "sogo.mydomain.de"
  RequestHeader set "x-webobjects-server-url" "https://sogo.mydomain.de"

  RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
  RequestHeader set "x-webobjects-remote-host" %{REMOTE_HOST}e env=REMOTE_HOST

  AddDefaultCharset UTF-8

  Order allow,deny
  Allow from all
</Proxy>

## We use mod_rewrite to pass remote address to the SOGo proxy.
# The remote address will appear in SOGo's log files and in the X-Forward
# header of emails.
RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]


extensions.rdf (integrator)


<?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://sogo.mydomain.de/plugins/updates.php?plugin=%ITEM_ID%&amp;version=%ITEM_VERSION%&amp;platform=%PLATFORM%">
    <li>
      <Description
        em:id= ">" "
        em:name="SOGo Integrator"/>
    </li>
    <li>
      <Description
        em:id= ">" "
        em:name="SOGo Connector"/>
    </li>
  </Seq>
</RDF>



Thanks! Best, Alex





On 17.02.2011 12:46, Michael Crilly wrote:
" type="cite">I resolved the duplicated calendar issue by making the changes to the Apache SOGo.conf file and Integrator files, as suggested by Ludovic

I now have another duplication error: address books.

http://cl.ly/3V311v3J3e1P3u3G2k2t

What the? I've set BOTH of our LDAP sources to not be address books, yet I get... address books? Configuration below:

http://cl.ly/1K2d2X0R0L1z0C3m3t0F

Obviously I do indeed want our LDAP server to be used as the address book as this makes perfect sense, but these duplicate address books are a bit annoying - which one do you search? :)

All help, as usual, is greatly appreciated.

--
dipl.-ing. alexander pfeiffer architekt bda eginhardstraße 9 52070 aachen fon +49 241 9968186 fax +49 241 401 0783 mail: ">


  • [SOGo] Duplicate Address Books - What now? - Follow Up., Alexander Pfeiffer, 11/29/2012

Archive powered by MHonArc 2.6.18.

Top of page