Commit 9eaaf95f authored by nimrod's avatar nimrod
Browse files

Fix confusion between DKIM_PRIVATE_KEY and DKIM_KEY_FILE.

parent 91223b6e
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ The container exposes TCP ports 25 (SMTP) and 587 (submission).
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).
`DKIM_PRIVATE_KEY` |
`DKIM_KEY_FILE` |
`DKIM_SELECTOR` |
`LDAP_URIS` |
`LDAP_BASEDN` |
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ fi

# 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
    echo Generating DKIM keys. >&2
    openssl genrsa -out /etc/exim4/dkim.key 2048