summaryrefslogtreecommitdiffstats
path: root/imap
diff options
context:
space:
mode:
authorSam Varshavchik2021-02-20 21:07:50 -0500
committerSam Varshavchik2021-02-20 21:07:50 -0500
commit7e9140305a0652e86d18e8dcf71fc07748ce8e4d (patch)
tree6b31f077fc1f3dc8a557c841cedffc6c917e509f /imap
parent4f8680c108d2ca32611dd60345cb0553a2ebd82e (diff)
downloadcourier-libs-7e9140305a0652e86d18e8dcf71fc07748ce8e4d.tar.bz2
Add support for ALPN.
Diffstat (limited to 'imap')
-rw-r--r--imap/imapd-ssl.dist.in.git9
-rw-r--r--imap/pop3d-ssl.dist.in.git7
2 files changed, 15 insertions, 1 deletions
diff --git a/imap/imapd-ssl.dist.in.git b/imap/imapd-ssl.dist.in.git
index 35880c8..f6b1ae8 100644
--- a/imap/imapd-ssl.dist.in.git
+++ b/imap/imapd-ssl.dist.in.git
@@ -5,7 +5,7 @@
# Do not alter lines that begin with ##, they are used when upgrading
# this configuration.
#
-# Copyright 2000 - 2019 Double Precision, Inc. See COPYING for
+# Copyright 2000 - 2021 Double Precision, Inc. See COPYING for
# distribution information.
#
# This configuration file sets various options for the Courier-IMAP server
@@ -316,6 +316,13 @@ TLS_VERIFYPEER=NONE
TLS_CACHEFILE=@localstatedir@/couriersslpop3cache
TLS_CACHESIZE=524288
+##TLS_ALPN:0
+#
+# Application level protocol negotiation should be enabled by default, and
+# should be commented out only in case of compatibility issues.
+
+TLS_ALPN=imap
+
##NAME: MAILDIRPATH:0
#
# MAILDIRPATH - directory name of the maildir directory.
diff --git a/imap/pop3d-ssl.dist.in.git b/imap/pop3d-ssl.dist.in.git
index dd352cd..40508e1 100644
--- a/imap/pop3d-ssl.dist.in.git
+++ b/imap/pop3d-ssl.dist.in.git
@@ -313,6 +313,13 @@ TLS_VERIFYPEER=NONE
TLS_CACHEFILE=@localstatedir@/couriersslimapcache
TLS_CACHESIZE=524288
+##TLS_ALPN:0
+#
+# Application level protocol negotiation should be enabled by default, and
+# should be commented out only in case of compatibility issues.
+
+TLS_ALPN=pop3
+
##NAME: MAILDIRPATH:0
#
# MAILDIRPATH - directory name of the maildir directory.