Solved

deleting not processed email in qmail

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Automapping, a wonderful feature with Exchange 2010 (SP2 onwards I believe), allows additional/Shared mailboxes that a user has access to be automatically mapped on Outlook client, simplifying the process by adding them while Outlook launches. Ho…
Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
In this video we show how to create a User Mailbox 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 >> Mailb…
In this video we show how to create a mailbox database 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 Servers >> Data…

856 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