On Fri, Jun 30, 2000 at 07:34:09PM +0800, Edward Tsang wrote:

> There are many dead mail in my qmail mail queue. How can I clean it up ?
> (completely erase them)
> 
> I tried to use qmail-clean but seem that it need to use qmail-start...

As noted by others on the list, it should not be necessary as they will
expire out of the queue after about a week.  Or five days.  I can't
remember which.  

Anyway, if you want to have it delete everything from the queue on it's
next pass through, you could run this command in the /var/qmail/queue/info
directory:

find . -type f -print | xargs touch 05300000

This would touch all the info files to a date of about 2 months ago.  Next
time qmail tries to send them, it will see this and delete 'em from the
queue.

Ben

-- 
The spectre of a polity controlled by the fads and whims of voters who
actually believe that there are significant differences between Bud Lite
and Miller Lite, and who think that professional wrestling is for real, is
naturally alarming to people who don't.
                -- Neal Stephenson

Reply via email to