View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004896 | SOGo | Web Address Book | public | 2019-11-28 17:41 | 2022-01-13 15:51 |
Reporter | dragoangel | Assigned To | francis | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | [Client] Microsoft | OS | Windows | OS Version | 7 |
Product Version | 4.1.1 | ||||
Fixed in Version | 5.5.0 | ||||
Summary | 0004896: SOGoDomainsVisibility and GAL Address Book broken | ||||
Description | I have successfully configured: When look in GAL at another domain users from SOGo they displayed in Address book and in Send dialog as hints without issues. But:
| ||||
Steps To Reproduce |
| ||||
Tags | No tags attached. | ||||
Note: I'm using SOGo in mailcow dockerized https://github.com/mailcow/mailcow-dockerized/ |
|
Please share your complete configuration file (sogo.conf). |
|
Here the sogo.conf content with anonymized domains only in SOGoDomainsVisibility: |
|
To be sure add file to display spaces|formating etc.: sogo.conf (2,368 bytes)
{ SOGoCalendarDefaultRoles = ( PublicViewer, ConfidentialDAndTViewer, PrivateDAndTViewer ); WOWorkersCount = "20"; SOGoACLsSendEMailNotifications = YES; SOGoAppointmentSendEMailNotifications = YES; SOGoDraftsFolderName = "Drafts"; SOGoJunkFolderName= "Junk"; SOGoMailDomain = "sogo.local"; SOGoEnableEMailAlarms = YES; SOGoFoldersSendEMailNotifications = YES; SOGoForwardEnabled = YES; SOGoUIAdditionalJSFiles = (js/custom-sogo.js); SOGoEnablePublicAccess = YES; // Multi-domain setup // Domains are isolated, you can define visibility options here. SOGoDomainsVisibility = ( (company.com, company.com.ua, company.org.ua, company.in.ua) ); SOGoSieveServer = "sieve://dovecot:4190/?tls=YES"; SOGoSMTPServer = "postfix:588"; WOPort = "0.0.0.0:20000"; SOGoMemcachedHost = "memcached"; SOGoLanguage = English; SOGoMailAuxiliaryUserAccountsEnabled = YES; SOGoMailCustomFromEnabled = YES; SOGoMailingMechanism = smtp; SOGoSMTPAuthenticationType = plain; SxVMemLimit = 384; SOGoMaximumPingInterval = 3540; SOGoInternalSyncInterval = 45; SOGoMaximumSyncInterval = 3540; // 100 seems to break some Android clients //SOGoMaximumSyncWindowSize = 99; // This should do the trick for Outlook 2016 SOGoMaximumSyncResponseSize = 512; WOWatchDogRequestTimeout = 30; WOListenQueueSize = 16; WONoDetach = YES; SOGoIMAPAclConformsToIMAPExt = Yes; SOGoPageTitle = "SOGo Groupware"; SOGoFirstDayOfWeek = "1"; SOGoSieveFolderEncoding = "UTF-8"; SOGoPasswordChangeEnabled = NO; SOGoSentFolderName = "Sent"; SOGoMailShowSubscribedFoldersOnly = NO; NGImap4ConnectionStringSeparator = "/"; SOGoSieveScriptsEnabled = YES; SOGoTrashFolderName = "Trash"; SOGoVacationEnabled = YES; SOGoCacheCleanupInterval = 900; SOGoMaximumFailedLoginCount = 10; SOGoMaximumFailedLoginInterval = 900; SOGoFailedLoginBlockInterval = 900; MySQL4Encoding = "utf8mb4"; //SOGoDebugRequests = YES; //SoDebugBaseURL = YES; //ImapDebugEnabled = YES; //SOGoEASDebugEnabled = YES; //LDAPDebugEnabled = YES; //PGDebugEnabled = YES; //MySQL4DebugEnabled = YES; //SOGoUIxDebugEnabled = YES; //WODontZipResponse = YES; WOLogFile = "/dev/sogo_log"; } |
|
Hi @francis, do you have time to check if it? Thank you in advance. |
|
In your sogo.conf you do not have any domains defined at all. |
|
Hello @Cristian Mack, I anonymized my config (changed real domain to "company", changed sql credentials to "user:password" and encryption key) and attach it here. Could you please check it? Big thank you in advance. sogod.plist (10,652 bytes)
<?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>OCSAclURL</key> <string>mysql://user:password@%2Fvar%2Frun%2Fmysqld%2Fmysqld.sock/mailcow/sogo_acl</string> <key>SOGoIMAPServer</key> <string>imaps://172.22.1.250:993</string> <key>SOGoTrustProxyAuthentication</key> <string>YES</string> <key>SOGoEncryptionKey</key> <string>secret</string> <key>OCSCacheFolderURL</key> <string>mysql://user:password@%2Fvar%2Frun%2Fmysqld%2Fmysqld.sock/mailcow/sogo_cache_folder</string> <key>OCSEMailAlarmsFolderURL</key> <string>mysql://user:password@%2Fvar%2Frun%2Fmysqld%2Fmysqld.sock/mailcow/sogo_alarms_folder</string> <key>OCSFolderInfoURL</key> <string>mysql://user:password@%2Fvar%2Frun%2Fmysqld%2Fmysqld.sock/mailcow/sogo_folder_info</string> <key>OCSSessionsFolderURL</key> <string>mysql://user:password@%2Fvar%2Frun%2Fmysqld%2Fmysqld.sock/mailcow/sogo_sessions_folder</string> <key>OCSStoreURL</key> <string>mysql://user:password@%2Fvar%2Frun%2Fmysqld%2Fmysqld.sock/mailcow/sogo_store</string> <key>SOGoProfileURL</key> <string>mysql://user:password@%2Fvar%2Frun%2Fmysqld%2Fmysqld.sock/mailcow/sogo_user_profile</string> <key>SOGoTimeZone</key> <string>Europe/Kiev</string> <key>domains</key> <dict> <key>company.com.ua</key> <dict> <key>SOGoMailDomain</key> <string>company.com.ua</string> <key>SOGoUserSources</key> <array> <dict> <key>MailFieldNames</key> <array> <string>aliases</string> <string>ad_aliases</string> <string>ext_acl</string> </array> <key>KindFieldName</key> <string>kind</string> <key>DomainFieldName</key> <string>domain</string> <key>MultipleBookingsFieldName</key> <string>multiple_bookings</string> <key>listRequiresDot</key> <string>NO</string> <key>canAuthenticate</key> <string>YES</string> <key>displayName</key> <string>GAL company.com.ua</string> <key>id</key> <string>company.com.ua</string> <key>isAddressBook</key> <string>YES</string> <key>type</key> <string>sql</string> <key>userPasswordAlgorithm</key> <string>ssha256</string> <key>prependPasswordScheme</key> <string>YES</string> <key>viewURL</key> <string>mysql://user:password@%2Fvar%2Frun%2Fmysqld%2Fmysqld.sock/mailcow/_sogo_static_view</string> </dict> <!-- <example> <key>canAuthenticate</key> <string>YES</string> <key>id</key> <string>company.com.ua_ldap</string> <key>isAddressBook</key> <string>NO</string> <key>IDFieldName</key> <string>mail</string> <key>UIDFieldName</key> <string>uid</string> <key>bindFields</key> <array> <string>mail</string> </array> <key>type</key> <string>ldap</string> <key>bindDN</key> <string>cn=admin,dc=example,dc=local</string> <key>bindPassword</key> <string>password</string> <key>baseDN</key> <string>ou=People,dc=example,dc=local</string> <key>hostname</key> <string>ldap://1.2.3.4:389</string> </example> --> </array> </dict> <key>company.in.ua</key> <dict> <key>SOGoMailDomain</key> <string>company.in.ua</string> <key>SOGoUserSources</key> <array> <dict> <key>MailFieldNames</key> <array> <string>aliases</string> <string>ad_aliases</string> <string>ext_acl</string> </array> <key>KindFieldName</key> <string>kind</string> <key>DomainFieldName</key> <string>domain</string> <key>MultipleBookingsFieldName</key> <string>multiple_bookings</string> <key>listRequiresDot</key> <string>NO</string> <key>canAuthenticate</key> <string>YES</string> <key>displayName</key> <string>GAL company.in.ua</string> <key>id</key> <string>company.in.ua</string> <key>isAddressBook</key> <string>YES</string> <key>type</key> <string>sql</string> <key>userPasswordAlgorithm</key> <string>ssha256</string> <key>prependPasswordScheme</key> <string>YES</string> <key>viewURL</key> <string>mysql://user:password@%2Fvar%2Frun%2Fmysqld%2Fmysqld.sock/mailcow/_sogo_static_view</string> </dict> <!-- <example> <key>canAuthenticate</key> <string>YES</string> <key>id</key> <string>company.in.ua_ldap</string> <key>isAddressBook</key> <string>NO</string> <key>IDFieldName</key> <string>mail</string> <key>UIDFieldName</key> <string>uid</string> <key>bindFields</key> <array> <string>mail</string> </array> <key>type</key> <string>ldap</string> <key>bindDN</key> <string>cn=admin,dc=example,dc=local</string> <key>bindPassword</key> <string>password</string> <key>baseDN</key> <string>ou=People,dc=example,dc=local</string> <key>hostname</key> <string>ldap://1.2.3.4:389</string> </example> --> </array> </dict> <key>company.org.ua</key> <dict> <key>SOGoMailDomain</key> <string>company.org.ua</string> <key>SOGoUserSources</key> <array> <dict> <key>MailFieldNames</key> <array> <string>aliases</string> <string>ad_aliases</string> <string>ext_acl</string> </array> <key>KindFieldName</key> <string>kind</string> <key>DomainFieldName</key> <string>domain</string> <key>MultipleBookingsFieldName</key> <string>multiple_bookings</string> <key>listRequiresDot</key> <string>NO</string> <key>canAuthenticate</key> <string>YES</string> <key>displayName</key> <string>GAL company.org.ua</string> <key>id</key> <string>company.org.ua</string> <key>isAddressBook</key> <string>YES</string> <key>type</key> <string>sql</string> <key>userPasswordAlgorithm</key> <string>ssha256</string> <key>prependPasswordScheme</key> <string>YES</string> <key>viewURL</key> <string>mysql://user:password@%2Fvar%2Frun%2Fmysqld%2Fmysqld.sock/mailcow/_sogo_static_view</string> </dict> <!-- <example> <key>canAuthenticate</key> <string>YES</string> <key>id</key> <string>company.org.ua_ldap</string> <key>isAddressBook</key> <string>NO</string> <key>IDFieldName</key> <string>mail</string> <key>UIDFieldName</key> <string>uid</string> <key>bindFields</key> <array> <string>mail</string> </array> <key>type</key> <string>ldap</string> <key>bindDN</key> <string>cn=admin,dc=example,dc=local</string> <key>bindPassword</key> <string>password</string> <key>baseDN</key> <string>ou=People,dc=example,dc=local</string> <key>hostname</key> <string>ldap://1.2.3.4:389</string> </example> --> </array> </dict> <key>company.com</key> <dict> <key>SOGoMailDomain</key> <string>company.com</string> <key>SOGoUserSources</key> <array> <dict> <key>MailFieldNames</key> <array> <string>aliases</string> <string>ad_aliases</string> <string>ext_acl</string> </array> <key>KindFieldName</key> <string>kind</string> <key>DomainFieldName</key> <string>domain</string> <key>MultipleBookingsFieldName</key> <string>multiple_bookings</string> <key>listRequiresDot</key> <string>NO</string> <key>canAuthenticate</key> <string>YES</string> <key>displayName</key> <string>GAL company.com</string> <key>id</key> <string>company.com</string> <key>isAddressBook</key> <string>YES</string> <key>type</key> <string>sql</string> <key>userPasswordAlgorithm</key> <string>ssha256</string> <key>prependPasswordScheme</key> <string>YES</string> <key>viewURL</key> <string>mysql://user:password@%2Fvar%2Frun%2Fmysqld%2Fmysqld.sock/mailcow/_sogo_static_view</string> </dict> <!-- <example> <key>canAuthenticate</key> <string>YES</string> <key>id</key> <string>company.com_ldap</string> <key>isAddressBook</key> <string>NO</string> <key>IDFieldName</key> <string>mail</string> <key>UIDFieldName</key> <string>uid</string> <key>bindFields</key> <array> <string>mail</string> </array> <key>type</key> <string>ldap</string> <key>bindDN</key> <string>cn=admin,dc=example,dc=local</string> <key>bindPassword</key> <string>password</string> <key>baseDN</key> <string>ou=People,dc=example,dc=local</string> <key>hostname</key> <string>ldap://1.2.3.4:389</string> </example> --> </array> </dict> </dict> </dict> </plist> |
|
Hi Christian, please help. The issue is still reproduce and I still need help. |
|
The issue still persists on latest SOGo 4.3.2 nightly. |
|
@francis please could you help to check config I send in https://sogo.nu/bugs/view.php?id=4896#c14372 ? |
|
Do you really have the same users in all of your domains? |
|
Hi Christian, this static view are contains all users from all domains on my mail server. |
|
So this bug or incorrect configuration? |
|
I am not absolutely sure, but when I tested multi domain, you had to provide a different list of users for each domain. |
|
Hi Christian Mack Your way, I created per domain static views in mysql which display users only from domain it designed to be and configured sogod.plist to use this views: Please check this. |
|
https://sogo.moo.com/SOGo/so/user@mailcow.com/Contacts/moo.com/view show an array correctly or users moo.com |
|
Guys can you check it on your side please? |
|
Any errors in the log file of sogod? For 2, set |
|
Hi Francis,
If I do select to DB it will not return
Why domain here is asked when Also want to note that there is more critical issue with CardDAV that lead to denial of service and broken GAL for CardDAV when sogo work with mysql backend, please see: |
|
Just to clarify, request: |
|
Please try the next nightly build (>= 20220112) and let me know if it solves your issues. |
|
Okay �, thank you a lot, will try tomorrow |
|
Hi francis, thank you, now this issue solved. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-11-28 17:41 | dragoangel | New Issue | |
2019-11-30 10:36 | dragoangel | Note Added: 0013942 | |
2020-04-06 18:38 | francis | Note Added: 0014267 | |
2020-04-06 22:11 | dragoangel | Note Added: 0014270 | |
2020-04-06 22:14 | dragoangel | File Added: sogo.conf | |
2020-04-06 22:14 | dragoangel | Note Added: 0014271 | |
2020-05-21 23:02 | dragoangel | Note Added: 0014368 | |
2020-05-22 08:46 | Christian Mack | Note Added: 0014371 | |
2020-05-22 10:15 | dragoangel | File Added: sogod.plist | |
2020-05-22 10:15 | dragoangel | Note Added: 0014372 | |
2020-05-22 19:45 | francis | Note Edited: 0014270 | |
2020-05-22 19:45 | francis | Note Edited: 0014270 | |
2020-06-23 19:48 | dragoangel | Note Added: 0014423 | |
2020-07-16 07:23 | dragoangel | Note Added: 0014544 | |
2020-07-18 20:17 | dragoangel | Note Added: 0014548 | |
2020-08-04 14:40 | Christian Mack | Note Added: 0014625 | |
2020-08-04 14:53 | dragoangel | Note Added: 0014626 | |
2020-08-07 01:08 | dragoangel | Note Added: 0014645 | |
2020-08-10 12:47 | Christian Mack | Note Added: 0014650 | |
2020-10-03 11:18 | dragoangel | Note Added: 0014878 | |
2020-10-03 11:56 | dragoangel | Note Added: 0014879 | |
2020-10-20 19:35 | dragoangel | Note Added: 0014898 | |
2022-01-11 16:28 | francis | Note Added: 0015742 | |
2022-01-11 16:50 | dragoangel | Note Added: 0015743 | |
2022-01-11 16:59 | dragoangel | Note Added: 0015744 | |
2022-01-11 22:02 | francis | Changeset attached | => sogo master 368360bb |
2022-01-11 22:02 | francis | Assigned To | => francis |
2022-01-11 22:02 | francis | Resolution | open => fixed |
2022-01-11 22:03 | francis | Note Added: 0015750 | |
2022-01-11 22:03 | francis | Status | new => feedback |
2022-01-11 22:09 | francis | Relationship added | related to 0005424 |
2022-01-11 22:19 | dragoangel | Note Added: 0015751 | |
2022-01-11 22:19 | dragoangel | Status | feedback => assigned |
2022-01-12 09:10 | dragoangel | Note Added: 0015756 | |
2022-01-12 13:37 | francis | Status | assigned => resolved |
2022-01-12 13:37 | francis | Fixed in Version | => 5.5.0 |
2022-01-13 15:51 | francis | Relationship added | related to 0005420 |