Sign main.unkin.net mail with the unkin.net DKIM key
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful

This commit is contained in:
2026-10-13 21:41:39 +11:00
parent c51bbd1ebc
commit 7e99d675fd
3 changed files with 5 additions and 31 deletions
+5 -12
View File
@@ -101,19 +101,12 @@ spec:
configMap:
name: rspamd-sa-rules
- name: dkim
projected:
secret:
secretName: dkim-unkin-net
defaultMode: 0440
sources:
- secret:
name: dkim-unkin-net
items:
- key: private_key
path: unkin.net.mail.key
- secret:
name: dkim-main-unkin-net
items:
- key: private_key
path: main.unkin.net.mail.key
items:
- key: private_key
path: unkin.net.mail.key
- name: data
emptyDir: {}
---
-18
View File
@@ -60,24 +60,6 @@ spec:
type: kv-v2
vaultAuthRef: default
---
# DKIM private key for main.unkin.net, selector `mail` (field `private_key`).
apiVersion: secrets.hashicorp.com/v1beta1
kind: VaultStaticSecret
metadata:
name: dkim-main-unkin-net
namespace: mail
spec:
destination:
create: true
name: dkim-main-unkin-net
overwrite: true
hmacSecretData: true
mount: kv
path: kubernetes/namespace/mail/default/dkim-main-unkin-net
refreshAfter: 5m
type: kv-v2
vaultAuthRef: default
---
# Controller (web UI) password; config reads the `rspamadm pw` hash (field `password_hash`).
apiVersion: secrets.hashicorp.com/v1beta1
kind: VaultStaticSecret
-1
View File
@@ -2,7 +2,6 @@ sign_authenticated = false;
sign_local = true;
sign_inbound = false;
use_domain = "header";
use_esld = false;
allow_hdrfrom_mismatch = false;
selector = "mail";
path = "/etc/rspamd/dkim/$domain.$selector.key";