Skip to content
Snippets Groups Projects
Commit 9eaaf95f authored by nimrod's avatar nimrod
Browse files

Fix confusion between DKIM_PRIVATE_KEY and DKIM_KEY_FILE.

parent 91223b6e
No related branches found
No related tags found
No related merge requests found
Pipeline #1527 passed
...@@ -11,7 +11,7 @@ The container exposes TCP ports 25 (SMTP) and 587 (submission). ...@@ -11,7 +11,7 @@ The container exposes TCP ports 25 (SMTP) and 587 (submission).
Name | Description Name | Description
\-\-\- | \-\-\- \-\-\- | \-\-\-
`CLAMD_ADDRESS` | Address of the clamd server (see http://exim.org/exim-html-current/doc/html/spec\_html/ch-content\_scanning\_at\_acl\_time.htm). `CLAMD_ADDRESS` | Address of the clamd server (see http://exim.org/exim-html-current/doc/html/spec\_html/ch-content\_scanning\_at\_acl\_time.htm).
`DKIM_PRIVATE_KEY` | `DKIM_KEY_FILE` |
`DKIM_SELECTOR` | `DKIM_SELECTOR` |
`LDAP_URIS` | `LDAP_URIS` |
`LDAP_BASEDN` | `LDAP_BASEDN` |
......
...@@ -22,7 +22,7 @@ fi ...@@ -22,7 +22,7 @@ fi
# Generate a DKIM keys if none are specifiec. # Generate a DKIM keys if none are specifiec.
if [ "${DKIM_PRIVATE_KEY:-/etc/exim4/dkim.key}" = "/etc/exim4/dkim.key" ] if [ "${DKIM_KEY_FILE:-/etc/exim4/dkim.key}" = "/etc/exim4/dkim.key" ]
then then
echo Generating DKIM keys. >&2 echo Generating DKIM keys. >&2
openssl genrsa -out /etc/exim4/dkim.key 2048 openssl genrsa -out /etc/exim4/dkim.key 2048
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment