mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
DKIM Key Size introduced in #868
This commit is contained in:
parent
b644ced730
commit
d74fa95afa
|
@ -5,6 +5,12 @@ Once its done, just run from inside the directory of docker-compose.yml:
|
||||||
-v "$(pwd)/config":/tmp/docker-mailserver \
|
-v "$(pwd)/config":/tmp/docker-mailserver \
|
||||||
-ti tvial/docker-mailserver:latest generate-dkim-config
|
-ti tvial/docker-mailserver:latest generate-dkim-config
|
||||||
|
|
||||||
|
The default keysize is 2048 for now. If you need to change it (e.g. your DNS-Provider limits the size) provide the size as the first parameter of the command
|
||||||
|
|
||||||
|
docker run --rm \
|
||||||
|
-v "$(pwd)/config":/tmp/docker-mailserver \
|
||||||
|
-ti tvial/docker-mailserver:latest generate-dkim-config 2048
|
||||||
|
|
||||||
Now the keys are generated, you can configure your DNS server by just pasting the content of `config/opendkim/keys/domain.tld/mail.txt` in your `domain.tld.hosts` zone.
|
Now the keys are generated, you can configure your DNS server by just pasting the content of `config/opendkim/keys/domain.tld/mail.txt` in your `domain.tld.hosts` zone.
|
||||||
|
|
||||||
After generating DKIM keys you should restart the app.
|
After generating DKIM keys you should restart the app.
|
||||||
|
|
Loading…
Reference in a new issue