Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

deleting not processed email in qmail

Posted on 2009-06-29
1
Medium Priority
?
396 Views
Last Modified: 2013-12-02
Hi,
I have over 600000 emails waiting to be processed in the "not processed" mail queue on my qmail. It seems to just sit there and not move out at all. How do I delete them from the system entirely?
Is there a command that I can type using SSH2 ?
thanks!
0
Comment
Question by:yglobal
1 Comment
 
LVL 26

Accepted Solution

by:
jar3817 earned 2000 total points
ID: 24735485
You can just delete the files in the queue directory:

rm -f /var/qmail/queue/<queuename>/*

<queuename> is the name of the queue, not sure what the name is, but it'll be the one with 600000 files in it. The -f means "force", so it won't ask you if you're sure you want to delete each files individually.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question