it will delete the rest of the emails after the attachemetn, if the attachement is in some part between the mailbox? ----- Original Message ----- From: "Grant" <[EMAIL PROTECTED]> To: "Peter Cavender" <[EMAIL PROTECTED]> Cc: "kh" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 11:47 AM Subject: Re: How to remove a email from a mailbox > That's good. Or keep the lines at the top and type 99999 dd > > Deletes 99999 lines in vi > > On Wed, 17 Jan 2001, Peter Cavender wrote: > > > 1) use an editor to see how many of the lines at the top of the file you > > want to keep, say for example 30 > > 2) # head -n 30 mail_file_name > foo > > 3) # mv -f foo mail_file_name > > > > > > --Pete > > > > > > On Thu, 18 Jan 2001, kh wrote: > > > > > the problem is, what is the better text editor I can use rather than vi, > > > since the attachement has thousands of lines..... > > > > > > ----- Original Message ----- > > > From: "Grant" <[EMAIL PROTECTED]> > > > To: "kh" <[EMAIL PROTECTED]> > > > Cc: <[EMAIL PROTECTED]> > > > Sent: Thursday, January 18, 2001 10:54 AM > > > Subject: Re: How to remove a email from a mailbox > > > > > > > > > > My instructions were to delete the 12 MB email, not every file in the > > > > Mailrdir/new > > > > > > > > Just edit Maildir/new/file with a text editor and remove the attachment. > > > > > > > > On Thu, 18 Jan 2001, kh wrote: > > > > > > > > > there are other emails in the mailbox, I do wish to do is that, just to > > > > > delete the attachement, not the entire mailbox.... > > > > > ckh :) > > > > > ----- Original Message ----- > > > > > From: "Grant" <[EMAIL PROTECTED]> > > > > > To: "kh" <[EMAIL PROTECTED]> > > > > > Cc: <[EMAIL PROTECTED]> > > > > > Sent: Thursday, January 18, 2001 10:17 AM > > > > > Subject: Re: How to remove a email from a mailbox > > > > > > > > > > > > > > > > cd /home/user/Maildir/new > > > > > > > > > > > > Delete the file that is 12 MB > > > > > > > > > > > > On Thu, 18 Jan 2001, kh wrote: > > > > > > > > > > > > > Is it possible to remove a email from a user mailbox? because I have > > > a > > > > > email with about 12M of attachement in the mailbox. > > > > > > > thanks > > > > > > > ckh :) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >