diff --git a/templates/ldap_table.cf.j2 b/templates/ldap_table.cf.j2 index 42e589c..18233e7 100644 --- a/templates/ldap_table.cf.j2 +++ b/templates/ldap_table.cf.j2 @@ -7,7 +7,7 @@ scope = {{ postfix_ldap_scope }} bind = {{ 'yes' if postfix_ldap_bind else 'no' }} bind_dn = {{ postfix_ldap_bind_dn }} bind_pw = {{ postfix_ldap_bind_pw }} -start_tls = {{ postfix_ldap_start_tls }} +start_tls = {{ 'yes' if postfix_ldap_start_tls else 'no' }} tls_ca_cert_file = {{ postfix_ldap_tls_ca_cert_file }} tls_ca_cert_dir = {{ postfix_ldap_tls_ca_cert_dir }} {% if item == 'user' %}