Allow manual domains for dkim generator (#1753)

* Allow manual domains for dkim generator

* Document the DKIM manual mode

* Remove unnecessary quotes

* updating default value usage and "" in [[ ]]

* Change parameter expansion

* Add test for manual dkim domains

* Remove obsolete script

* Add manual dkim mode to usage

* Move manual dkim guide into quickstart section

* Cover case that key for domain already exists

* Set default dkim key size to 4096

Co-authored-by: Frederic Werner <20406381+wernerfred@users.noreply.github.com>
Co-authored-by: Georg Lauterbach <44545919+aendeavor@users.noreply.github.com>
This commit is contained in:
William Desportes 2021-01-27 14:09:24 +01:00 committed by GitHub
parent 23984e3f07
commit 4616894fbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 93 additions and 85 deletions

View file

@ -119,6 +119,14 @@ docker-compose up -d mail
./setup.sh -Z config dkim
```
If you are using a LDAP setup the setup looks a bit different as you do not add user accounts directly. Therefore `postfix` doesn't know your domain(s) and you need to provide it when configuring `dkim`:
``` BASH
docker-compose up -d mail
./setup.sh config dkim <key-size> <domain.tld>[,<domain2.tld>]
```
### Miscellaneous
#### DNS - DKIM