On 15/07/15 18:16, "Christian M. Jensen" <[email protected]> wrote:

>Hi,
>
>On 15-07-2015 16:56, Yavuz Maşlak wrote:
>>
>> On 15/07/15 16:25, "Francis Lachapelle" <[email protected]> wrote:
>>
>>> Hello Yavuz
>>>
>>>> On Jul 15, 2015, at 3:23 AM, Yavuz Maşlak <[email protected]>
>>>> wrote:
>>>>
>>>>
>>>> i have 3 domains  ( for example  a.com  b.com    c.com ).
>>>>
>>>> Users of A.com  and b.com  can see eachother but c.com
>>>> C.com ¹s users can only see eachother but other domains.
>>>>
>>>> How can i do that ?
>>>>
>>>> Could you give me an example?
>>> This should do it:
>>>
>>> SOGoDomainsVisibility = ( (a.com, b.com), (c.com) );
>>>
>>>
>>> Francis--
>>> [email protected]
>>> https://inverse.ca/sogo/lists
>> I tried now. Unfortunately, it does not work.
>> Whan can be the problem ?
>>
>
>How do you define your domains in SOGo configuration?
>
>if your just set all your configuration in  'SOGoUserSources' then SOGo
>has no way of detecting what user source belong to what domain
>but if you use the 'Domains' value then 'SOGoDomainsVisibility' will
>work as expected
>
>using the domain parameter:
>
>  domains = {
>         "domain.com" = {
>             SOGoMailDomain = "domain.com";
>             SOGoSuperUsernames = (
>                 "[email protected]"
>             );
>             SOGoUserSources = (
>                 {
>                     type = sql;
>                     id = "sql-auth";
>                     isAddressBook = NO;
>                     .....
>                 },
>                 {
>                     type = sql;
>                     id = "sql_addressbook";
>                     isAddressBook = YES;
>                     .....
>                 }
>             );
>         };
>         "domain1.com" = {
>             SOGoMailDomain = "domain1.com";
>             SOGoSuperUsernames = (
>                 "[email protected]"
>             );
>             SOGoUserSources = (
>                 {
>                     type = ldap;
>                     id = "ldap_auth";
>                     isAddressBook = NO;
>                     .....
>                 },
>                 {
>                     type = ldap;
>                     id = "ldap_addressbook";
>                     isAddressBook = YES;
>                     .....
>                 }
>             );
>         };
>};
>
>
>Regards
>Christian Jensen
>-- 
>[email protected]
>https://inverse.ca/sogo/lists

Ok I edited now, i restarted sogo but  "SOGoDomainsVisibility = ( (a.com,
b.com), (c.com) ); “ directive doesn’t appear to work .
But at least i can use filter for another domains as we defined for every
domain seperately.

-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to