From a8d29c975696b1ec617b0a809dd21a6c3da6423b Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sun, 1 Aug 2021 05:38:14 +0200 Subject: [PATCH] Enable backwards compatibility for Postfix --- rootfs/etc/cont-init.d/03-config.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rootfs/etc/cont-init.d/03-config.sh b/rootfs/etc/cont-init.d/03-config.sh index fc189a5..323a838 100644 --- a/rootfs/etc/cont-init.d/03-config.sh +++ b/rootfs/etc/cont-init.d/03-config.sh @@ -344,6 +344,7 @@ do if [ -n "$VBOX_DOMAINS" ]; then VBOX_DOMAINS="${VBOX_DOMAINS},"; fi VBOX_DOMAINS="${VBOX_DOMAINS}${domain},unsubscribe.${domain}" done +sed -i 's/compatibility_level.*/compatibility_level = 2/g' /etc/postfix/main.cf sed -i 's/inet_interfaces = localhost/inet_interfaces = all/g' /etc/postfix/main.cf sed -i 's/readme_directory.*/readme_directory = no/g' /etc/postfix/main.cf cat >> /etc/postfix/main.cf <