This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
HOST=$(hostname) | |
# preconfigure the postfix install questions via debconf-set-selections | |
# debconf-set-selections takes four values per line, one line per question | |
# package name, question name, type of value requested(eg boolean), answer | |
function install_postfix() { | |
echo | sudo debconf-set-selections <<__EOF | |
postfix postfix/root_address string |