Entry
How can I empty the queue?
How can I force a queue rerun imediately?
Aug 26th, 2001 18:53
Brian Coogan, Dave Sill,
If you want the messages in the queue to be delivered, but you want
qmail to try to deliver them immediately, send the qmail-send process an
ALRM signal.
You may need to run "qmail-tcpok" before sending the ALRM signal to
clear the qmail tcp timeout table, or qmail will wait till retry times
are reached before it again attempts to send messages. You can run
the "qmail-tcpto" command to check whether your destination servers are
in the timeout list. If you have djbdns (see http://djbdns.faqts.com -
it's great!), try "qmail-tcpto | dnsfilter" to see which hosts are in
the timeout list.
If you want to throw away the messages in the queue:
1) Stop qmail.
2) for i in bounce info intd local mess remote todo; do
find /var/qmail/queue/$i -type f -exec rm {} \;
done
3) Restart qmail.