From 498b869870ab3816e30a72150e688ed093004f85 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Mon, 18 Sep 2017 23:04:16 +0200 Subject: [PATCH] Add basic postfix satellite installation --- 01-basic.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/01-basic.sh b/01-basic.sh index 4cf97bf..a6d0c19 100755 --- a/01-basic.sh +++ b/01-basic.sh @@ -57,6 +57,20 @@ update-initramfs -u update-grub +##### +# Postfix +##### + +# Preconfigure +export DEBIAN_FRONTEND="noninteractive" +echo postfix postfix/main_mailer_type string "Satellite system" | debconf-set-selections +echo postfix postfix/mailname string "$(hostname -f)" | debconf-set-selections +echo postfix postfix/relayhost string "" | debconf-set-selections + +# Install packages +apt-get -y --no-install-recommends install postfix + + ##### # LXC #####