sogo_timezone added. sogo_ldap_bind_dn/sogo_ldap_bind_password are optional.

This commit is contained in:
Denis Knauf 2022-02-10 17:24:48 +01:00
parent a1c6d89f1c
commit 0b0f55262d
2 changed files with 6 additions and 5 deletions

View file

@ -5,3 +5,4 @@ sogo_submission_server: 'smtp://localhost:587/?tls=YES&tlsVerifyMode=allowInsecu
sogo_imap_server: 'imap://localhost:143/'
sogo_sieve_server: 'sieve://localhost:4190/'
sogo_ldap_server: 'ldapi://'
sogo_timezone: UTC

View file

@ -8,7 +8,7 @@
SOGoMailingMechanism = smtp;
SOGoSMTPServer = "{{sogo_submission_server}}";
SOGoSMTPAuthenticationType = PLAIN;
SOGoTimeZone = UTC;
SOGoTimeZone = {{sogo_timezone}};
SOGoSentFolderName = INBOX;
SOGoTrashFolderName = Trash;
SOGoDraftsFolderName = Drafts;
@ -37,10 +37,10 @@
IDFieldName = mail;
UIDFieldName = mail;
baseDN = "{{sogo_ldap_base_dn}}";
{% if sogo_ldap_bind_dn %}
{% if sogo_ldap_bind_dn is defined %}
bindDN = "{{sogo_ldap_bind_dn}}";
{% endif %}
{% if sogo_ldap_bind_password %}
{% if sogo_ldap_bind_password is defined %}
bindPassword = "{{sogo_ldap_bind_password}}";
{% endif %}
canAuthenticate = YES;
@ -56,10 +56,10 @@
IDFieldName = mail;
UIDFieldName = mail;
baseDN = "{{sogo_ldap_base_dn}}";
{% if sogo_ldap_bind_dn %}
{% if sogo_ldap_bind_dn is defined %}
bindDN = "{{sogo_ldap_bind_dn}}";
{% endif %}
{% if sogo_ldap_bind_password %}
{% if sogo_ldap_bind_password is defined %}
bindPassword = "{{sogo_ldap_bind_password}}";
{% endif %}
canAuthenticate = NO;