You've already forked docker-mailserver
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:
@ -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.
|
||||
|
Reference in New Issue
Block a user