/usr/sbin/webmaild is in sqwebmail 0.68.2-1ubuntu7.
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 | #! /bin/bash
#
# Copyright 2004-2005 Double Precision, Inc.
# See COPYING for distribution information.
prefix="/usr"
exec_prefix="/usr"
datarootdir="/usr/share"
sysconfdir="/etc/courier"
sbindir="${exec_prefix}/sbin"
bindir="/usr/bin"
libexecdir="${prefix}/lib/courier"
datadir="${prefix}/lib/courier"
. ${sysconfdir}/sqwebmaild
case $1 in
start)
case "`cat ${sysconfdir}/calendarmode 2>/dev/null`" in
net)
/usr/bin/env -i /bin/bash -c " set -a ;
prefix=${prefix} ;
exec_prefix=${exec_prefix} ;
sbindir=${sbindir} ;
libexecdir=${libexecdir} ;
. ${sysconfdir}/sqwebmaild ; \
/usr/sbin/courierlogger -pid=${PIDFILE}.pcp $LOGGEROPTS -start \
${libexecdir}/courier/pcpd server"
;;
*)
;;
esac
/usr/bin/env -i /bin/bash -c " set -a ;
prefix=${prefix} ;
exec_prefix=${exec_prefix} ;
sbindir=${sbindir} ;
libexecdir=${libexecdir} ;
. ${sysconfdir}/sqwebmaild ; \
/usr/sbin/courierlogger -pid="'${PIDFILE}'" $LOGGEROPTS -start \
${libexecdir}/courier/sqwebmaild"
;;
stop)
/usr/sbin/courierlogger -pid=${PIDFILE} -stop
/usr/sbin/courierlogger -pid=${PIDFILE}.pcp -stop
;;
reload)
/usr/sbin/courierlogger -pid=${PIDFILE} -restart
/usr/sbin/courierlogger -pid=${PIDFILE}.pcp -restart
;;
esac
|