2 # This sets up the minimum of a mail server necessary to send out mails
6 config_tree_prefix="${HOME}/config/all_new_2018"
7 setup_scripts_dir="${config_tree_prefix}/setup_scripts"
8 cd "${setup_scripts_dir}"
10 ./hardlink_etc.sh sendonly
11 echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections
12 echo "postfix postfix/mailname string $(hostname -f)" | debconf-set-selections
13 echo "$(hostname -f)" > /etc/mailname
14 apt install -y postfix