Compare commits

...
Author SHA1 Message Date
Ruben Hensen c0cf02ce86 mail: reachable MTA-STS policy, and sign bounces and reports
The certificate did not cover mta-sts.rubenhensen.nl, so senders could
not fetch the MTA-STS policy. Add the name, and a port 80 host for its
ACME challenge.

Stalwart signs bounces and DMARC/TLS reports with the DKIM signers named
rsa-<domain> and ed25519-<domain>. Ours were called rsa and ed25519, so
those messages went out unsigned. Rename them.

A new name on the certificate means a new key, so the TLSA record comes
out here and goes back with the new hash after the deploy.
2026-11-18 11:00:07 +01:00
Ruben Hensen 634cd883e5 Merge pull request #81 from rubenhensen/dane-tlsa
dns: publish a TLSA record for the mail certificate key
2026-11-18 10:47:19 +01:00
Ruben Hensen 5bf7892cca dns: publish a TLSA record for the mail certificate key
One 3 1 1 record with the SHA-256 of the public key that Stalwart serves
since today's deploy. Renewals keep that key, so the record stays valid.
2026-11-18 10:46:55 +01:00
Ruben Hensen ebf94f62e0 Merge pull request #80 from rubenhensen/dane-reuse-key
node001: keep the mail certificate key on renewal
2026-11-18 10:43:05 +01:00
Ruben Hensen 9e7b2099f1 node001: keep the mail certificate key on renewal
Each renewal made a new key, so a TLSA record that pins the key went
stale every 60 days. With --reuse-key the key stays, and one 3 1 1
record can describe it.

Deploying this orders a new certificate once, with a new key, because
NixOS hashes the lego flags. The TLSA record goes in after that.
2026-11-18 10:42:04 +01:00
Ruben Hensen be173c571f Merge pull request #79 from rubenhensen/remove-stale-tlsa
dns: remove the stale TLSA records for mail
2026-11-18 10:38:15 +01:00
Ruben Hensen 2489f8a033 dns: remove the stale TLSA records for mail
The certificate for mail.rubenhensen.nl was renewed with a new key and a
new Let's Encrypt intermediate, so none of the published TLSA records
match it any more. Senders that enforce DANE, such as Proton, drop the
connection after the TLS handshake and never deliver.
2026-11-18 10:32:53 +01:00
Ruben Hensen b29616990c Merge pull request #69 from rubenhensen/renovate/towfiqi-serpbear-3.x
chore(deps): update towfiqi/serpbear docker tag to v3.1.2
2026-11-04 09:47:34 +01:00
renovate[bot] 9f946d5e68 chore(deps): update towfiqi/serpbear docker tag to v3.1.2 2026-11-04 08:46:23 +00:00
Ruben Hensen f08737c221 Merge pull request #65 from rubenhensen/renovate/wordpress-0.16.x
chore(deps): update helm chart wordpress to v0.16.8
2026-11-04 09:45:45 +01:00
Ruben Hensen 65858d3f0b Merge pull request #64 from rubenhensen/renovate/velero-12.2.x
chore(deps): update helm chart velero to v12.2.3
2026-11-04 09:45:39 +01:00
Ruben Hensen b6be49b701 Merge pull request #67 from rubenhensen/renovate/gitea-gitea-28.x
chore(deps): update gitea/gitea docker tag to v28.3.0
2026-11-04 09:45:34 +01:00
Ruben Hensen d6779a399f Merge pull request #66 from rubenhensen/renovate/binwiederhier-ntfy-2.x
chore(deps): update binwiederhier/ntfy docker tag to v2.37.2
2026-11-04 09:45:30 +01:00
renovate[bot] e042fdd8de chore(deps): update binwiederhier/ntfy docker tag to v2.37.2 2026-11-04 06:28:38 +00:00
renovate[bot] e8145e12d7 chore(deps): update helm chart velero to v12.2.3 2026-11-03 21:12:41 +00:00
Ruben Hensen 3d1b7dd230 Merge pull request #70 from rubenhensen/home-ip-62.41.86.53
Home IP is now 62.41.86.53
2026-11-03 22:11:32 +01:00
Ruben Hensen aaae182844 Home IP is now 62.41.86.53
After the ISP cut the connection, it came back on a new address. node001
still tunneled everything to 62.41.86.27, so every host behind it timed
out. Moves the tunnel, the ldap, s2 and ntfy2 records and the Gatus DNS
plan to the new address.
2026-11-03 22:09:55 +01:00
renovate[bot] e0e64e1097 chore(deps): update python docker tag to v3.15.2 (#68)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-02 19:52:53 +00:00
renovate[bot] b4e992d092 chore(deps): update gitea/gitea docker tag to v28.3.0 2026-11-01 13:56:06 +00:00
renovate[bot] 6ee7fd6f5e chore(deps): update helm chart wordpress to v0.16.8 2026-10-30 14:53:52 +00:00
Ruben Hensen 7db73a100e Merge pull request #63 from rubenhensen/renovate/twinproduction-gatus-5.x
chore(deps): update twinproduction/gatus docker tag to v5.38.0
2026-10-29 10:55:26 +01:00
Ruben Hensen 40cd825602 Merge pull request #62 from rubenhensen/roadmap-2026-10-28
docs: the roadmap as of 2026-10-28
2026-10-29 10:55:23 +01:00
renovate[bot] bbb56e0e25 chore(deps): update twinproduction/gatus docker tag to v5.38.0 2026-10-28 22:57:23 +00:00
10 changed files with 36 additions and 48 deletions

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ spec:
project: default
source:
repoURL: https://groundhog2k.github.io/helm-charts/
targetRevision: 0.16.7
targetRevision: 0.16.8
chart: wordpress
helm:
values: |
+3 -35
View File
@@ -18,7 +18,7 @@ records:
- name: "ldap"
expire: 300
type: A
content: "62.41.86.27"
content: "62.41.86.53"
- name: "argocd"
expire: 300
type: A
@@ -60,7 +60,7 @@ records:
- name: "s2"
expire: 300
type: A
content: "62.41.86.27"
content: "62.41.86.53"
# ntfy for Gatus alerts, one next to each Gatus. Same reasoning as s2.
- name: "ntfy1"
expire: 300
@@ -69,7 +69,7 @@ records:
- name: "ntfy2"
expire: 300
type: A
content: "62.41.86.27"
content: "62.41.86.53"
- name: "@"
expire: 300
type: MX
@@ -146,35 +146,3 @@ records:
expire: 300
type: TXT
content: "v=TLSRPTv1; rua=mailto:postmaster@rubenhensen.nl"
- name: "_25._tcp.mail"
expire: 300
type: TLSA
content: "3 0 1 7926a9616cea1a7fb851fbdab631b2b2f6f71d3a775178d3288e539b9f53b18d"
- name: "_25._tcp.mail"
expire: 300
type: TLSA
content: "3 0 2 2218e33f102e805841f2f6a368e6416d884a8658cd9f45ef9b28c233dc6803320cff976e8ffdb1c0603a7abe60ccf78de422c31753b6cece8bc7ec1b80de5b66"
- name: "_25._tcp.mail"
expire: 300
type: TLSA
content: "3 1 1 e473431a9f296a8d93dfbed7c6c9485d6dadf7b460879edc0fe905183fe78a41"
- name: "_25._tcp.mail"
expire: 300
type: TLSA
content: "3 1 2 4c6cdab2a9cad307ba5b77ef34bde0cc2846b3d27aef6ce9625c56ef11b5c9cd1ede662c3afa759a3190e6317df494564ac83e4bfe3e6467f3c1bf307d781d4a"
- name: "_25._tcp.mail"
expire: 300
type: TLSA
content: "2 0 1 aeb1fd7410e83bc96f5da3c6a7c2c1bb836d1fa5cb86e708515890e428a8770b"
- name: "_25._tcp.mail"
expire: 300
type: TLSA
content: "2 0 2 e18f3d6ccbc578f025c3c7c29ed7bffe1b8eef5b1f839c17298dcf218303d2a63e305f6c1f489691774a18bad836035e5af2de1fc42a3a26cfe9e530f92e3855"
- name: "_25._tcp.mail"
expire: 300
type: TLSA
content: "2 1 1 cbbc559b44d524d6a132bdac672744da3407f12aae5d5f722c5f6c7913871c75"
- name: "_25._tcp.mail"
expire: 300
type: TLSA
content: "2 1 2 7d779dd26d37ca5a72fd05f1b815a06078c8e09777697c651fbe012c8d2894e048fcfe24160ee1562602240b6bef44e00f2b7340c84546d6110842bbdeb484a7"
+2 -2
View File
@@ -62,7 +62,7 @@ node, both PowerDNS Authoritative. PowerDNS LUA records health-check
addresses and only return the healthy ones:
```
@ 30 IN LUA A "ifurlup('https://status.rubenhensen.nl/health', {{'46.224.26.65'}, {'62.41.86.27'}})"
@ 30 IN LUA A "ifurlup('https://status.rubenhensen.nl/health', {{'46.224.26.65'}, {'62.41.86.53'}})"
```
The double braces make two groups. PowerDNS returns the first group that has
@@ -85,7 +85,7 @@ Steps:
1. Parent zone (`dns/domains/rubenhensen.nl.yaml`, synced to TransIP): add
`status NS ns-hetzner.rubenhensen.nl.` and `status NS ns-home.rubenhensen.nl.`,
plus A records for `ns-hetzner` (46.224.26.65) and `ns-home` (62.41.86.27).
plus A records for `ns-hetzner` (46.224.26.65) and `ns-home` (62.41.86.53).
First check that TransIP accepts NS records for a subdomain.
2. Hetzner: run PowerDNS from node001.nix with `enable-lua-records=yes` and
the bind backend. Use the same zone file as home. Open 53/udp and 53/tcp.
+1 -1
View File
@@ -256,7 +256,7 @@ spec:
type: RuntimeDefault
containers:
- name: check
image: python:3.15.1-alpine3.24
image: python:3.15.2-alpine3.24
command: ["python", "/script/check.py"]
env:
- name: PYTHONDONTWRITEBYTECODE
+1 -1
View File
@@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: gatus
image: twinproduction/gatus:v5.37.0
image: twinproduction/gatus:v5.38.0
env:
- name: GATUS_CONFIG_PATH
value: /config/config.yaml
+1 -1
View File
@@ -20,7 +20,7 @@ spec:
fsGroup: 1000
containers:
- name: gitea
image: gitea/gitea:28.2.0
image: gitea/gitea:28.3.0
env:
- name: USER_UID
value: "1000"
+24 -4
View File
@@ -2,7 +2,7 @@
let
# Public IP of the home network where the k8s cluster ingress lives.
# Keep in sync with dns/domains/rubenhensen.nl.yaml.
homeIP = "62.41.86.27";
homeIP = "62.41.86.53";
# Hosts tunneled to the home k8s cluster. Each entry gets:
# * an SNI map entry for TCP passthrough on :443
@@ -152,8 +152,16 @@ in
extraDomainNames = [
"autoconfig.rubenhensen.nl"
"autodiscover.rubenhensen.nl"
"mta-sts.rubenhensen.nl"
"rubenhensen.nl"
];
# Keep the same key on renewal. The TLSA record in
# dns/domains/rubenhensen.nl.yaml pins this key, and senders that
# enforce DANE stop delivering when the two differ. Changing the
# names or the lego flags of this cert makes NixOS order a new one
# with a fresh key, so take the record out first and put the new
# hash back afterwards.
extraLegoRenewFlags = [ "--reuse-key" ];
};
};
@@ -235,6 +243,16 @@ ${sniMapEntries}
locations."/.well-known/acme-challenge/".root = "/var/lib/acme/acme-challenge";
locations."/".return = "301 https://$host$request_uri";
};
# Senders fetch the MTA-STS policy from here over HTTPS. Stalwart
# serves it, so the certificate has to carry this name too.
"mta-sts.rubenhensen.nl" = {
listen = [
{ addr = "0.0.0.0"; port = 80; }
{ addr = "[::]"; port = 80; }
];
locations."/.well-known/acme-challenge/".root = "/var/lib/acme/acme-challenge";
locations."/".return = "301 https://$host$request_uri";
};
"rubenhensen.nl" = {
listen = [
{ addr = "0.0.0.0"; port = 80; }
@@ -439,7 +457,9 @@ ${sniMapEntries}
client-secret = "%{file:/run/credentials/stalwart-mail.service/oidc-client-secret}%";
};
signature."rsa" = {
# Stalwart signs bounces and DMARC/TLS reports with the signers
# named rsa-<domain> and ed25519-<domain>, so keep these names.
signature."rsa-rubenhensen.nl" = {
private-key = "%{file:/run/credentials/stalwart-mail.service/dkim-rsa.key}%";
domain = "rubenhensen.nl";
selector = "202603r2";
@@ -451,7 +471,7 @@ ${sniMapEntries}
report = true;
};
signature."ed25519" = {
signature."ed25519-rubenhensen.nl" = {
private-key = "%{file:/run/credentials/stalwart-mail.service/dkim-ed25519.key}%";
domain = "rubenhensen.nl";
selector = "202603e2";
@@ -463,7 +483,7 @@ ${sniMapEntries}
};
auth.dkim.sign = [
{ "if" = "listener != 'smtp'"; "then" = "['rsa', 'ed25519']"; }
{ "if" = "listener != 'smtp'"; "then" = "['rsa-rubenhensen.nl', 'ed25519-rubenhensen.nl']"; }
{ "else" = false; }
];
+1 -1
View File
@@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: ntfy
image: binwiederhier/ntfy:v2.34.0
image: binwiederhier/ntfy:v2.37.2
args: ["serve"]
env:
- name: NTFY_BASE_URL
+1 -1
View File
@@ -51,7 +51,7 @@ spec:
value: --use-openssl-ca
- name: SSL_CERT_FILE
value: /etc/ssl/certs/ca-certificates.crt
image: towfiqi/serpbear:3.1.0
image: towfiqi/serpbear:3.1.2
name: serpbear
ports:
- containerPort: 3000
+1 -1
View File
@@ -8,7 +8,7 @@ spec:
source:
chart: velero
repoURL: https://vmware-tanzu.github.io/helm-charts
targetRevision: 12.2.1
targetRevision: 12.2.3
helm:
values: |
# Velero builds its repository maintenance jobs from a Deployment