Provide complete refactoring of openDKIM script (#1812)

* provide complete refactoring of openDKIM usage and tests

* fix leftover linting errors

* correct defualt key size and README usage

* provide independent order for arguments

* added `config` and adjusted usage information

* fixing shift in setup.sh

* adjust usage information to use new style and rename script

* use updated argument keysize instead of size
This commit is contained in:
Georg Lauterbach 2021-02-18 10:29:34 +01:00 committed by GitHub
parent 432f96b3a6
commit 1005bb3b09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 636 additions and 468 deletions

View file

@ -115,14 +115,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`:
If you are using a LDAP setup the setup looks a bit different as you do not add user accounts directly. 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>]
./setup.sh config dkim domain '<domain.tld>[,<domain2.tld>]'
```
If you want to see detailed usage information, run `./setup.sh config dkim help`.
### Miscellaneous
#### DNS - DKIM