From 3f3fcb2a6ed773d752def30465613fa386e416a6 Mon Sep 17 00:00:00 2001 From: GAVARD Ewann Date: Fri, 7 Aug 2015 09:19:38 +0200 Subject: [PATCH] Removed useless echo in virtual file. --- start-mailserver.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start-mailserver.sh b/start-mailserver.sh index ba6ab200..dd845180 100644 --- a/start-mailserver.sh +++ b/start-mailserver.sh @@ -6,7 +6,6 @@ echo "Regenerating postfix 'vmailbox' and 'virtual' for given users" # rm /etc/postfix/vmailbox # rm /etc/postfix/vmailbox.db echo "# WARNING: this file is auto-generated. Modify accounts.cf in postfix directory on host" > /etc/postfix/vmailbox -echo "# WARNING: this file is auto-generated. Modify redirects.cf in postfix directory on host" > /etc/postfix/virtual # Creating users while IFS=$'|' read -r login pass do @@ -27,8 +26,9 @@ do done < /tmp/postfix/accounts.cf makeuserdb -#creating virtuals and redirects +#copying virtual file cp /tmp/postfix/virtual /etc/postfix/virtual + echo "Postfix configurations" postmap /etc/postfix/vmailbox postmap /etc/postfix/virtual