Updated Configure Accounts (markdown)

Thomas VIAL 2016-04-25 06:06:15 +02:00
parent aecc22d14c
commit 63d525980f
1 changed files with 2 additions and 1 deletions

@ -10,8 +10,9 @@ To generate the password you could run for example the following:
docker run --rm \
-e MAIL_USER=user1@domain.tld \
-e MAIL_PASS=mypassword \
-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`.