remove all invisible unicode characters

This commit is contained in:
Ludovic Cartier 2024-12-12 18:49:56 +01:00
parent b9011907e8
commit 7f7f59b269
4 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
- name: postfix | copy configuration
- name: postfix | copy configuration
template:
src: main.cf.j2
dest: /etc/postfix/main.cf
@ -7,7 +7,7 @@
mode: 0644
notify: restart postfix
- name: postfix | create /etc/aliases
- name: postfix | create /etc/aliases
template:
src: aliases.j2
dest: /etc/aliases

View File

@ -1,4 +1,4 @@
# {{ ansible_managed }}
# {{ ansible_managed }}
# /etc/aliases
mailer-daemon: postmaster
postmaster: root

View File

@ -2,7 +2,7 @@
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
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
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_loglevel = {{ postfix_smtp_tls_loglevel }}
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_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem

View File

@ -1,5 +1,5 @@
{% if postfix_sender_relay is defined %}
{% for relay in postfix_sender_relay %}
{{ relay }}
{{ relay }}
{% endfor %}
{% endif %}