From: Christian Heller Date: Tue, 6 Oct 2015 14:00:48 +0000 (+0200) Subject: Fix some issues with mail system setup in server postinstall script. X-Git-Url: https://plomlompom.com/repos/?a=commitdiff_plain;ds=sidebyside;h=ba4c06b4bd1e0b5cd1c1d66b17cfae386b22ac59;hp=52810a2158f5c9af7cd4fbef11a903b27a79e7f1;p=config Fix some issues with mail system setup in server postinstall script. --- 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