Updated Configure Accounts (markdown)

This commit is contained in:
Thomas VIAL 2016-04-25 06:06:15 +02:00
parent e66f6f906b
commit e41eaed7d5

View file

@ -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`.