From 0b0a8372a6f64daa15f2c51d612667917a68a423266d3b2844e14edd0fe51d40 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Thu, 25 Sep 2014 15:22:01 +0000 Subject: [PATCH] Accepting request 252312 from home:computersalat:devel:mail courier-imap.service OBS-URL: https://build.opensuse.org/request/show/252312 OBS-URL: https://build.opensuse.org/package/show/server:mail/courier-imap?expand=0&rev=68 --- courier-imap.changes | 6 ++++++ courier-imap.service | 3 +++ 2 files changed, 9 insertions(+) diff --git a/courier-imap.changes b/courier-imap.changes index 76fbb6d..4746432 100644 --- a/courier-imap.changes +++ b/courier-imap.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 25 15:19:51 UTC 2014 - chris@computersalat.de + +- fix courier-imap.service + * STARTTLS on port 143 (thanks to cschweingruber) + ------------------------------------------------------------------- Sat Mar 15 20:24:10 UTC 2014 - chris@computersalat.de diff --git a/courier-imap.service b/courier-imap.service index c6824ba..0ecb06d 100644 --- a/courier-imap.service +++ b/courier-imap.service @@ -13,7 +13,10 @@ PIDFile=/run/imapd.pid LimitNOFILE=65536 ExecStart=/usr/bin/env - /bin/sh -c " set -a ; \ . /etc/courier/imapd ; \ + grep IMAPDSTARTTLS=NO /etc/courier/imapd-ssl &>/dev/null || . /etc/courier/imapd-ssl ; \ + IMAP_STARTTLS=$IMAPDSTARTTLS ; export IMAP_STARTTLS ; \ PROXY_HOSTNAME=$PROXY_HOSTNAME ; \ + TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \ /usr/sbin/courierlogger -pid=$PIDFILE -start $LOGGEROPTS \ /usr/lib/courier-imap/couriertcpd -address=$ADDRESS \ -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP $TCPDOPTS \