home · contact · privacy
In server postinstall config script, default getmail to no-mail-delete.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 11 Oct 2015 21:06:09 +0000 (23:06 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 11 Oct 2015 21:06:09 +0000 (23:06 +0200)
jessie_start_server.sh

index 6030a26438a62e977788975a5de88b704a3b3a96..245c83b4e168414509d8682c0b0c0ca4fbe4e5c8 100755 (executable)
@@ -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