1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-08 23:06:49 +02:00

Fixed i#152 Fail2ban config and tests

This commit is contained in:
Thomas VIAL
2016-04-22 17:51:14 +02:00
parent 2c4d7a425a
commit 0322d890cd
4 changed files with 13 additions and 7 deletions

View File

@ -79,14 +79,14 @@ Just add the full email address and its encrypted password separated by a pipe.
Example:
user1@domain.tld|{SCHEME}mypassword-encrypted
user2@otherdomain.tld|{SCHEME}myotherpassword-encrypted
user1@domain.tld|{CRAM-MD5}mypassword-cram-md5-encrypted
user2@otherdomain.tld|{CRAM-MD5}myotherpassword-cram-md5-encrypted
To generate the password you could run for example the following:
docker run --rm -ti tvial/docker-mailserver:v2 doveadm pw -s CRAM-MD5 -u user1@domain.tld
You will be asked for a password (and for a confirmation of the 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`.
The `doveadm pw` command let you choose between several encryption schemes for the password.
Use doveadm pw -l to get a list of the currently supported encryption schemes.