X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/balance2?a=blobdiff_plain;f=jessie_start_server.sh;h=0d12b31a560348052fd1b6a3110ddb7b65d8455f;hb=8c29a6a021ad1f2f977ff7bfdb3c6e57835aecf7;hp=0f9746c721f485a5c71b1a6661703812947e7bd7;hpb=073ace129de258c1c17a1083ab471970f61526a8;p=config diff --git a/jessie_start_server.sh b/jessie_start_server.sh index 0f9746c..0d12b31 100755 --- a/jessie_start_server.sh +++ b/jessie_start_server.sh @@ -84,10 +84,14 @@ su plom -c 'mkdir -p /home/plom/.vimbackups/' # Set up openssh-server. apt-get -y install openssh-server -# Set up mail client system. -apt-get -y install getmail4 procmail mutt -su plom -c 'mkdir -p /home/plom/mail' +# Set up mail system. +DEBIAN_FRONTEND=noninteractive apt-get -y install getmail4 procmail mutt postfix maildrop +cp config/systemfiles/main.cf /etc/postfix/main.cf +cp config/systemfiles/aliases /etc/aliases +service postfix restart +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}' # Set up screen. apt-get -y install screen