home · contact · privacy
More coherent aliases file.
[config] / jessie_start_server.sh
index d3af7fbfe515b4a2f398f71abebe5e2db245d5d6..a764ef5b6b8ec1cb4608b1737ba67212d3426bfb 100755 (executable)
@@ -5,7 +5,7 @@ set -e
 # Set root pw.
 passwd
 
-# Post-installation reduction. (Answer "no" to GRUB question.)
+# Post-installation reduction.
 dpkg-query -Wf '${Package} ${Priority}\n' | grep ' required' | sed 's/ required//' > list_white_unsorted 
 echo 'ifupdown' >> list_white_unsorted 
 echo 'isc-dhcp-client' >> list_white_unsorted
@@ -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
@@ -100,7 +101,7 @@ service postfix restart
 
 # Set up regular system update reminder.
 apt-get -y install cron
-su plom -c "echo '0 0 * * 0 ~/config/bin/simplemail.sh ~/config/mails/update_reminder' | crontab -"
+su plom -c "echo '0 18 * * 0 ~/config/bin/simplemail.sh ~/config/mails/update_reminder' | crontab -"
 
 # Set up screen.
 apt-get -y install screen