{
  /* *********************  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://sogodbuser:sogodbpass@10.0.1.12:3306/sogo_db/sogo_user_profile";
  OCSFolderInfoURL = "mysql://sogodbuser:sogodbpass@10.0.1.12:3306/sogo_db/sogo_folder_info";
  OCSSessionsFolderURL = "mysql://sogodbuser:sogodbpass@10.0.1.12:3306/sogo_db/sogo_sessions_folder";
  OCSEMailAlarmsFolderURL = "mysql://sogodbuser:sogodbpass@10.0.1.12:3306/sogo_db/sogo_alarms_folder";

  SOGoFaviconRelativeURL = https://myemaildomain.com/favicon.ico;
/*  SOGoCacheCleanupInterval = 60; */
  SOGoMailSignaturePlacement = above;
  SOGoMailReplyPlacement = above;
  SOGoMailComposeMessageType = html;
  SOGoEnableEMailAlarms = YES;
  SOGoTimeFormat = "%I:%M %p";
  SOGoPasswordChangeEnabled = YES;

  /* Mail */
  SOGoDraftsFolderName = Drafts;
  SOGoSentFolderName = Sent;
  SOGoTrashFolderName = Trash;
  SOGoSMTPServer = mail.myemaildomain.com;
  SOGoIMAPServer = imaps://mail.myemaildomain.com:993;
  SOGoMailingMechanism = smtp;
  SOGoForceExternalLoginWithEmail = NO;
  SOGoMailSpoolPath = /var/spool/sogo;
  NGImap4ConnectionStringSeparator = "/";
  SOGoMailMessageCheck = every_minute;

  SOGoAppointmentSendEMailNotifications = YES;
  SOGoACLsSendEMailNotifications = NO;
  SOGoiPhoneForceAllDayTransparency = YES;

  /* Authentication */
  SOGoEnableDomainBasedUID = YES;

  /* LDAP authentication */
  domains = {
    myemaildomain.com = {
      SOGoMailDomain = myemaildomain.com;
      SOGoSuperUsernames = (admin, lpeterson, laz, Administrator);
      SOGoUserSources = (
        {
          type = ldap;
          CNFieldName = cn;
          IDFieldName = uid;
          UIDFieldName = uid;
          baseDN = "ou=People,dc=myemaildomain,dc=com";
          bindDN = "cn=admin,dc=myemaildomain,dc=com";
          bindFields = (uid);
          bindPassword = ldapbindpw;
          canAuthenticate = YES;
          IMAPLoginFieldName = mail;
          displayName = "PMN";
          hostname = ldap://ldap-server.myemaildomain.com:389;
          id = pmn_com;
          isAddressBook = NO;
          passwordPolicy = YES;
          bindAsCurrentUser = YES;
        }
      ); 
    };
  };


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

  SOGoSieveServer = "sieve://10.0.1.14:4190/";

  /* General */
  SOGoSupportedLanguages = ("English", "SpanishArgentina", "French");
  SOGoLanguage = English;
  SOGoTimeZone = America/Los_Angeles;
  SOGoCalendarDefaultRoles = (
    PublicDAndTViewer,
    ConfidentialDAndTViewer
  );
  SOGoNotifyOnExternalModifications = YES;
  
//  /* Debug */
  SoDebugBaseURL = YES;
  ImapDebugEnabled = YES;
  LDAPDebugEnabled = YES;
  SOGoDebugRequests = YES;
  PGDebugEnabled = YES;
  MySQL4DebugEnabled = YES;
  SOGoUIxDebugEnabled = NO;
//  WODontZipResponse = YES;
//  WOLogFile = /var/log/sogo/sogo.log;
}
