From: Christian Heller Date: Sun, 11 Oct 2015 21:06:09 +0000 (+0200) Subject: In server postinstall config script, default getmail to no-mail-delete. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/static/pick_tasks?a=commitdiff_plain;h=e266775288bb115a23ef6b057d5903c99218d140;p=config In server postinstall config script, default getmail to no-mail-delete. --- 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