Skip to content

Instantly share code, notes, and snippets.

@nealey
Created July 28, 2016 03:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nealey/17d7245771ae4227bcf632343dd26682 to your computer and use it in GitHub Desktop.
Save nealey/17d7245771ae4227bcf632343dd26682 to your computer and use it in GitHub Desktop.
#!/bin/sh
sudo apt-get update
sudo debconf-set-selections <<EOF
postfix postfix/root_address string pi
postfix postfix/main_mailer_type select Internet Site
postfix postfix/mailname string raspberry.pi
postfix postfix/mynetworks string
postfix postfix/recipient_delim string
postfix postfix/protocols select all
postfix postfix/destinations string
EOF
sudo apt-get install -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" postfix mutt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment