Fix some vars in mailserver_postfix main.cf template
This commit is contained in:
parent
0b9a101c02
commit
ac1e28aab6
1 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ readme_directory = no
|
||||||
# fresh installs.
|
# fresh installs.
|
||||||
compatibility_level = 3.6
|
compatibility_level = 3.6
|
||||||
|
|
||||||
myhostname = mailserver-test
|
myhostname = {{ ansible_hostname }}
|
||||||
alias_maps = hash:/etc/aliases
|
alias_maps = hash:/etc/aliases
|
||||||
alias_database = hash:/etc/aliases
|
alias_database = hash:/etc/aliases
|
||||||
mydestination = $myhostname, mailserver-test, localhost.localdomain, , localhost
|
mydestination = $myhostname, mailserver-test, localhost.localdomain, , localhost
|
||||||
|
@ -32,8 +32,8 @@ smtpd_sasl_type = dovecot
|
||||||
smtpd_sasl_path = private/auth
|
smtpd_sasl_path = private/auth
|
||||||
smtpd_sasl_auth_enable = yes
|
smtpd_sasl_auth_enable = yes
|
||||||
|
|
||||||
smtpd_tls_cert_file = /etc/letsencrypt/live/{{ ansible_hostname }}.{{ virtual_domain }}/fullchain.pem
|
smtpd_tls_cert_file = /etc/letsencrypt/live/{{ letsencrypt_domain }}/fullchain.pem
|
||||||
smtpd_tls_key_file = /etc/letsencrypt/live/{{ ansible_hostname }}.{{ virtual_domain }}/privkey.pem
|
smtpd_tls_key_file = /etc/letsencrypt/live/{{ letsencrypt_domain }}/privkey.pem
|
||||||
smtpd_tls_security_level = may
|
smtpd_tls_security_level = may
|
||||||
smtpd_tls_auth_only = yes
|
smtpd_tls_auth_only = yes
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue