Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

We're trying to delete 80% or 90% of the emails from a ~200k message queue. Ideally, we would be able to select the messages using regex.

I can see the messages in the queue folder, but just deleting the files seems dangerous.

Are there any utilities or established patterns for doing this?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

There is no built in way. You can google for qmail-delete or a tool like


share|improve this answer

I usually use qmHandle. http://sourceforge.net/projects/qmhandle/

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.