From b951fe41293fa6678957fe847814eb482cd1c555 Mon Sep 17 00:00:00 2001 From: ASKz Date: Tue, 31 Mar 2015 16:36:53 +0200 Subject: [PATCH] replaced ifusio.com by ${domain} --- start-mailserver.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start-mailserver.sh b/start-mailserver.sh index 900d2b3f..edeaeeb8 100644 --- a/start-mailserver.sh +++ b/start-mailserver.sh @@ -18,7 +18,7 @@ do userdb ${login} set uid=5000 gid=5000 home=/var/mail/${domain}/${user} mail=/var/mail/${domain}/${user} echo "${pass}" | userdbpw -md5 | userdb ${login} set systempw echo "${pass}" | saslpasswd2 -p -c -u ${domain} ${login} - mkdir -p /var/mail/ifusio.com + mkdir -p /var/mail/${domain} maildirmake /var/mail/${domain}/${user} done < /tmp/docker_mail_users @@ -51,4 +51,4 @@ echo "Listing SASL users" sasldblistusers2 echo "Starting..." -tail -f /var/log/mail.log \ No newline at end of file +tail -f /var/log/mail.log