Solved

deleting not processed email in qmail

Posted on 2009-06-29
1
374 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 500 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

Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Question has a verified solution.

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

Suggested Solutions

Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
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…
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…

947 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now