mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Stalwart: add smtp relay smtp2go
This commit is contained in:
@@ -84,6 +84,18 @@ data:
|
||||
user = "%{env:STALWART_ADMIN_USER}%"
|
||||
secret = "%{env:STALWART_ADMIN_PASSWORD}%"
|
||||
|
||||
[remote."smtp2go"]
|
||||
address = "mail-eu.smtp2go.com"
|
||||
port = 2525
|
||||
protocol = "smtp"
|
||||
auth.username = "%{env:SMTP2GO_USER}%"
|
||||
auth.secret = "%{env:SMTP2GO_PASSWORD}%"
|
||||
tls.enable = true
|
||||
tls.allow-invalid-certs = false
|
||||
|
||||
[queue.outbound]
|
||||
next-hop = ["smtp2go"]
|
||||
|
||||
[certificate."default"]
|
||||
cert = "%{file:/opt/stalwart/certs/tls.crt}%"
|
||||
private-key = "%{file:/opt/stalwart/certs/tls.key}%"
|
||||
|
||||
@@ -33,6 +33,16 @@ spec:
|
||||
secretKeyRef:
|
||||
name: {{ include "stalwart.fullname" . }}-admin
|
||||
key: pw
|
||||
- name: SMTP2GO_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ include "stalwart.fullname" . }}-smtp2go
|
||||
key: user
|
||||
- name: SMTP2GO_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ include "stalwart.fullname" . }}-smtp2go
|
||||
key: pw
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz/live
|
||||
|
||||
Reference in New Issue
Block a user