#! /bin/sh
# /etc/init.d/exim
#
set -e
if [ -n "$EX4DEBUG" ]; then
echo "now debugging $0 $@"
set -x
fi
#read default file
QUEUERUNNER='combined'
QUEUEINTERVAL='10m'
UPEX4OPTS=''
PIDFILE="/var/spool/exim/exim-daemon.pid"
DAEMON=/usr/local/exim/bin/exim
NAME=exim
start_exim()
{
case ${QUEUERUNNER} in
combined)
start-stop-daemon --start --pidfile "$PIDFILE" \
--exec $DAEMON -- -bd -q${QFLAGS}${QUEUEINTERVAL} \
${COMMONOPTIONS} ${QUEUERUNNEROPTIONS} ${SMTPLISTENEROPTIONS}
;;
separate)
start-stop-daemon --start --pidfile "$PIDFILE" \
--exec $DAEMON -- -bd ${SMTPLISTENEROPTIONS} ${COMMONOPTIONS}
start-stop-daemon --start --pidfile "$PIDFILE" \
--exec $DAEMON -- -oP "PIDFILE" \
-q${QFLAGS}${QUEUEINTERVAL} ${QUEUERUNNEROPTIONS} ${COMMONOPTIONS}
;;
queueonly)
start-stop-daemon --start --pidfile "$PIDFILE" \
--exec $DAEMON -- -oP "$PIDFILE" \
-q${QFLAGS}${QUEUEINTERVAL} ${QUEUERUNNEROPTIONS} ${COMMONOPTIONS}
;;
no|ppp)
start-stop-daemon --start --pidfile "$PIDFILE" \
--exec $DAEMON -- -bd ${SMTPLISTENEROPTIONS}
;;
nodaemon)
;;
esac
}
2006/10/24, Alex <abusquets@???>:
>
> Hi.
>
> My init scrit starts exim with this
>
> /usr/local/exim/bin/exim -bd -q10m
>
>
>
> 2006/10/24, Jan Johansson <j2@???>:
> >
> > >Why my exim server not try to send the email more later ?
> >
> > Do you have a queue-runner that handles that? Else, you need to start
> > one,
> > check out the -q parameter for exim.
> >
> >
> >
>