feat(mail): add stunnel support for Dovecot and Postfix with configuration and certificate management
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user