Compare commits
1 commit
a9811de025
...
1e19850388
Author | SHA1 | Date | |
---|---|---|---|
1e19850388 |
1 changed files with 3 additions and 4 deletions
|
@ -66,7 +66,6 @@ in {
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
settings = {
|
settings = {
|
||||||
server = {
|
server = {
|
||||||
tracer.stdout.level = "trace";
|
|
||||||
hostname = "fb04184.mathematik.tu-darmstadt.de"; # Because the DNS PTR of 130.83.2.184 is this and this should be used in SMTP EHLO.
|
hostname = "fb04184.mathematik.tu-darmstadt.de"; # Because the DNS PTR of 130.83.2.184 is this and this should be used in SMTP EHLO.
|
||||||
listener = {
|
listener = {
|
||||||
"smtp" = {
|
"smtp" = {
|
||||||
|
@ -241,7 +240,7 @@ in {
|
||||||
private-key = "%{file:/run/secrets/dkim_rsa}%";
|
private-key = "%{file:/run/secrets/dkim_rsa}%";
|
||||||
domain = "${domain}";
|
domain = "${domain}";
|
||||||
selector = "rsa-default";
|
selector = "rsa-default";
|
||||||
headers = ["From" "To" "Cc" "Date" "Subject" "Message-ID" "Organization" "MIME-Version" "Content-Type" "In-Reply-To" "References" "List-Id" "Thread-Topic" "Thread-Index"]; # default from https://stalw.art/docs/smtp/authentication/dkim/sign#signatures except "User-Agent" which somehow breaks
|
headers = ["From" "To" "Cc" "Date" "Subject" "Message-ID" "Organization" "MIME-Version" "Content-Type" "In-Reply-To" "References" "List-Id" "User-Agent" "Thread-Topic" "Thread-Index"]; # default from https://stalw.art/docs/smtp/authentication/dkim/sign#signatures
|
||||||
algorithm = "rsa-sha256";
|
algorithm = "rsa-sha256";
|
||||||
canonicalization = "relaxed/relaxed";
|
canonicalization = "relaxed/relaxed";
|
||||||
};
|
};
|
||||||
|
@ -249,13 +248,13 @@ in {
|
||||||
private-key = "%{file:/run/secrets/dkim_ed25519}%";
|
private-key = "%{file:/run/secrets/dkim_ed25519}%";
|
||||||
domain = "${domain}";
|
domain = "${domain}";
|
||||||
selector = "ed-default";
|
selector = "ed-default";
|
||||||
headers = ["From" "To" "Cc" "Date" "Subject" "Message-ID" "Organization" "MIME-Version" "Content-Type" "In-Reply-To" "References" "List-Id" "Thread-Topic" "Thread-Index"]; # default from https://stalw.art/docs/smtp/authentication/dkim/sign#signatures except "User-Agent" which somehow breaks
|
headers = ["From" "To" "Cc" "Date" "Subject" "Message-ID" "Organization" "MIME-Version" "Content-Type" "In-Reply-To" "References" "List-Id" "User-Agent" "Thread-Topic" "Thread-Index"];
|
||||||
algorithm = "ed25519-sha256";
|
algorithm = "ed25519-sha256";
|
||||||
canonicalization = "relaxed/relaxed";
|
canonicalization = "relaxed/relaxed";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
lib.attrsets.mergeAttrsList (map signatureTemplate (["lists.mathebau.de"] ++ (map ({domain, ...}: domain) cfg.domains)));
|
map signatureTemplate (["lists.mathebau.de"] ++ (map ({domain, ...}: domain) cfg.domains));
|
||||||
|
|
||||||
authentication.fallback-admin = {
|
authentication.fallback-admin = {
|
||||||
user = "admin";
|
user = "admin";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue