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/%7B%7B%20web_path%20%7D%7D/static/pick_tasks?a=commitdiff_plain;h=ba4c06b4bd1e0b5cd1c1d66b17cfae386b22ac59;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