From eb52dc66f927a760e8f15473c3b9ce321cc1e64e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Auguste?= Date: Mon, 11 Apr 2016 18:21:12 +0200 Subject: [PATCH] Removed IFS on virtual file parsing After issue #121, I removed the IFS on space to make the parsing of virtual more robust --- start-mailserver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-mailserver.sh b/start-mailserver.sh index 70ce9b81..eb9bb7e4 100644 --- a/start-mailserver.sh +++ b/start-mailserver.sh @@ -44,7 +44,7 @@ fi if [ -f /tmp/postfix/virtual ]; then # Copying virtual file cp /tmp/postfix/virtual /etc/postfix/virtual - while IFS=$' ' read from to + while read from to do # Setting variables for better readability domain=$(echo ${from} | cut -d @ -f2)