home · contact · privacy
Read new aliases into postfix DB.
[config] / jessie_start_server.sh
index 0d12b31a560348052fd1b6a3110ddb7b65d8455f..ee3e45267d516e20c77012b16819944711681a06 100755 (executable)
@@ -85,13 +85,15 @@ 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
+newaliases
 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