[Mimedefang] MUST use client-queue runner?
Ashley M. Kirchner
ashley at pcraft.com
Thu Jan 16 15:04:01 EST 2003
Fox, Randy wrote:
>The "sendmail -Ac -qp1m" is an extra line in your init scripts, you still need to run "sendmail -bd". Additionally, I still run a "sendmail -q30m" to process back-logged messages.
>
That's not needed. You can roll it all into one line (plus the
MSA). The relevant piece of my Red Hat init looks like this:
==========
echo -n $"Starting $prog: "
daemon /usr/sbin/sendmail -L sm-mta $([ "$DAEMON" = yes ] && echo -bd) \
$([ -n "$QUEUE" ] && echo -q$QUEUE) \
-X /var/log/sm-mta
RETVAL=$?
echo
[ $RETVAL -ne 0 ] && exit 1
echo -n $"Starting $prog queue: "
# smmsp user does not have permission to write to /var/run, do it
manually
/bin/touch /var/run/sm-msp.pid
/bin/chown smmsp.smmsp /var/run/sm-msp.pid
daemon /usr/sbin/sendmail -L sm-msp-queue -Ac \
$([ -n "$QUEUE" ] && echo -q$QUEUE) \
-X /var/log/sm-msp
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/sendmail
return $RETVAL
==========
Which, when all the variables are filled in, you're looking at:
/usr/sbin/sendmail -L sm-mta -bd -q1m
/usr/sbin/sendmail -L sm-msp-queue -Ac -q1m
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:ashley at pcraft.com> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
More information about the MIMEDefang
mailing list