Browse Source

sogo_timezone added. sogo_ldap_bind_dn/sogo_ldap_bind_password are optional.

master
Denis Knauf 5 months ago
parent
commit
0b0f55262d
  1. 1
      defaults/main.yml
  2. 10
      templates/sogo.conf.j2

1
defaults/main.yml

@ -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

10
templates/sogo.conf.j2

@ -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;

Loading…
Cancel
Save