X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/form?a=blobdiff_plain;f=all_new_2018%2Fsetup_sendonly.sh;h=641c16b8d299501744f363f15b8d97fa5c146f90;hb=9f911349477be35286ddafd553a500806325dca6;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