diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2018-12-07 22:33:54 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2018-12-09 20:25:39 +0100 |
commit | 53cd6d2c79d206273fbe9b924156b440894a4776 (patch) | |
tree | 4c8131965b2da427a1bdc166c511a2ce5ea0673a /roles/lists/templates/etc | |
parent | 53c62a66705402235ef7077f5fab759b59c490cb (diff) |
Upgrade 'lists' role to Debian Stretch.
Diffstat (limited to 'roles/lists/templates/etc')
-rw-r--r-- | roles/lists/templates/etc/postfix/main.cf.j2 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/roles/lists/templates/etc/postfix/main.cf.j2 b/roles/lists/templates/etc/postfix/main.cf.j2 index 792a397..1bf02eb 100644 --- a/roles/lists/templates/etc/postfix/main.cf.j2 +++ b/roles/lists/templates/etc/postfix/main.cf.j2 @@ -1,29 +1,31 @@ ######################################################################## # Sympa configuration # # {{ ansible_managed }} # Do NOT edit this file directly! -smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) -biff = no -readme_directory = no +smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) +biff = no +readme_directory = no +compatibility_level = 2 +smtputf8_enable = no delay_warning_time = 4h maximal_queue_lifetime = 5d myorigin = /etc/mailname myhostname = lists.$mydomain mydomain = fripost.org append_dot_mydomain = no mynetworks = 127.0.0.0/8, [::1]/128 {%- if groups.all | length > 1 -%} {%- for mx in groups.MX | sort -%} , {{ ipsec[ hostvars[mx].inventory_hostname_short ] | ipaddr }} {%- endfor %} {% endif %} queue_directory = /var/spool/postfix-{{ postfix_instance[inst].name }} data_directory = /var/lib/postfix-{{ postfix_instance[inst].name }} multi_instance_group = {{ postfix_instance[inst].group | default('') }} multi_instance_name = postfix-{{ postfix_instance[inst].name }} |