yeah right...check the man page!

I need to clean out obsoleted emails that are spooled, because, for some
non-qmail reason, didn't get sent right away. Right now, here's what I do to
clean it up....

/etc/init.d/qmail stop
cd /tmp/queue/remote
for i in `ls`
do
rm ${i}/2*    # cause they usually start with 2
done

I do the same thing with mess, locals...
Is there another way to do it?

I'm not sure what those numbered-subdirs are for. Some of them have last
modification date of several months ago....

-a

P.S. Does anybody know when the Qmail book is gonna be published?

Thanks!

-----Original Message-----
From: Chris Johnson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 03, 2000 2:14 PM
To: DeChavez , Andrew
Cc: [EMAIL PROTECTED]
Subject: Re: qmail-clean does not work


On Thu, Feb 03, 2000 at 02:07:43PM -0800, DeChavez , Andrew wrote:
> When I tried running qmail-clean, both when all other qmail daemons are
> stopped and when the daemons are running, it seems to hang. i.e. as you
hit
> the carriage return, it will just keep running.

Don't run qmail-clean. It's not meant for humans to run. If you feel that
you
must run it, read the man page.

> Is it alright to stop qmail then remove the ffg. subdirectories under:
> /tmp/queue/local/nn
> /tmp/queue/remote/nn
> /tmp/queue/mess/nn
> 
> where nn is some number.
> 
> If this is ok to do, are there any directories that I need to remove?

What problem are you trying to solve? What makes you think that you need to
remove directories?

Chris

Reply via email to