From e266775288bb115a23ef6b057d5903c99218d140 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 11 Oct 2015 23:06:09 +0200
Subject: [PATCH] In server postinstall config script, default getmail to
 no-mail-delete.

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

diff --git a/jessie_start_server.sh b/jessie_start_server.sh
index 6030a26..245c83b 100755
--- a/jessie_start_server.sh
+++ b/jessie_start_server.sh
@@ -92,6 +92,7 @@ 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}'
+sed -i 's/^delete = true$/delete = false/g' /home/plom/config/dotfiles_user_server/getmail/getmailrc
 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
-- 
2.30.2