Solved

deleting not processed email in qmail

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This short article will present "How to import ICS Calendar onto Office 365 Calendar". I was searching for free (or not free) tools to convert ICS to CSV without success. The only tools I found & working well were online tools...this was too hard to…
Resolve DNS query failed errors for Exchange
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In this video we show how to create a Contact 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 >> Contact ta…

706 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

18 Experts available now in Live!

Get 1:1 Help Now