From 1f5d8167c72b085e1f15e0ddecf5e53473c595dd Mon Sep 17 00:00:00 2001 From: Silke Meyer Date: Fri, 30 Jan 2015 17:03:42 +0100 Subject: [PATCH] Added local mail delivery for vagrant (postfix). --- util/vagrant_provision.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/util/vagrant_provision.sh b/util/vagrant_provision.sh index 9988f36256..cd9f632dea 100644 --- a/util/vagrant_provision.sh +++ b/util/vagrant_provision.sh @@ -63,6 +63,13 @@ SQL="${Q1}${Q2}" $MYSQL -uroot -proot -e "$SQL" service mysql restart +#configure rudimentary mail server (local delivery only) +#add Friendica accounts for local user accounts, use email address like vagrant@friendica.dev, read the email with 'mail'. +debconf-set-selections <<< "postfix postfix/mailname string friendica.dev" +debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Local Only'" +apt-get install -y postfix +apt-get install mailutils + #make the vagrant directory the docroot sudo rm -rf /var/www/ sudo ln -fs /vagrant /var/www