From d74fa95afa5635762d808b05afb741df7e1f5d4c Mon Sep 17 00:00:00 2001 From: Marek Walczak <2558195+mwlczk@users.noreply.github.com> Date: Sat, 3 Mar 2018 07:39:24 +0100 Subject: [PATCH] DKIM Key Size introduced in #868 --- docs/content/config/best-practices/dkim.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/content/config/best-practices/dkim.md b/docs/content/config/best-practices/dkim.md index 51da03f2..b55f4ba3 100644 --- a/docs/content/config/best-practices/dkim.md +++ b/docs/content/config/best-practices/dkim.md @@ -5,6 +5,12 @@ Once its done, just run from inside the directory of docker-compose.yml: -v "$(pwd)/config":/tmp/docker-mailserver \ -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. After generating DKIM keys you should restart the app.