Hey, I'm struggling since the beginning of using SOGo with my multi-domain setup. Here's what it looks like working:
<key>SOGoEnableDomainBasedUID</key> <string>YES</string> <key>SOGoForceIMAPLoginWithEmail</key> <string>YES</string> <key>SOGoLoginDomains</key> <array> <string>domain1.tld</string> <string>domain2.tld</string> </array> <key>domains</key> <dict> <key>domain1.tld</key> <dict> <key>SOGoIMAPServer</key> <string>imaps://localhost:993</string> <key>SOGoMailDomain</key> <string>domain1.tld</string> <key>SOGoUserSources</key> <array> <dict> <key>CNFieldName</key> <string>cn</string> <key>IDFieldName</key> <string>uid</string> <key>UIDFieldName</key> <string>uid</string> <key>baseDN</key> <string>ou=users,dc=domain1,dc=tld</string> <key>bindDN</key> <string>uid=sogo,ou=users,dc=domain1,dc=tld</string> <key>bindPassword</key> <string>qwerty</string> <key>canAuthenticate</key> <string>YES</string> <key>displayName</key> <string>Shared Addresses</string> <key>hostname</key> <string>localhost</string> <key>id</key> <string>public_domain1</string> <key>IMAPLoginFieldName</key> <string>mail</string> <key>isAddressBook</key> <string>YES</string> <key>port</key> <string>389</string> <key>type</key> <string>ldap</string> </dict> </array> </dict> <key>domain2.tld</key> <dict> <key>SOGoIMAPServer</key> <string>imaps://localhost:993</string> <key>SOGoMailDomain</key> <string>domain2.tld</string> <key>SOGoUserSources</key> <array> <dict> <key>CNFieldName</key> <string>cn</string> <key>IDFieldName</key> <string>uid</string> <key>UIDFieldName</key> <string>uid</string> <key>baseDN</key> <string>ou=users,dc=domain2,dc=tld</string> <key>bindDN</key> <string>uid=sogo,ou=users,dc=domain2,dc=tld</string> <key>bindPassword</key> <string>qwerty</string> <key>canAuthenticate</key> <string>YES</string> <key>displayName</key> <string>Shared Addresses</string> <key>hostname</key> <string>localhost</string> <key>id</key> <string>public_domain2</string> <key>IMAPLoginFieldName</key> <string>mail</string> <key>isAddressBook</key> <string>YES</string> <key>port</key> <string>389</string> <key>type</key> <string>ldap</string> </dict> </array> </dict> </dict> Here's whats not working. I deleted SOGOLoginDomains and changed the UIDFieldName to "mail": <key>SOGoEnableDomainBasedUID</key> <string>YES</string> <key>SOGoForceIMAPLoginWithEmail</key> <string>YES</string> <key>domains</key> <dict> <key>domain1.tld</key> <dict> […] <key>SOGoUserSources</key> <array> <dict> <key>UIDFieldName</key> <string>mail</string> […] </dict> </array> </dict> <key>domain2.tld</key> <dict> […] <key>SOGoUserSources</key> <array> <dict> <key>UIDFieldName</key> <string>mail</string> […] </dict> </array> </dict> </dict> Now I can't login. The error message says that either username or password are wrong. Any ideas? Bye Georg-- users@sogo.nu https://inverse.ca/sogo/lists