X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;ds=sidebyside;f=all_new_2018%2Fsetup_scripts%2Fsetup_mail.sh;h=208070524e40916861f13610284c320678216f52;hb=710b6e4e7337b99a79910d35ef8216d214355719;hp=f2722b9d944ebb7d7810f7c77becaf91220d8855;hpb=fd48e5841f77838c3ceeba1192298b31e2f04d2a;p=config diff --git a/all_new_2018/setup_scripts/setup_mail.sh b/all_new_2018/setup_scripts/setup_mail.sh index f2722b9..2080705 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 @@ -88,5 +89,6 @@ echo "TODO: Ensure a proper SPF entry for this system in your DNS configuration; echo "TODO: passwd plom for IMAPS login" echo "TODO: adapt /home/plom/.fetchmailrc and then do: systemctl start fetchmail.timer" echo "TODO: adapt /home/plom/.dovecot.sieve and /home/plom/.pingmailrc (sieve mail by pingmail target person into mbox defined in .pingmailrc), then run: systemctl start pingmail.timer" +echo "TODO: Add the follow DMARK entry as TXT to your DNS configugration: 'v=DMARC1; p=none; rua=mailto:plom+dmarc@plomlompom.com;' mapped to _dmarc" echo "TODO: Add the following DKIM entry to your DNS configuration (possibly with slightly changed host entry – if your mail domain includes a subdomain, append that with a dot):" cat "${dkim_selector}.txt"