X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=all_new_2018%2Fsetup_sendonly.sh;h=641c16b8d299501744f363f15b8d97fa5c146f90;hb=4bd4edbb46ec15969f7de6acc5b24dd60275d0bb;hp=5ee509d54d9dabcd020600bfd46b20df9fad8311;hpb=22dae555137b9f9b40c0adc6d2bd318ed8a7cd51;p=config diff --git a/all_new_2018/setup_sendonly.sh b/all_new_2018/setup_sendonly.sh index 5ee509d..641c16b 100755 --- a/all_new_2018/setup_sendonly.sh +++ b/all_new_2018/setup_sendonly.sh @@ -1,8 +1,10 @@ #!/bin/sh +# This sets up the minimum of a mail server necessary to send out mails +# to the world. set -e ./hardlink_etc.sh sendonly echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections echo "postfix postfix/mailname string $(hostname -f)" | debconf-set-selections echo "$(hostname -f)" > /etc/mailname - +apt install -y postfix