From 88645e7dd0a9ffd79e8c595c838ab7153aff8905 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 26 Apr 2024 20:23:06 +0200 Subject: [PATCH] add imaps listener --- rootfs/etc/confd/templates/10-auth.conf.tmpl | 1 + rootfs/etc/confd/templates/10-master.conf.tmpl | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/rootfs/etc/confd/templates/10-auth.conf.tmpl b/rootfs/etc/confd/templates/10-auth.conf.tmpl index 498385f..3a0bd54 100644 --- a/rootfs/etc/confd/templates/10-auth.conf.tmpl +++ b/rootfs/etc/confd/templates/10-auth.conf.tmpl @@ -1,4 +1,5 @@ auth_username_chars = {{getenv "ALLOWED_USERNAME_CHARS" "äöüabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@"}} auth_username_format ="%Ln" auth_mechanisms = {{getenv "AUTH_MECHANISMS" "plain login oauthbearer xoauth2"}} +disable_plaintext_auth = yes !include auth-oauth2.conf.ext diff --git a/rootfs/etc/confd/templates/10-master.conf.tmpl b/rootfs/etc/confd/templates/10-master.conf.tmpl index 928ebf7..391b1b4 100644 --- a/rootfs/etc/confd/templates/10-master.conf.tmpl +++ b/rootfs/etc/confd/templates/10-master.conf.tmpl @@ -2,6 +2,11 @@ service imap-login { inet_listener imap { port = 143 } + + inet_listener imaps { + port = 993 + ssl = yes + } } service lmtp {