simplificando config

This commit is contained in:
Mauro Torrez
2019-08-25 19:15:29 -03:00
parent 16c2f29f06
commit 8cd5818318
5 changed files with 242 additions and 155 deletions

View File

@@ -1,10 +1,6 @@
---
# Postfix config directory (changing this is probably a bad idea)
postfix_config_dir: "/etc/postfix"
# Where to save access lists
postfix_rules_dir: "{{ postfix_config_dir }}/rules"
# directorio con reglas
postfix_rules_dir: /etc/postfix/rules
# accepted email domains
postfix_mail_domains: "{{ mail_domains | default(['example.com']) }}"
@@ -13,7 +9,7 @@ postfix_mail_domains: "{{ mail_domains | default(['example.com']) }}"
postfix_server_domain: "{{ postfix_mail_domains | first }}"
# postfix server identification
postfix_server_name: "mail.{{ postfix_server_domain }}"
postfix_server_name: mail.{{ postfix_server_domain }}
# domains considered as "local" unix domains (local server users)
# ansible_fqdn, localhost.localdomain, and localhost are always added regardless of this value
@@ -29,14 +25,14 @@ postfix_domain_config: {}
# LDAP ------------------------------------------------------------------------
# Default LDAP connection parameters
postfix_ldap_server: "localhost"
postfix_ldap_port: 389
postfix_ldap_version: 3
postfix_ldap_scope: "sub"
postfix_ldap_bind: no
postfix_ldap_bind_dn: ''
postfix_ldap_bind_pw: ''
postfix_ldap_start_tls: no
postfix_ldap_server: "{{ ldap_server | default('localhost') }}"
postfix_ldap_port: "{{ ldap_port | default(389) }}"
postfix_ldap_version: "{{ ldap_version | default(3) }}"
postfix_ldap_scope: "{{ ldap_search_scope | default('sub') }}"
postfix_ldap_bind: "{{ ldap_bind | default(False) }}"
postfix_ldap_bind_dn: "{{ ldap_bind_dn | default('') }}"
postfix_ldap_bind_pw: "{{ ldap_bind_password | default('') }}"
postfix_ldap_start_tls: "{{ ldap_starttls | default(False) }}"
postfix_ldap_tls_ca_cert_dir: ''
postfix_ldap_tls_ca_cert_file: ''
postfix_ldap_use_group_alias: yes