Merge pull request #2 from askz/patch-1

replaced ifusio.com by ${domain}
This commit is contained in:
Thomas VIAL 2015-03-31 16:43:39 +02:00
commit 3a3463300e

View file

@ -18,7 +18,7 @@ do
userdb ${login} set uid=5000 gid=5000 home=/var/mail/${domain}/${user} mail=/var/mail/${domain}/${user} 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}" | userdbpw -md5 | userdb ${login} set systempw
echo "${pass}" | saslpasswd2 -p -c -u ${domain} ${login} echo "${pass}" | saslpasswd2 -p -c -u ${domain} ${login}
mkdir -p /var/mail/ifusio.com mkdir -p /var/mail/${domain}
maildirmake /var/mail/${domain}/${user} maildirmake /var/mail/${domain}/${user}
done < /tmp/docker_mail_users done < /tmp/docker_mail_users