Hi Stelios,

I have attached my sanitized sogo.conf for you.

Ben



On 16/12/14 15:38, [email protected] wrote:
> I would appreciate it Ben, but I can work on that starting next week.
> I was anyhow thinking of checking the setup using ldap and saml but as an
> exercise for xmas period, just to keep me off bed :)
> 
> I will get back to the team with the result, as soon as I have the deamon
> working even using ldap, perhaps I will be able to use postgresql as well.
> 
> Thanks Ben for sharing!
> Stelios
> 
> 
> 
>> Hmm, strange. It works fine for me, I am using ldap and saml for
>> authentication though. I can share my sogo.conf with you if you like?
>>
>> On 16/12/14 14:07, [email protected] wrote:
>>> Ben,
>>>
>>> I tried those rpms too but using postgresql for user authentication. The
>>> result was that sogod was hanging at startup.
>>>
>>> Stelios
>>>
>>>
>>>
>>>> I have deployed sogo on CentOS 7 using the rpms I found here:
>>>>
>>>> https://copr.fedoraproject.org/coprs/jaile/sogo/
>>>>
>>>> I am using it with openldap rather than samba 4 though.
>>>>
>>>> I would also be happy to do some beta testing of CentOS 7 rpms but in
>>>> an
>>>> openldap environment rather than samba 4.
>>>>
>>>> Ben
>>>>
>>>> On 16/12/14 12:22, Ozy de Jong wrote:
>>>>> Hello,
>>>>>
>>>>> Having spoken with Ludovic earlier about this, there is a big issue
>>>>> with
>>>>> Samba4 on RHEL/CentOS 7 that prevents using openchange backend.
>>>>> I guess Sogo packages can work on CentOS 7 so far (from what i've read
>>>>> in the rpm spec files on github), but simply without openchange.
>>>>>
>>>>> The problem is related to the Samba4 implementation of the Kerberos
>>>>> protocol which uses Heimdal whereas RHEL / CentOS use MIT Kerberos.
>>>>> That's the reason no RHEL / CentOS 7 can be configured as a Samba4
>>>>> domain controller yet.
>>>>>
>>>>> The guys at http://enterprisesamba.com have released Samba 4 RPMs
>>>>> compiled with MIT Kerberos support for RHEL 7, that works as DC.
>>>>> Yet, i don't know if the sogo openchange backend can work togheter
>>>>> with
>>>>> them.
>>>>>
>>>>> @Sogo devs: If you could tell us if there's any roadmap or guide to
>>>>> compile sogo with samba sernet packages, i'll be glad to do some beta
>>>>> testing :)
>>>>>
>>>>> Regards,
>>>>> Ozy.
>>>>>
>>>>> -----Message initial-----
>>>>>> De:[email protected] <[email protected]>
>>>>>> Envoyé: mardi 16 décembre 2014 12:39
>>>>>> À: [email protected]
>>>>>> Sujet: [SOGo] SOGo and CENTOS 7
>>>>>>
>>>>>> Hello all,
>>>>>>
>>>>>> is there any roadmap for having a package released for CENTOS 7?
>>>>>>
>>>>>> Is there anyone who has successfully deployed it already on this OS?
>>>>>>
>>>>>> Thanks
>>>>>> Stelios
>>>>>>
>>>>>>
>>>>>> --
>>>>>> [email protected]
>>>>>> https://inverse.ca/sogo/lists
>>>>>>
>>>>
>>>>
>>>> This message has been scanned for malware by SurfControl plc.
>>>> www.surfcontrol.com
>>>> --
>>>> [email protected]
>>>> https://inverse.ca/sogo/lists
>>>>
>>>
>>>
>> --
>> [email protected]
>> https://inverse.ca/sogo/lists
>>
> 
> 
> 
> 
-- 
[email protected]
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 = 
"postgresql://sogo:[email protected]:5432/sogo/sogo_user_profile";
  OCSFolderInfoURL = 
"postgresql://sogo:[email protected]:5432/sogo/sogo_folder_info";
  OCSSessionsFolderURL = 
"postgresql://sogo:[email protected]:5432/sogo/sogo_sessions_folder";
  OCSEMailAlarmsFolderURL = 
"postgresql://sogo:[email protected]:5432/sogo/sogo_alarms_folder";

  /* Mail */
  SOGoDraftsFolderName = Drafts;
  SOGoSentFolderName = Sent;
  SOGoTrashFolderName = Trash;
  SOGoIMAPServer = "imap://127.0.0.1:143/?tls=YES";
  SOGoSieveServer = "sieve://127.0.0.1:4190/?tls=YES";
  SOGoSMTPServer = 127.0.0.1;
  SOGoMailingMechanism = smtp;
  SOGoForceExternalLoginWithEmail = NO;
  SOGoMailSpoolPath = /var/spool/sogo;
  NGImap4ConnectionStringSeparator = "/";

  /* Notifications */
  SOGoAppointmentSendEMailNotifications = YES;
  SOGoEnableEMailAlarms = YES;

  /* Authentication */
  SOGoPasswordChangeEnabled = NO;
  SOGoAuthenticationType = "saml2";
  SOGoSAML2CertificateLocation = "/etc/pki/tls/certs/example_com-root.pem";
  SOGoSAML2IdpMetadataLocation = "/etc/sogo/idp-metadata.xml";
  SOGoSAML2IdpCertificateLocation = "/etc/pki/tls/certs/example_com-root.pem";
  SOGoSAML2LogoutEnabled = NO;
  SOGoSAML2PublicKeyLocation = "/etc/pki/tls/certs/example_com.crt";
  SOGoSAML2PrivateKeyLocation = "/etc/pki/tls/private/example_com.key";
  SOGoEnableDomainBasedUID = NO;
  SOGoTrustProxyAuthentication = NO;
  SOGoPasswordChangeEnabled = YES;

  /* LDAP authentication */
  domains = {
    example = {
      SOGoMailDomain = example.com;
      SOGoUserSources = (
        {
          type = ldap;
          CNFieldName = cn;
          UIDFieldName = uid;
          bindFields = (uid, mail); // array of fields to use for indirect binds
          baseDN = "ou=people,dc=example,dc=com";
          bindDN = "cn=sogo,ou=service,dc=example,dc=com";
          bindPassword = password;
          canAuthenticate = YES;
          displayName = "example.com Addresses";
          hostname = ldapi:///;
          id = example;
          isAddressBook = YES;
        }
      );
    };
    example2 = {
      SOGoMailDomain = example2.com;
      SOGoUserSources = (
        {
          type = ldap;
          CNFieldName = cn;
          UIDFieldName = uid;
          bindFields = (uid, mail); // array of fields to use for indirect binds
          bindDN = "cn=sogo,ou=service,dc=example,dc=com";
          bindPassword = password;
          baseDN = "ou=people,dc=example,dc=com";
          canAuthenticate = YES;
          displayName = "example2.com Addresses";
          filter = 
"(&(objectClass=PostfixBookMailAccount)(mailEnabled=TRUE)(memberOf=cn=example2.com,ou=groups,dc=example,dc=com))";
          hostname = ldapi:///;
          id = example2;
          isAddressBook = YES;
        }
      );
    };
  };

  /* Web Interface */
  SOGoPageTitle = SOGo;
  SOGoVacationEnabled = YES;
  SOGoForwardEnabled = YES;
  SOGoSieveScriptsEnabled = YES;
  SOGoMailAuxiliaryUserAccountsEnabled = NO;

  /* General */
  SOGoLanguage = English;
  SOGoTimeZone = Europe/London;
  //SOGoSuperUsernames = (sogo1, sogo2); // This is an array - keep the parens!
  SxVMemLimit = 384;
  WOPidFile = "/var/run/sogo/sogo.pid";
  SOGoMemcachedHost = "/var/tmp/memcached.sock";

  /* Debug */
  //SOGoDebugRequests = YES;
  //SoDebugBaseURL = YES;
  //ImapDebugEnabled = YES;
  //LDAPDebugEnabled = YES;
  //PGDebugEnabled = YES;
  //MySQL4DebugEnabled = YES;
  //SOGoUIxDebugEnabled = YES;
  //WODontZipResponse = YES;
  WOLogFile = /var/log/sogo/sogo.log;
}

Reply via email to