diff options
author | Malfurious <m@lfurio.us> | 2024-07-05 06:04:49 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2024-07-09 15:50:39 -0400 |
commit | 335b9f49532ce012b6da7dc404aff1dee55bfa21 (patch) | |
tree | 63fe61948d72721a60869c9850da799fa1c07f0c /opendkim | |
parent | 067a9c14c41022f5a93846a5b4c8dba4d5030ec1 (diff) | |
download | mailnode-335b9f49532ce012b6da7dc404aff1dee55bfa21.tar.gz mailnode-335b9f49532ce012b6da7dc404aff1dee55bfa21.zip |
opendkim: Configure signing parameters
We use a hard-coded key selector of "default" and store keyfiles in the
dkim volume. `Domain` indicates the mail sources for which mail should
be signed rather than verified.
Because we are using ENV_VIRTUAL_DOMAINS in this context, we now require
the variable to be comma separated (no whitespace), as that is what this
file requires. All previous usages of ENV_VIRTUAL_DOMAINS are
compatible with comma separation.
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'opendkim')
-rw-r--r-- | opendkim/opendkim.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/opendkim/opendkim.conf b/opendkim/opendkim.conf index 50fc09a..39072d2 100644 --- a/opendkim/opendkim.conf +++ b/opendkim/opendkim.conf @@ -19,9 +19,9 @@ OversignHeaders From # for domain "example.com" with selector "2020" (2020._domainkey.example.com), # using the private key stored in /etc/dkimkeys/example.private. More granular # setup options can be found in /usr/share/doc/opendkim/README.opendkim. -#Domain example.com -#Selector 2020 -#KeyFile /etc/dkimkeys/example.private +Domain ENV_VIRTUAL_DOMAINS +Selector default +KeyFile /opendkim/default.private # In Debian, opendkim runs as user "opendkim". A umask of 007 is required when # using a local socket with MTAs that access the socket as a non-privileged |