Hello Matteo

> On Aug 10, 2016, at 9:26 AM, Matteo Manzinello (mat...@manzinello.it) 
> <users@sogo.nu> wrote:
> 
> Thank you...I tried but I see always the Mail session after login.

Did you restart sogod and memcached?


> Below my UserSource:
> 
> SOGoUserSources =
>   (
>     {
>       type = sql;
>       id = users;
>       viewURL = "mysql://USER:PWD@192.168.3.1:3306/mail/sogo_auth";
>       canAuthenticate = YES;
>       isAddressBook = YES;
>       displayName = "users";
>       userPasswordAlgorithm = md5-crypt;
>       ModulesConstraints = {
>       Mail = {
>         nonexistentattr = TRUE;
>         };
>       };
>     }
>   );
> 
>  
> 
> 
> Il 2016-08-10 10:24 Christian Rößner ha scritto:
> 
>> 
>>> Am 10.08.2016 um 00:04 schrieb Matteo Manzinello (mat...@manzinello.it) 
>>> <users@sogo.nu>:
>>> 
>>> Hi guys,
>>> I have some few questions:
>>> 
>>> - can I hide/remove Mail module in Sogo 3.1.4?
>> 
>> Yes you can.
>> 
>> Add something like this to your UserSources section:
>> 
>> ModulesConstraints = {
>>     Mail = {
>>         nonexistentattr = TRUE;
>>     };
>> };
>> 
>> I have a special attribute in LDAP for this. So I can modify individual 
>> users. My conf looks like this and maybe it gives you an idea:
>> 
>> domains = {
>>         "example" = {
>>             SOGoMailDomain = "example.com";
>>             SOGoUserSources = (
>>                 {
>>                     CNFieldName = cn;
>>                     IMAPLoginFieldName = rnsMSDovecotUser;
>>                     KindFieldName = Kind;
>>                     MailFieldNames = (
>>                         mail
>>                     );
>>                     MultipleBookingsFieldName = Multiplebookings;
>>                     UIDFieldName = rnsMSDovecotUser;
>>                     baseDN = "ou=people,ou=it,dc=example,dc=com";
>>                     bindDN = "cn=sogo,ou=people,ou=it,dc=example,dc=com";
>>                     filter = "objectClass='rnsSOGoAccount' AND 
>> rnsSOGoMember='directory0' AND rnsSOGoEnabled='TRUE'";
>>                     bindFields = (
>>                         rnsMSRecipientAddress,
>>                         uniqueIdentifier
>>                     );
>>                     ModulesConstraints = {
>>                         Calendar = {
>>                                 rnsSOGoModuleCalendar = TRUE;
>>                         };
>>                         Mail = {
>>                                 rnsSOGoModuleMail = TRUE;
>>                         };
>>                         ActiveSync = {
>>                                 rnsSOGoModuleActiveSync = TRUE;
>>                         };
>>                     };
>>                     bindPassword = *****;
>>                     canAuthenticate = YES;
>>                     displayName = "Gemeinsame Adressen";
>>                     hostname = ldapi://2%Fvar2%Frun2%Fldapi;
>>                     id = directory0;
>>                     isAddressBook = YES;
>>                     scope = SUB;
>>                     type = ldap;
>>                 }
>>             );
>>         };
>> ...
>> 
>> Christian
>> 
>>> - can I start the web session in expand mode (it's the box near day month 
>>> year on the top)?
>>> 
>>> -- 
>>> users@sogo.nu
>>> https://inverse.ca/sogo/lists



-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to