diff --git a/docs/content/config/best-practices/dkim.md b/docs/content/config/best-practices/dkim.md new file mode 100644 index 00000000..0592dd6c --- /dev/null +++ b/docs/content/config/best-practices/dkim.md @@ -0,0 +1,8 @@ +To enable DKIM signature, you must have created your mail accounts. +Once its done, just run: + + docker run --rm \ + -v "$(pwd)/config":/tmp/docker-mailserver \ + -ti tvial/docker-mailserver:v2 generate-dkim-config + +Now the keys are generated, you can configure your DNS server by just pasting the content of `config/opedkim/keys/domain.tld/mail.txt` in your `domain.tld.hosts` zone.