Thomas,

The way I solve that problem is to use the full email address as the login.  If 
you have [email protected] and [email protected] and login just as mark SOGo will show 
[email protected].  However if you set SOGo to login with full email address then 
the users are unique and are picked up by the correct part of the config file.

Mark

Here is a piece of my config file.  Note that my ID and UID is set to mail:

            markmadere.com = {
                SOGoMailDomain = markmadere.com;
                SOGoUserSources = (
                    {
                        CNFieldName = cn;
                        IDFieldName = mail;
                        UIDFieldName = mail;
                        baseDN = "jvd=markmadere.com,o=hosting,dc=users";
                        bindDN = "cn=Manager,dc=users";
                        bindPassword = ##LDAPROOTDNPWD##;
                        canAuthenticate = YES;
                        displayName = "Share Users";
                        filter = "(objectClass='JammMailAccount' AND 
accountActive='TRUE' AND delete='FALSE')";
                        hostname = localhost;
                        id = "public-markmadere.com";
                        isAddressBook = YES;
                        port = 389;
                        type = ldap;
                    }
                );
                SOGoSuperUsernames = ([email protected]);
            };


On Wednesday, September 08, 2010 04:02 AM CDT, Thomas Brandstetter 
<[email protected]> wrote: 
 
> Just to wrap this up. What I like to achieve is:
> 
> 
> .) One IP Address - many Domains (domain.a, domain.b, domain.c)
> .) Many Virtualhosts (for the domains)
> 
> http://domain.a/SOGo  --> Authentication against 
> ou=users,domainname=domain.a,dc=domain,dc=a
> http://domain.b/SOGo --> Authentication against 
> ou=users,domainname=domain.b,dc=domain,dc=a
> 
> and so on
> 
> Thomas
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to