Commit e01744f23ea4a0f411ddc60fb8720e03abeaf7db

Authored by Antonio Terceiro
1 parent 7d617038

vagrant: setup catch-all email alias for @localhost.localdomain

this helps local tests, since one can use ANYTHING@localhost.localdomain
for registering users
Showing 1 changed file with 8 additions and 0 deletions   Show diff stats
script/vagrant
... ... @@ -12,5 +12,13 @@ for ip in 10.0.2.2 192.168.122.1; do
12 12 fi
13 13 done
14 14  
  15 +sudo apt-get install -qy postfix
  16 +sudo postconf virtual_alias_maps=hash:/etc/postfix/virtual
  17 +sudo tee /etc/postfix/virtual <<EOF
  18 +@localhost.localdomain vagrant
  19 +EOF
  20 +sudo postmap /etc/postfix/virtual
  21 +sudo service postfix reload
  22 +
15 23 cd /vagrant
16 24 ./script/quick-start
... ...