/usr/lib/courier/imapd-ssl is in courier-imap 4.17.2+0.76.3-5+deb9u1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | #! /bin/sh
#
# Copyright 1998 - 2015 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr
exec_prefix=/usr
sbindir=${exec_prefix}/sbin
bindir=/usr/bin
sysconfdir=/etc/courier
if test ! -f /etc/courier/imapd
then
echo "/etc/courier/imapd does not exist, forgot make install-configure?"
exit 1
fi
if test ! -f /etc/courier/imapd-ssl
then
echo "/etc/courier/imapd-ssl does not exist, forgot make install-configure?"
exit 1
fi
. /etc/courier/imapd
. /etc/courier/imapd-ssl
case $1 in
start)
umask $IMAP_UMASK
if test ! -f "${IMAPACCESSFILE}.dat"
then
$sbindir/makeimapaccess
fi
ulimit -v $IMAP_ULIMITD
/usr/bin/env -i /bin/sh -c " set -a ;
prefix=/usr ; \
exec_prefix=/usr ; \
sbindir=${exec_prefix}/sbin ; \
bindir=/usr/bin ; \
. /etc/courier/imapd ; \
. /etc/courier/imapd-ssl ; \
PROXY_HOSTNAME=$PROXY_HOSTNAME ; \
IMAP_TLS=1; \
/bin/mkdir -p `dirname $SSLPIDFILE` ; \
/usr/sbin/courierlogger -pid=$SSLPIDFILE -start $SSLLOGGEROPTS \
${exec_prefix}/sbin/couriertcpd -address=$SSLADDRESS \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-access=$IMAPACCESSFILE.dat \
$TCPDOPTS \
$SSLPORT $COURIERTLS -server -tcpd \
${prefix}/lib/courier/courier/imaplogin \
/usr/bin/imapd ${MAILDIRPATH}"
;;
stop)
/usr/sbin/courierlogger -pid=$SSLPIDFILE -stop
;;
esac
exit 0
|