Solved

deleting not processed email in qmail

Posted on 2009-06-29
1
384 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

New-MailboxSearch Powershell Command and step by step approach to Search and Extract Emails form Exchange 2013 Journaling server.
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

718 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