<<< Date Index >>>     <<< Thread Index >>>

Re: question about deleting mail ...



* Wilkinson, Alex <alex.wilkinson@xxxxxxxxxxxxxxxxxxx> :
> 
> can one  delete all the contents of a mailbox in mutt *without*
> having to change into the mailbox ?  I have 5000 msgs in a mailbox
> and it will take forever over NFS to change into that folder.

Assuming you have ssh/telnet access to that machine:

$ rm -i ~/Mail/mailbox-to-be-deleted

will delete the whole mailbox.  If you need the mailbox to exist for
your MUA:

$ touch ~/Mail/mailbox-name
$ chmod 600 ~/Mail/mailbox-name

Don't know of another way, sorry.  That's the way I'd do it.

-- 
T R O Y  P I G G I N S
e : troy@xxxxxxxxx
mutt 1.5.9i (linux)