From ba4c06b4bd1e0b5cd1c1d66b17cfae386b22ac59 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Tue, 6 Oct 2015 16:00:48 +0200 Subject: [PATCH] Fix some issues with mail system setup in server postinstall script. --- jessie_start_server.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jessie_start_server.sh b/jessie_start_server.sh index dcdfbf4..1b143bf 100755 --- a/jessie_start_server.sh +++ b/jessie_start_server.sh @@ -85,11 +85,11 @@ su plom -c 'mkdir -p /home/plom/.vimbackups/' apt-get -y install openssh-server # Set up mail system. -apt-get -y install getmail4 procmail mutt postfix maildrop +DEBIAN_FRONTEND=noninteractive apt-get -y install getmail4 procmail mutt postfix maildrop +cp config/systemfiles/main.cf /etc/postfix/main.cf su plom -c 'mkdir -p /home/plom/mail/' su plom -c 'mkdir -p /home/plom/mail/inbox/{cur,new,tmp}' su plom -c 'mkdir -p /home/plom/mail/new_inbox/{cur,new,tmp}' -cp config/systemfiles/mail.cf /etc/postfix/main.cf # Set up screen. apt-get -y install screen -- 2.30.2