{ /* ********************* 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://sogo:XXX@sogo-db:3306/sogo/sogo_user_profile"; OCSFolderInfoURL = "mysql://sogo:XXX@sogo-db:3306/sogo/sogo_folder_info"; OCSSessionsFolderURL = "mysql://sogo:XXX@sogo-db:3306/sogo/sogo_sessions_folder"; OCSEMailAlarmsFolderURL = "mysql://sogo:XXX@sogo-db:3306/sogo/sogo_alarms_folder"; OCSStoreURL = "mysql://sogo:XXX@sogo-db:3306/sogo/sogo_store"; OCSAclURL = "mysql://sogo:XXX@sogo-db:3306/sogo/sogo_acl"; OCSCacheFolderURL = "mysql://sogo:XXX@sogo-db:3306/sogo/sogo_cache_folder"; MySQL4Encoding = "utf8mb4"; /* Mail */ SOGoDraftsFolderName = Drafts; SOGoSentFolderName = Sent; SOGoTrashFolderName = Trash; SOGoIMAPServer = mail; //SOGoSieveServer = sieve://127.0.0.1:4190; SOGoSMTPServer = mail; SOGoMailDomain = example.com; SOGoMailingMechanism = smtp; //SOGoForceExternalLoginWithEmail = NO; SOGoMailSpoolPath = /var/spool/sogo; NGImap4ConnectionStringSeparator = "/"; /* Notifications */ SOGoAppointmentSendEMailNotifications = NO; SOGoACLsSendEMailNotifications = YES; SOGoFoldersSendEMailNotifications = YES; SOGoEnableEMailAlarms = YES; /* Authentication */ SOGoPasswordChangeEnabled = NO; /* LDAP authentication example */ SOGoUserSources = ( { type = ldap; CNFieldName = cn; UIDFieldName = uid; IDFieldName = uid; // first field of the DN for direct binds bindFields = (uid, mail); // array of fields to use for indirect binds baseDN = "ou=accounts,dc=example,dc=com"; // bindDN = "uid=sogo,ou=users,dc=acme,dc=com"; // bindPassword = qwerty; canAuthenticate = YES; displayName = "Shared Addresses"; hostname = ldap://ldap:389; id = public; isAddressBook = YES; } ); /* LDAP AD/Samba4 example */ //SOGoUserSources = ( // { // type = ldap; // CNFieldName = cn; // UIDFieldName = sAMAccountName; // baseDN = "CN=users,dc=domain,dc=tld"; // bindDN = "CN=sogo,CN=users,DC=domain,DC=tld"; // bindFields = (sAMAccountName, mail); // bindPassword = password; // canAuthenticate = YES; // displayName = "Public"; // hostname = ldap://127.0.0.1:389; // filter = "mail = '*'"; // id = directory; // isAddressBook = YES; // } //); /* SQL authentication example */ /* These database columns MUST be present in the view/table: * c_uid - will be used for authentication - it's the username or username@domain.tld) * c_name - which can be identical to c_uid - will be used to uniquely identify entries * c_password - password of the user, plain-text, md5 or sha encoded for now * c_cn - the user's common name - such as "John Doe" * mail - the user's mail address * See the installation guide for more details */ //SOGoUserSources = // ( // { // type = sql; // id = directory; // viewURL = "postgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_view"; // canAuthenticate = YES; // isAddressBook = YES; // userPasswordAlgorithm = md5; // } // ); /* Web Interface */ SOGoPageTitle = "Holmberg SOGo"; SOGoVacationEnabled = NO; SOGoForwardEnabled = NO; SOGoSieveScriptsEnabled = NO; SOGoMailAuxiliaryUserAccountsEnabled = YES; //SOGoTrustProxyAuthentication = NO; //SOGoXSRFValidationEnabled = YES; SOGoExternalAvatarsEnabled = NO; SOGoGravatarEnabled = NO; SOGoEnablePublicAccess = YES; /* General */ SOGoLanguage = German; SOGoTimeZone = Europe/Berlin; //SOGoCalendarDefaultRoles = ( // PublicDAndTViewer, // ConfidentialDAndTViewer //); SOGoSuperUsernames = (ci, koller); // This is an array - keep the parens! //SxVMemLimit = 384; //WOPidFile = "/var/run/sogo/sogo.pid"; //SOGoMemcachedHost = "/var/run/memcached.sock"; SOGoFreeBusyDefaultInterval = (30, 30); /* Debug */ //SOGoDebugRequests = YES; //SoDebugBaseURL = YES; ImapDebugEnabled = YES; LDAPDebugEnabled = YES; //PGDebugEnabled = YES; MySQL4DebugEnabled = YES; SOGoEASDebugEnabled = YES; //SOGoUIxDebugEnabled = YES; //WODontZipResponse = YES; //WOLogFile = /var/log/sogo/sogo.log; }