X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=all_new_2018%2Fsetup_sendonly.sh;h=641c16b8d299501744f363f15b8d97fa5c146f90;hb=8f9ce114c43877b86921f52bce40f1d5d3c8ad92;hp=5ee509d54d9dabcd020600bfd46b20df9fad8311;hpb=25a502e9d0d66e0ca5b391436faa6becf958cc1e;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