[pve-devel] [PATCH] raise postifx main.cf compatibility_level to 2
Stoiko Ivanov
s.ivanov at proxmox.com
Thu Feb 20 19:25:48 CET 2020
otherwise mail received via TCP (localhost port 25) is not accepted, since
there is no default smptd_relay_restriction set, which would make the system an
open relay.
in compatibility_level 2 the default is sensibly set to:
'permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination'
reported via the pve-user list:
https://pve.proxmox.com/pipermail/pve-user/2020-February/171368.html
Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
DAB.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/DAB.pm b/DAB.pm
index 3d51c1e..ebc541f 100644
--- a/DAB.pm
+++ b/DAB.pm
@@ -42,6 +42,8 @@ mynetworks = 127.0.0.0/8
inet_interfaces = loopback-only
recipient_delimiter = +
+compatibility_level = 2
+
EOD
# produce apt compatible filenames (/var/lib/apt/lists)
--
2.20.1
More information about the pve-devel
mailing list