feat(mail): add stunnel support for Dovecot and Postfix with configuration and certificate management

This commit is contained in:
2025-05-10 15:37:00 +02:00
parent a0ac55e746
commit 5d2f50feb9
10 changed files with 168 additions and 20 deletions
@@ -140,13 +140,13 @@ auth_mechanisms = plain login
service auth {
inet_listener auth {
port = 31000
port = 33100
}
}
# LMTP service to store sent emails
service lmtp {
inet_listener auth {
inet_listener lmtp {
port = 31024
}
mail_plugins {
@@ -0,0 +1,7 @@
foreground = yes
[dovecot-auth]
accept = 0.0.0.0:31000
connect = 127.0.0.1:33100
cert = /etc/ssl/certs/private/tls.crt
key = /etc/ssl/certs/private/tls.key