home · contact · privacy
Add etc files for web server.
[config] / all_new_2018 / setup_sendonly.sh
1 #!/bin/sh
2 # This sets up the minimum of a mail server necessary to send out mails
3 # to the world.
4 set -e
5
6 ./hardlink_etc.sh sendonly
7 echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections
8 echo "postfix postfix/mailname string $(hostname -f)" | debconf-set-selections
9 echo "$(hostname -f)" > /etc/mailname
10 apt install -y postfix