Fix postfix networks, closes #309, #310

This commit is contained in:
Disassembler 2018-11-13 18:56:25 +01:00
parent 96490c6c3e
commit e09669fb73
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
2 changed files with 2 additions and 0 deletions

View File

@ -86,6 +86,7 @@ chroot /mnt setup-timezone -z Europe/Prague
apk --no-cache add apache2-utils gettext apk --no-cache add apache2-utils gettext
wget https://dl.dasm.cz/basic.tar -O - | tar xf - -C /mnt 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 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 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 ln -s /etc/init.d/${SERVICE} /mnt/etc/runlevels/boot
done done

View File

@ -1,5 +1,6 @@
append_dot_mydomain = no append_dot_mydomain = no
biff = no biff = no
compatibility_level = 2 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_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes smtp_use_tls = yes