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-qstat and/or qmail-qread to see that there are actually messages in the queue.
  • Run qmail-tcpok
  • Run ps axl and find the process id (PID) for qmail-send
  • Run kill -s ALRM pid
  • That's it! Qmail will start processing the queue.