In attachment my sogo.conf file.
I restarted the VM but obtain same result, below the screenshot when I
get login with email button in red:
Now I'm using sogo night 3.1.5.20160817-1
Il 2016-08-11 13:44 "sg gs" ha scritto:
> just gave it a try: restart sogo follwed by restart memcached results in the
> desired behaviour.
>
> SENT: Thursday, August 11, 2016 at 11:49 AM
> FROM: "\"Matteo Manzinello\" (mat...@manzinello.it)"
> TO: users@sogo.nu
> SUBJECT: Re: [SOGo] Hide Mail module/expand page login
>
> I restarted sogod and memcached but it's same result
>
> Il 2016-08-11 02:44 Francis Lachapelle ha scritto:
> Hello Matteo
> On Aug 10, 2016, at 9:26 AM, Matteo Manzinello (mat...@manzinello.it)
> 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)
> :
>
> 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
--
users@sogo.nu
https://inverse.ca/sogo/lists
--
users@sogo.nu
https://inverse.ca/sogo/lists{
/* * Main SOGo configuration file **
* *
* Since the content of this file is a dictionary in OpenStep plist format, *
* the curly braces enclosing the body of the configuration are mandatory. *
* See the Installation Guide for details on the format. *
* *
* C and C++ style comments are supported. *
* *
* This example configuration contains only a subset of all available*
* configuration parameters. Please see the installation guide more details. *
* *
* ~sogo/GNUstep/Defaults/.GNUstepDefaults has precedence over this file,*
* make sure to move it away to avoid unwanted parameter overrides. *
* *
* **/
/* Database configuration (mysql:// or postgresql://) */
SOGoProfileURL = "mysql://USER:PWD@127.0.0.1:3306/sogo/sogo_user_profile";
OCSFolderInfoURL = "mysql://USER:PWD@127.0.0.1:3306/sogo/sogo_folder_info";
OCSSessionsFolderURL =
"mysql://USER:PWD@127.0.0.1:3306/sogo/sogo_sessions_folder";
/* Mail */
SOGoDraftsFolderName = Drafts;
SOGoSentFolderName = Sent;
SOGoTrashFolderName = Trash;
SOGoIMAPServer = 192.168.3.1;
SOGoSieveServer = sieve://192.168.3.1:4190;
SOGoSMTPServer = 192.168.3.1;
//SOGoMailDomain = acme.com;
SOGoMailingMechanism = smtp;
//SOGoForceExternalLoginWithEmail = NO;
//SOGoMailSpoolPath = /var/spool/sogo;
//NGImap4ConnectionStringSeparator = "/";
SOGoMailMessageCheck = "every_minute";