PDA

View Full Version : Flush mail queue


EverythingWeb
12-10-2006, 04:35 AM
Hello,

Quick question for someone in the know. ;)

Our upstream had a DNS issue for a few hours this morning, causing some of our inter-server routing and external routing to go a bit wappy.

Our spam box had a fair stack of emails waiting to come down to our interworx server, and with a 'flush queue' button on that spam server, we were able to force all the mail queue to be re-processed (now that we had deployed a workaround for the dns issues) however we have a load stacked up on our iworx boxes, and I was wondering whether there was a supported command which would re-run the queue without waiting for the next automatic run of it?

Cheers,

William

pascal
12-10-2006, 08:12 AM
do KILL -ALRM pid
Where pid is the pid of qmail-send

Pascal

IWorx-Socheat
12-10-2006, 10:05 AM
svc -a /service/send

would also work too :)

IWorx-Socheat
12-10-2006, 10:08 AM
Woops, it should be:

svc -a /service/send


Edited my previous post as well

EverythingWeb
12-10-2006, 10:11 AM
Many thanks to both of you :)

Cheers.