openbsd-ports/mail/courier-imap/patches/patch-imap_imapd-ssl_dist_in

38 lines
1.1 KiB
Plaintext

$OpenBSD: patch-imap_imapd-ssl_dist_in,v 1.4 2004/07/01 12:19:35 avsm Exp $
--- imap/imapd-ssl.dist.in.orig 2004-05-16 14:29:23.000000000 +1000
+++ imap/imapd-ssl.dist.in 2004-05-16 14:31:17.000000000 +1000
@@ -65,13 +65,13 @@ SSLPIDFILE=@piddir@/imapd-ssl.pid
#
# Whether or not to start IMAP over SSL on simap port:
-IMAPDSSLSTART=NO
+IMAPDSSLSTART=YES
##NAME: IMAPDSTARTTLS:0
#
# Whether or not to implement IMAP STARTTLS extension instead:
-IMAPDSTARTTLS=YES
+IMAPDSTARTTLS=NO
##NAME: IMAP_TLS_REQUIRED:1
#
@@ -146,7 +146,7 @@ TLS_STARTTLS_PROTOCOL=TLS1
# servers, and is optional for SSL/TLS clients. TLS_CERTFILE is usually
# treated as confidential, and must not be world-readable.
#
-TLS_CERTFILE=@datadir@/imapd.pem
+TLS_CERTFILE=/etc/ssl/private/imapd.pem
##NAME: TLS_TRUSTCERTS:0
#
@@ -187,6 +187,6 @@ TLS_VERIFYPEER=NONE
# problems with SSL clients. Disable SSL caching by commenting out the
# following settings:
-TLS_CACHEFILE=@localstatedir@/couriersslcache
-TLS_CACHESIZE=524288
+#TLS_CACHEFILE=@localstatedir@/couriersslcache
+#TLS_CACHESIZE=524288