]> git.proxmox.com Git - dab.git/commitdiff
raise postifx main.cf compatibility_level to 2
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 20 Feb 2020 18:25:48 +0000 (19:25 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 21 Feb 2020 08:47:10 +0000 (09:47 +0100)
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@proxmox.com>
DAB.pm

diff --git a/DAB.pm b/DAB.pm
index 3d51c1e168fa5f300494aa7e34bd1cdd4ca29da6..ebc541f6ce47d6e017b4212cd91e775d65e58a4f 100644 (file)
--- 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)