1
0
mirror of https://github.com/tomav/docker-mailserver.git synced 2024-06-26 00:59:32 +02:00

Updated Configure Accounts (markdown)

This commit is contained in:
Thomas VIAL 2016-05-11 10:28:51 +02:00
parent 6278567fb3
commit 7c3902f86f

View File

@ -11,7 +11,7 @@ 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 \
-ti tvial/docker-mailserver:latest \
/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`.