Entry
How do I shutdown qmail?
How do I shutdown qmail outbound and inbound email?
Dec 10th, 2004 03:21
Sam Snow, Brian Coogan, Raul Gomez,
Shutting down qmail is fairly straight forward:
If you have the Life with Qmail qmailctl command, just use it. As
root, type:
qmailctl stop
Type qmailctl by itself for a full list of commands.
Otherwise, you'll need to manually shutdown the qmail processes. Kill
qmail-send first. (qmail-send is the parent qmail process) (check for
and kill any qmail-lspawn processes that remain after a while). This
stops outbound email, and stops the queue being processed.
Kill the tcpserver process providing qmail-smtpd access. This stops
incoming email from being queued.
See also the FAQTS question on killing qmail-send nicely.
===================================================================
If you are using Debian you might try shutting down qmail via the
standard debian method (as root):
/etc/init.d/qmail stop
===================================================================