From: Christian Heller Date: Fri, 24 Apr 2020 20:39:29 +0000 (+0200) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bdb.prefix%7D%7D/%7Broute%7D?a=commitdiff_plain;h=4c3034fda1dae6cdb6e6053ae64dd06c44c64785;p=config Fix. --- diff --git a/buster/setup_scripts/setup_dumpsite.sh b/buster/setup_scripts/setup_dumpsite.sh index 1fb3ccc..000045b 100755 --- a/buster/setup_scripts/setup_dumpsite.sh +++ b/buster/setup_scripts/setup_dumpsite.sh @@ -1,9 +1,8 @@ #!/bin/sh set -e -set -x if [ "$#" -ne 3 ]; then - echo 'Need domain name and mail and old server.' + echo 'Need domain name (choose wisely!) and mail and old server.' false fi domain="$1" @@ -12,6 +11,7 @@ old_server="$3" # Install configs, set up firewall. echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections +# TODO: do we really want hostname as mailname? echo "postfix postfix/mailname string $(hostname -f)" | debconf-set-selections config_tree_prefix="${HOME}/config/buster" ./install_for_target.sh web dumpsite