From 50c40c4ba6095e64feaecd150e52cf67d996a696 Mon Sep 17 00:00:00 2001 From: omarc1492 <10967529+omarc1492@users.noreply.github.com> Date: Fri, 30 Oct 2020 10:51:27 -0500 Subject: [PATCH] Update README.md Add example of using script when SELinux is enabled. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 68f8be01..f2bc23f7 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,15 @@ docker-compose up -d mail ./setup.sh config dkim ``` +**Note:** If you have SELinux enabled, use the shell script option -z or -Z. See the [wiki](https://github.com/tomav/docker-mailserver/wiki/Setup-docker-mailserver-using-the-script-setup.sh) for more information.\ +Immedietly below you will find an example using option `-Z`. + +``` BASH +docker-compose up -d mail +./setup.sh -Z email add [] +./setup.sh -Z config dkim +``` + Now that 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. ### Miscellaneous