On Wed, 5 May 1999, Fred Lindberg wrote:
> Thanks for confirming this! This means that a cleaner shutdown might be
> to kill all qmail-remote[/local] as well as qmail-send.
possibly, but you don't know if it's /just/ done the CRLF '.' CRLF at the
end of the message and is waiting for the confirmation back, in that case
you might end up with duplication.
myself, for a linux system only (killall behaving completely differently
on a solaris machine!!] I do the following in my qmail.init script
svc -d -x /var/qmail/supervise
while (killall -0 qmail-send) do
echo waiting for qmail to exit
sleep 5
done
the shutdown script then spins waiting for qmail-send to shutdown tidily
before proceeding with the rest of the shutdown scripts
Richard