Thank you, SOGo users. :-)

I have the following in my sogo.conf file and I have the directory for the sogo 
in my ldap to be /usr/local/etc so that it knows where the sogo.conf file 
lives.  (Since it's not a login enabled account, I believe this to be 'ok')
Is there a parser for the sogo.conf file that I can't find?  Something that 
would say:  you've got an error at line <xxx> or "missing end '}' "


The sogo.log file says this upon startup:

May 08 13:36:05 sogod [24906]: version 2.0.5 (build root@sogo 201305042035) -- 
starting
May 08 13:36:05 sogod [24906]: vmem size check enabled: shutting down app when 
vmem > 384 MB
May 08 13:36:05 sogod [24906]: <0x0x809cc44e8[SOGoProductLoader]> SOGo products 
loaded from '/usr/local/GNUstep/Local/Library/SOGo':
May 08 13:36:05 sogod [24906]: <0x0x809cc44e8[SOGoProductLoader]>   
ContactsUI.SOGo, MainUI.SOGo, MailPartViewers.SOGo, Mailer.SOGo, 
Appointments.SOGo, SchedulerUI.SOGo, Contacts.SOGo, MailerUI.SOGo, 
PreferencesUI.SOGo, AdministrationUI.SOGo, CommonUI.SOGo
May 08 13:36:05 sogod [24906]: <0x0x8084704a8[WOWatchDog]> listening on *:20000
May 08 13:36:05 sogod [24906]: <0x0x8084704a8[WOWatchDog]> watchdog process 
pid: 24906
May 08 13:36:05 sogod [24906]: <0x0x801c3bb60[WOWatchDogChild]> watchdog 
request timeout set to 10 minutes
May 08 13:36:05 sogod [24906]: <0x0x8084704a8[WOWatchDog]> preparing 1 children
May 08 13:36:05 sogod [24906]: <0x0x8084704a8[WOWatchDog]> child spawned with 
pid 24907
2013-05-08 13:36:05.421 sogod[24907] No value specified for 'SOGoProfileURL'


Does anyone see anything in this sogo.conf file that I'm missing (Personally, I 
don't thing the file is getting read at all - how to test?)


The sogo.conf file looks like (relevant IPs removed and <generic> put in place 
as well as domain replaced by example.com):


{
  /* *********************  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.          *
   *                                                                           *
   * **************************************************************************/

   SOGoProfileURL="postgresql://sogo:thisisfun@<DB 
IP>:5432/sogo/sogo_user_profile";
   OCSFolderInfoURL="postgresql://sogo:thisisfun@<DB 
IP>:5432/sogo/sogo_folder_info";
   OCSSessionsFolderURL="postgresql://sogo:thisisfun@<DB 
IP>:5432/sogo/sogo_sessions_folder";

   SOGoDraftsFolderName = Drafts;
   SOGoSentFolderName = Sent;
   SOGoTrashFolderName = Trash;
   SOGoIMAPServer = <MAIL IP>;
   SOGoSMTPServer = <MAIL IP>;
   SOGoMailDomain = example.com;
   SOGoMailingMechanism = smtp;
   SOGoForceExternalLoginWithEmail = NO;
   SOGoMailSpoolPath = /var/spool/mail;
   SOGoAppointmentSendEMailNotifications = YES;
   //NGImap4ConnectionStringSeparator = "/";
   //SOGoACLsSendEMailNotifications = NO;
   //SOGoSieveServer = sieve://127.0.0.1:4190;
   /* Authentication */
   // SOGoPasswordChangeEnabled = YES;

   /* LDAP authentication example */
   SOGoUserSources = (
     {
     type = ldap;
     CNFieldName = cn;
     IDFieldName = uid;
     UIDFieldName = uid;
     baseDN = "ou=people,dc=example,dc=com";
     bindDN = "uid=sogo,ou=people,dc=example,dc=com";
     bindPassword = thisisfun;
     canAuthenticate = YES;
     displayName = "Shared Addresses";
     hostname = ldap://<LDAP IP>:389;
     id = public;
     isAddressBook = YES;
     }
   );

   SOGoPageTitle = SOGo;
   SOGoVacationEnabled = YES;
   SOGoForwardEnabled = YES;

  //SOGoSieveScriptsEnabled = YES;

  /* General */
  SOGoLanguage = English;
  SOGoTimeZone = America/New_York;
  SOGoCalendarDefaultRoles = (
    PublicDAndTViewer,
    ConfidentialDAndTViewer
  );

  //SOGoSuperUsernames = (sogo1, sogo2); //This is an array - keep the parens!
  
  /* Debug */
  SoDebugBaseURL = YES;
  ImapDebugEnabled = YES;
  LDAPDebugEnabled = YES;
  SOGoDebugRequests = YES;
  PGDebugEnabled = YES;
  SOGoUIxDebugEnabled = YES;
  WODontZipResponse = YES;
  WOLogFile = /var/log/sogo/sogo.log;

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

Reply via email to