From 15a3ebac69dfefb2ac5b812d06ea4f5843e2ac21 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 7 Oct 2015 04:20:43 +0200
Subject: [PATCH] In mail system config, remove mailname setting, reinstate
 newaliases.

---
 jessie_start_server.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jessie_start_server.sh b/jessie_start_server.sh
index 162a551..4a2e4af 100755
--- a/jessie_start_server.sh
+++ b/jessie_start_server.sh
@@ -89,10 +89,10 @@ apt-get -y install openssh-server
 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
 
 # Set up screen.
-- 
2.30.2