From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 19 Dec 2018 22:01:52 +0000 (+0100)
Subject: Fix fetchmail installation forgetting in mail server setup script.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7B%20web_path%20%7D%7D/decks/template?a=commitdiff_plain;h=de3f0599582ed48273bdf2b72a6bac3719b36dfc;p=config

Fix fetchmail installation forgetting in mail server setup script.
---

diff --git a/all_new_2018/setup_scripts/setup_mail.sh b/all_new_2018/setup_scripts/setup_mail.sh
index f2722b9..0ee5414 100755
--- a/all_new_2018/setup_scripts/setup_mail.sh
+++ b/all_new_2018/setup_scripts/setup_mail.sh
@@ -74,6 +74,7 @@ su plom -c "cd && git clone https://plomlompom.com/repos/clone/pingmail.git"
 # POP3 account into dovecot via fetchmail. It might make sense to adapt the
 # ~/.dovecot.sieve to move mails targeted to the fetched mail account to their
 # own mbox.
+apt -y install fetchmail
 cp "${config_tree_prefix}/user_files/fetchmailrc" /home/plom/.fetchmailrc
 chown plom:plom /home/plom/.fetchmailrc
 chmod 0700 /home/plom/.fetchmailrc