/usr/lib/courier/makesmtpaccess is in courier-mta 0.73.1-1.6.
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 | #! /bin/bash
#
# Copyright 1998 - 2001 Double Precision, Inc. See COPYING for
# distribution information.
prefix="/usr"
exec_prefix="/usr"
sysconfdir="/etc/courier"
localstatedir="/var/lib/courier"
bindir="/usr/bin"
sbindir="/usr/sbin"
case `basename $0` in
makesmtpaccess)
. ${sysconfdir}/esmtpd
;;
makesmtpaccess-msa)
. ${sysconfdir}/esmtpd
. ${sysconfdir}/esmtpd-msa
;;
*)
echo "I must be invoked as makesmtpaccess or makesmtpaccess-msa" >&2
exit 1
;;
esac
umask 022
${bindir}/makedat \
-src=${ACCESSFILE} \
-file=${ACCESSFILE}.dat \
-tmp=${ACCESSFILE}.tmp -cidr || exit 1
${sbindir}/couriertcpd -pid=$PIDFILE -restart
|