ansible-role-sogo/templates/sogo.conf.j2

78 lines
2.5 KiB
Django/Jinja

{
SOGoProfileURL = "{{postgresql_uri}}/sogo_user_profile";
OCSFolderInfoURL = "{{postgresql_uri}}/sogo_folder_info";
OCSSessionsFolderURL = "{{postgresql_uri}}/sogo_sessions_folder";
OCSEMailAlarmsFolderURL = "{{postgresql_uri}}/sogo_alarms_folder";
SOGoLanguage = German;
SOGoAppointmentSendEMailNotifications = YES;
SOGoMailingMechanism = smtp;
SOGoSMTPServer = "{{sogo_submission_server}}";
SOGoSMTPAuthenticationType = PLAIN;
SOGoTimeZone = {{sogo_timezone}};
SOGoSentFolderName = INBOX;
SOGoTrashFolderName = Trash;
SOGoDraftsFolderName = Drafts;
SOGoJunkFolderName = Spam;
SOGoForceExternalLoginWithEmail = NO;
SOGoIMAPServer = "{{sogo_imap_server}}";
SOGoSieveServer = "{{sogo_sieve_server}}";
SOGoIMAPAclConformsToIMAPExt = YES;
SOGoVacationEnabled = NO;
SOGoForwardEnabled = NO;
SOGoSieveScriptsEnabled = YES;
SOGoVacationEnabled = YES;
SOGoForwardEnabled = YES;
SOGoSuperUsernames = ( {{sogo_super_usernames|join(', ')}});
SOGoFirstDayOfWeek = 0;
SOGoMailMessageCheck = manually;
SOGoMailAuxiliaryUserAccountsEnabled = NO;
SOGoMemcachedHost = 127.0.0.1;
SOGoMailDomain = "{{sogo_mail_domain}}";
SOGoXSRFValidationEnabled = YES;
SOGoPasswordChangeEnabled = YES;
SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
IDFieldName = mail;
UIDFieldName = mail;
baseDN = "{{sogo_ldap_base_dn}}";
{% if sogo_ldap_bind_dn is defined %}
bindDN = "{{sogo_ldap_bind_dn}}";
{% endif %}
{% if sogo_ldap_bind_password is defined %}
bindPassword = "{{sogo_ldap_bind_password}}";
{% endif %}
canAuthenticate = YES;
bindFields = (mail);
hostname = "{{sogo_ldap_server}}";
SearchFieldNames = (uid, cn, sn, givenname, mail);
id = auth;
isAddressBook = NO;
},
{
type = ldap;
CNFieldName = cn;
IDFieldName = mail;
UIDFieldName = mail;
baseDN = "{{sogo_ldap_base_dn}}";
{% if sogo_ldap_bind_dn is defined %}
bindDN = "{{sogo_ldap_bind_dn}}";
{% endif %}
{% if sogo_ldap_bind_password is defined %}
bindPassword = "{{sogo_ldap_bind_password}}";
{% endif %}
canAuthenticate = NO;
hostname = "{{sogo_ldap_server}}";
SearchFieldNames = (uid, cn, sn, givenname, mail);
id = public;
isAddressBook = YES;
displayName = "Global";
}
);
SOGoPageTitle = "{{sogo_page_title}}";
SOGoFaviconRelativeURL = "{{sogo_favicon_uri}}";
SOGoExternalAvatarsEnabled = YES;
SOGoGravatarEnabled = NO;
}