From e01744f23ea4a0f411ddc60fb8720e03abeaf7db Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Mon, 5 Oct 2015 10:59:10 -0300 Subject: [PATCH] vagrant: setup catch-all email alias for @localhost.localdomain --- script/vagrant | 8 ++++++++ 1 file changed, 8 insertions(+), 0 deletions(-) diff --git a/script/vagrant b/script/vagrant index b19b80a..714ed0c 100755 --- a/script/vagrant +++ b/script/vagrant @@ -12,5 +12,13 @@ for ip in 10.0.2.2 192.168.122.1; do fi done +sudo apt-get install -qy postfix +sudo postconf virtual_alias_maps=hash:/etc/postfix/virtual +sudo tee /etc/postfix/virtual <