Sign main.unkin.net mail with the unkin.net DKIM key
This commit is contained in:
@@ -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: {}
|
||||
---
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user