From 76ec8d4b2bf5b891c632be18f44ce1782d21e759 Mon Sep 17 00:00:00 2001 From: Stoiko Ivanov Date: Thu, 20 Feb 2020 19:25:48 +0100 Subject: [PATCH] raise postifx main.cf compatibility_level to 2 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 --- 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.39.2