From 1fe431656a52e9195b8c11fcf3e79bd3af7678c4 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 7 Oct 2015 00:00:47 +0200 Subject: [PATCH] Improve mail system configuration. --- jessie_start_server.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/jessie_start_server.sh b/jessie_start_server.sh index 0d12b31..d05fc07 100755 --- a/jessie_start_server.sh +++ b/jessie_start_server.sh @@ -85,13 +85,14 @@ su plom -c 'mkdir -p /home/plom/.vimbackups/' apt-get -y install openssh-server # Set up mail system. +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}' +echo 'plomlompom.com' > /etc/mailname 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 -- 2.30.2