{
  SOGoMailingMechanism = smtp;
  SOGoSMTPServer = 127.0.0.1;

  SOGoSentFolderName = "Sent Items";
  SOGoTrashFolderName = "Trash";
  SOGoDraftsFolderName = "Drafts";
  SOGoJunkFolderName = "SPAM";

  SOGoIMAPServer = "imap://localhost:143/?tls=NO";
  SOGoSieveServer = "sieve://localhost:4190/?tls=NO";
  SOGoIMAPAclConformsToIMAPExt = YES;

  SOGoVacationEnabled = YES;
  SOGoForwardEnabled = YES;
  SOGoSieveScriptsEnabled = YES;
  SOGoFirstDayOfWeek = 1;
  SOGoMailMessageCheck = manually;
  SOGoMailAuxiliaryUserAccountsEnabled = YES;
  SOGoAppointmentSendEMailNotifications = YES;
  SOGoMemcachedHost = 127.0.0.1;

  SOGoProfileURL = "mysql://sogousr:XEGtv6fN24@127.0.0.1:3306/sogodb/sogo_user_profile";
  OCSFolderInfoURL = "mysql://sogo_user:password@127.0.0.1:3306/sogodb/sogo_folder_info";
  OCSSessionsFolderURL = "mysql://sogo_user:password@127.0.0.1:3306/sogodb/sogo_sessions_folder";
  OCSEMailAlarmsFolderURL = "mysql://sogo_user:password@127.0.0.1:3306/sogodb/sogo_alarms_folder";
  OCSStoreURL = "mysql://sogo_user:password@127.0.0.1:3306/sogodb/sogo_store";
  OCSAclURL = "mysql://sogo_user:password@127.0.0.1:3306/sogodb/sogo_acl";
  OCSCacheFolderURL = "mysql://sogo_user:password@127.0.0.1:3306/sogodb/sogo_cache_folder";

  SOGoForceExternalLoginWithEmail = YES;
  MySQL4Encoding = "utf8mb4";


  SOGoPageTitle = "<win_domain>";
  SOGoHelpURL = "mailto://<mail>@<domain>";


  SOGoUserSources = (
    {
      type = ldap;
      CNFieldName = displayName;
      IDFieldName = cn;
      UIDFieldName = mail;
      MailFieldNames = (mail, proxyAddresses);
      IMAPLoginFieldName = mail;
      SearchFieldNames = (sn, givenName, displayName, cn, mail, ipPhone, mobile);
      mapping = {
        telephoneNumber = ("ipPhone", "telephoneNumber");
        photo = ("thumbnailPhoto", "photo");
        mozillaworkurl = ("wWWHomePage", "mozillaworkurl");
      };
      bindFields = (mail);
      hostname = ldap://<win_domain>.local:389;
      baseDN = "OU=Staff,OU=Users,OU=HO,DC=<win_domain>,DC=local";
      bindDN = "CN=LDAP,OU=Services,OU=Users,OU=HO,DC=<win_domain>,DC=local";
      bindPassword = password;
      scope = ONE;
      displayName = "Staff";
      id = staff;
      canAuthenticate = YES;
      isAddressBook = YES;
    },
    {
      type = ldap;
      CNFieldName = displayName;
      IDFieldName = cn;
      UIDFieldName = mail;
      MailFieldNames = (mail, proxyAddresses);
      IMAPLoginFieldName = mail;
      SearchFieldNames = (sn, givenName, displayName, cn, mail, ipPhone);
      mapping = {
        telephoneNumber = ("ipPhone", "telephoneNumber");
        photo = ("thumbnailPhoto", "photo");
        mozillaworkurl = ("wWWHomePage", "mozillaworkurl");
      };
      bindFields = (mail);
      hostname = ldap://<win_domain>.local:389;
      baseDN = "OU=Mail,OU=Staff,OU=Users,OU=HO,DC=<win_domain>,DC=local";
      bindDN = "CN=SrvLDAP,OU=HO,DC=<win_domain>,DC=local";
      bindPassword = password;
      scope = ONE;
      displayName = "Departments";
      id = dep;
      canAuthenticate = YES;
      isAddressBook = YES;
    },
    {
      type = ldap;
      CNFieldName = displayName;
      IDFieldName = cn;
      UIDFieldName = mail;
      MailFieldNames = (mail, proxyAddresses);
      IMAPLoginFieldName = mail;
      SearchFieldNames = (sn, givenName, displayName, cn, mail, ipPhone, mobile);
      mapping = {
        telephoneNumber = ("ipPhone", "telephoneNumber");
        photo = ("thumbnailPhoto", "photo");
        mozillaworkurl = ("wWWHomePage", "mozillaworkurl");
      };
      bindFields = (mail);
      hostname = ldap://<win_domain>.local:389;
      baseDN = "OU=Services,OU=Users,OU=HO,DC=<win_domain>,DC=local";
      bindDN = "CN=SrvLDAP,OU=HO,DC=<win_domain>,DC=local";
      bindPassword = password;
      scope = ONE;
      displayName = "Service";
      id = users;
      canAuthenticate = YES;
      isAddressBook = NO;
    },
    {
      type = ldap;
      CNFieldName = displayName;
      IDFieldName = cn;
      UIDFieldName = mail;
      MailFieldNames = (mail, proxyAddresses);
      IMAPLoginFieldName = mail;
      SearchFieldNames = (displayName, cn, mail);
      bindFields = (mail);
      hostname = ldap://<win_domain>.local:389;
      baseDN = "OU=Mail,OU=Groups,OU=Users,OU=HO,DC=<win_domain>,DC=local";
      bindDN = "CN=SrvLDAP,OU=HO,DC=<win_domain>,DC=local";
      bindPassword = password;
      scope = ONE;
      displayName = "Groups";
      id = group;
      canAuthenticate = NO;
      isAddressBook = NO;
    }
  );
}
