postfix gets installed; configure it first

This commit is contained in:
Jim Paris 2013-08-18 17:54:56 -04:00
parent 5173a01055
commit c8f7bedd1c

View File

@ -34,6 +34,13 @@ apt-get -y install \
wbritish \
thunderbird-locale-en-us
# Set up & install postfix for local mail delivery
debconf-set-selections <<"EOF"
postfix postfix/mailname string localdomain
postfix postfix/main_mailer_type select Local only
EOF
apt-get -y install postfix
# install nilmdb things
apt-get -y install \
python2.7 \
@ -84,13 +91,6 @@ apt-get -y install \
echo America/New_York > /etc/timezone
dpkg-reconfigure -f noninteractive tzdata
# Set up & install postfix for local mail delivery
debconf-set-selections <<"EOF"
postfix postfix/mailname string "localdomain"
postfix postfix/main_mailer_type select "Local only"
EOF
apt-get -y install postfix
# Create nilmdb user to run the database
adduser --system --group --shell /bin/bash --disabled-password nilmdb