add compatibility_level
This commit is contained in:
parent
5fd878b1f5
commit
9170970a29
2
defaults/main.yml
Normal file
2
defaults/main.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
postfix_compatibility_level: '3.6'
|
@ -1,4 +1,6 @@
|
|||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
|
compatibility_level= {{ postfix_compatibility_level }}
|
||||||
|
|
||||||
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
|
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
|
||||||
|
|
||||||
# Debian specific: Specifying a file name will cause the first
|
# Debian specific: Specifying a file name will cause the first
|
||||||
@ -44,7 +46,6 @@ home_mailbox = /
|
|||||||
mailbox_size_limit = 0
|
mailbox_size_limit = 0
|
||||||
#mailbox_command = /usr/bin/procmail -f- -a $USER
|
#mailbox_command = /usr/bin/procmail -f- -a $USER
|
||||||
|
|
||||||
compatibility_level=2
|
|
||||||
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
|
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
|
||||||
|
|
||||||
{% if postfix_sender_relay is defined %}
|
{% if postfix_sender_relay is defined %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user