remove all invisible unicode characters
This commit is contained in:
parent
b9011907e8
commit
7f7f59b269
@ -1,4 +1,4 @@
|
|||||||
- name: postfix | copy configuration
|
- name: postfix | copy configuration
|
||||||
template:
|
template:
|
||||||
src: main.cf.j2
|
src: main.cf.j2
|
||||||
dest: /etc/postfix/main.cf
|
dest: /etc/postfix/main.cf
|
||||||
@ -7,7 +7,7 @@
|
|||||||
mode: 0644
|
mode: 0644
|
||||||
notify: restart postfix
|
notify: restart postfix
|
||||||
|
|
||||||
- name: postfix | create /etc/aliases
|
- name: postfix | create /etc/aliases
|
||||||
template:
|
template:
|
||||||
src: aliases.j2
|
src: aliases.j2
|
||||||
dest: /etc/aliases
|
dest: /etc/aliases
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
# /etc/aliases
|
# /etc/aliases
|
||||||
mailer-daemon: postmaster
|
mailer-daemon: postmaster
|
||||||
postmaster: root
|
postmaster: root
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
|
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
|
||||||
myhostname = {% if postfix_hostname is defined %}{{ postfix_hostname }}{% else %}{{ ansible_hostname }}{% endif %}
|
myhostname = {% if postfix_hostname is defined %}{{ postfix_hostname }}{% else %}{{ ansible_hostname }}{% endif %}
|
||||||
|
|
||||||
compatibility_level= {{ postfix_compatibility_level }}
|
compatibility_level= {{ postfix_compatibility_level }}
|
||||||
|
|
||||||
myorigin = /etc/mailname
|
myorigin = /etc/mailname
|
||||||
mydestination = $myhostname, localhost.$mydomain, localhost, {% if postfix_hostname is defined %}{{ postfix_hostname }}{% else %}{{ ansible_hostname }}{% endif %}
|
mydestination = $myhostname, localhost.$mydomain, localhost, {% if postfix_hostname is defined %}{{ postfix_hostname }}{% else %}{{ ansible_hostname }}{% endif %}
|
||||||
@ -39,7 +39,7 @@ smtp_tls_security_level = {{ postfix_smtp_tls_security_level }}
|
|||||||
smtp_tls_ciphers = {{ postfix_smtp_tls_ciphers }}
|
smtp_tls_ciphers = {{ postfix_smtp_tls_ciphers }}
|
||||||
smtp_tls_loglevel = {{ postfix_smtp_tls_loglevel }}
|
smtp_tls_loglevel = {{ postfix_smtp_tls_loglevel }}
|
||||||
smtp_tls_protocols = {{ postfix_smtp_tls_protocols | join(', ') }}
|
smtp_tls_protocols = {{ postfix_smtp_tls_protocols | join(', ') }}
|
||||||
smtp_tls_exclude_ciphers = {{ postfix_smtp_tls_exclude_ciphers | join(', ') }}
|
smtp_tls_exclude_ciphers = {{ postfix_smtp_tls_exclude_ciphers | join(', ') }}
|
||||||
|
|
||||||
smtpd_use_tls=yes
|
smtpd_use_tls=yes
|
||||||
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
|
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% if postfix_sender_relay is defined %}
|
{% if postfix_sender_relay is defined %}
|
||||||
{% for relay in postfix_sender_relay %}
|
{% for relay in postfix_sender_relay %}
|
||||||
{{ relay }}
|
{{ relay }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user