Auto-configuring postfix using dpkg-set-selections

view story

http://serverfault.com – On Ubuntu 12.04, I'm trying to use dpkg-set-selections to automagically configure postfix on deployed machines with the following: debconf-set-selections <<EOF postfix postfix/main_mailer_type select Satellite system postfix postfix/root_address string [email protected] postfix postfix/mailname string mydomain.org postfix postfix/relayhost string gw.mydomain.internal postfix postfix/destinations string $(hostname -f), localhost EOF DEBIAN_FRONTEND=noninteractive apt-get install postfix mailutils Unfortunately, the configurator insists on adding mydomain.org to the postfix/destinatio (HowTos)