mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Updated Configure Accounts (markdown)
This commit is contained in:
parent
e66f6f906b
commit
e41eaed7d5
|
@ -10,8 +10,9 @@ To generate the password you could run for example the following:
|
||||||
|
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-e MAIL_USER=user1@domain.tld \
|
-e MAIL_USER=user1@domain.tld \
|
||||||
|
-e MAIL_PASS=mypassword \
|
||||||
-ti tvial/docker-mailserver:v2 \
|
-ti tvial/docker-mailserver:v2 \
|
||||||
/bin/sh -c 'echo "$MAIL_USER|$(doveadm pw -s CRAM-MD5 -u $MAIL_USER )"'
|
/bin/sh -c 'echo "$MAIL_USER|$(doveadm pw -s CRAM-MD5 -u $MAIL_USER -p $MAIL_PASS)"' >> config/postfix-accounts.cf
|
||||||
|
|
||||||
You will be asked for a password. Just copy all the output string in the file `config/postfix-accounts.cf`.
|
You will be asked for a password. Just copy all the output string in the file `config/postfix-accounts.cf`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue