How to force qmail to process the outbound queue
Summary
If you have an internet outage or DNS problems, the qmail's outbound queue will start to fill up. This is how to force it to process immediately.
Detail
- The qmail utility programs are all in
/var/qmail/bin. - Use
qmail-qstatand/orqmail-qreadto see that there are actually messages in the queue. - Run
qmail-tcpok - Run
ps axland find the process id (PID) forqmail-send - Run
kill -s ALRM pid - That's it! Qmail will start processing the queue.