Set DKIM policy to relaxed/relaxed

And make this policy configurable.
This commit is contained in:
Ero Sennin 2021-10-14 18:45:21 +00:00 committed by lewo
parent acaba31d8f
commit 0d9a880c0e
3 changed files with 45 additions and 1 deletions

View file

@ -600,6 +600,26 @@ in
'';
};
dkimHeaderCanonicalization = mkOption {
type = types.enum ["relaxed" "simple"];
default = "relaxed";
description = ''
DKIM canonicalization algorithm for message headers.
See https://datatracker.ietf.org/doc/html/rfc6376/#section-3.4 for details.
'';
};
dkimBodyCanonicalization = mkOption {
type = types.enum ["relaxed" "simple"];
default = "relaxed";
description = ''
DKIM canonicalization algorithm for message bodies.
See https://datatracker.ietf.org/doc/html/rfc6376/#section-3.4 for details.
'';
};
debug = mkOption {
type = types.bool;
default = false;