On Tue, May 15, 2001 at 10:53:10AM -0600, Charles Cazabon wrote:
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Hi How do I delete and emtpy the mailqueue manually?
>
> 1) Stop qmail
> 2) `find /var/qmail/queue -type f | xargs rm -f`
> 3) Start qmail
This also removes
/var/qmail/queue/lock/tcpto
/var/qmail/queue/lock/sendmutex
which would make qmail to spit out the following in the log:
alert: cannot start: unable to open mutex
I would rather do
1. Stop qmail
2. `find /var/qmail/queue -type f \! -path "*lock*" | xargs rm -f`
3. Start qmail
/magnus
--
:::. Magnus Bodin
:::::..... http://x42.com/
::::::::::::::::......................
leatormin/qhskdpc>0fwg:.1-yvx32),*b"5@!?<z6\