From: Christian Heller Date: Tue, 6 Oct 2015 22:00:47 +0000 (+0200) Subject: Improve mail system configuration. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/day?a=commitdiff_plain;h=1fe431656a52e9195b8c11fcf3e79bd3af7678c4;p=config Improve mail system configuration. --- 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