#!/bin/bash # installPostfixSatellite.sh # # This shell script provides a method to automate the installation of Postfix # as a Satelllite System. Script provided for the purpose of articles written on brokenribgolfer.com # # Note: mailutils is not a required package to install, however we need it to properly verify # the Postfix install. # echo "postfix postfix/mailname string internal.brokenribgolfer.com" | sudo debconf-set-selections echo "postfix postfix/main_mailer_type select Satellite System" | sudo debconf-set-selections sudo DEBIAN_FRONTEND=noninteractive apt-get install -y postfix sudo DEBIAN_FRONTEND=noninteractive apt-get install -y mailutils