From e09669fb73d892ced8369f12a5afc95caea1d1e4 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Tue, 13 Nov 2018 18:56:25 +0100 Subject: [PATCH] Fix postfix networks, closes #309, #310 --- alpine.sh | 1 + basic/etc/postfix/main.cf | 1 + 2 files changed, 2 insertions(+) diff --git a/alpine.sh b/alpine.sh index 545b36d..0849511 100755 --- a/alpine.sh +++ b/alpine.sh @@ -86,6 +86,7 @@ chroot /mnt setup-timezone -z Europe/Prague apk --no-cache add apache2-utils gettext wget https://dl.dasm.cz/basic.tar -O - | tar xf - -C /mnt chroot /mnt apk --no-cache add ca-certificates curl bridge e2fsprogs-extra gettext iptables kbd-misc libressl postfix nginx util-linux acme-sh@vm lxc@vm vmmgr@vm +chroot /mnt newaliases for SERVICE in cgroups consolefont crond iptables networking nginx ntpd postfix swap urandom vmmgr; do ln -s /etc/init.d/${SERVICE} /mnt/etc/runlevels/boot done diff --git a/basic/etc/postfix/main.cf b/basic/etc/postfix/main.cf index a3b9578..d96b8a0 100644 --- a/basic/etc/postfix/main.cf +++ b/basic/etc/postfix/main.cf @@ -1,5 +1,6 @@ append_dot_mydomain = no biff = no compatibility_level = 2 +mynetworks = 127.0.0.0/8 172.17.0.0/16 [::1]/128 smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtp_use_tls = yes