mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Merge pull request #2 from askz/patch-1
replaced ifusio.com by ${domain}
This commit is contained in:
commit
3a3463300e
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue