mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-18 18:42:56 +02:00
Stalwart: add smtp relay smtp2go
This commit is contained in:
@@ -84,6 +84,18 @@ data:
|
|||||||
user = "%{env:STALWART_ADMIN_USER}%"
|
user = "%{env:STALWART_ADMIN_USER}%"
|
||||||
secret = "%{env:STALWART_ADMIN_PASSWORD}%"
|
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"]
|
[certificate."default"]
|
||||||
cert = "%{file:/opt/stalwart/certs/tls.crt}%"
|
cert = "%{file:/opt/stalwart/certs/tls.crt}%"
|
||||||
private-key = "%{file:/opt/stalwart/certs/tls.key}%"
|
private-key = "%{file:/opt/stalwart/certs/tls.key}%"
|
||||||
|
|||||||
@@ -33,6 +33,16 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "stalwart.fullname" . }}-admin
|
name: {{ include "stalwart.fullname" . }}-admin
|
||||||
key: pw
|
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:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz/live
|
path: /healthz/live
|
||||||
|
|||||||
Reference in New Issue
Block a user