/usr/lib/courier/esmtpd-ssl is in courier-mta 0.78.0-2ubuntu2.
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 60 61 62 63 64 65 66 67 68 | #! /bin/sh
#
#
# Copyright 1998 - 2009 Double Precision, Inc. See COPYING for
# distribution information.
#
# This is a simple script to start/stop the smtp port daemon, courieresmtpd.
#
# Argument "start" starts the daemon.
# Argument "stop" stops the daemon (just the listening daemon).
# Argument "restart" rereads the smtpaccess.dat file.
prefix="/usr"
exec_prefix="/usr"
sysconfdir="/etc/courier"
sbindir="/usr/sbin"
libexecdir="${prefix}/lib/courier"
. ${sysconfdir}/esmtpd
. ${sysconfdir}/esmtpd-ssl
export PATH
export SHELL
case $1 in
start)
;;
stop)
${sbindir}/couriertcpd -pid=$SSLPIDFILE -stop
exit 0
;;
restart)
${sbindir}/couriertcpd -pid=$SSLPIDFILE -restart
exit 0
;;
*)
exit 0
;;
esac
cd ${prefix}
if test "$ACCESSFILE" != ""
then
if test ! -f "${ACCESSFILE}.dat"
then
ACCESSFILE=""
else
ACCESSFILE="-access=${ACCESSFILE}.dat"
fi
fi
/bin/mkdir -p `dirname $SSLPIDFILE`
ulimit -d "$ULIMIT"
/usr/bin/env -i /bin/sh -c " set -a ; . ${sysconfdir}/esmtpd ; \
. ${sysconfdir}/esmtpd-ssl ; \
ESMTP_TLS=1; export ESMTP_TLS; \
${sbindir}/couriertcpd \
-stderrlogger=/usr/sbin/courierlogger \
-stderrloggername=esmtpd-ssl \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-maxperc=$MAXPERC \
-pid=$SSLPIDFILE $TCPDOPTS \
-user=$MAILUSER -group=$MAILGROUP \
$BLACKLISTS $DROP $ACCESSFILE \
-address=$SSLADDRESS $SSLPORT \
$COURIERTLS -server -tcpd \
${sbindir}/courieresmtpd"
|