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

Re: [Mutt] #3000: Deleting >50k messages from IMAP boxes fails with



#3000: Deleting >50k messages from IMAP boxes fails with Fatal error:
---------------------+------------------------------------------------------
  Reporter:  myon    |       Owner:  brendan
      Type:  defect  |      Status:  new    
  Priority:  minor   |   Milestone:  1.6    
 Component:  IMAP    |     Version:  1.5.17 
Resolution:          |    Keywords:         
---------------------+------------------------------------------------------

Comment(by jhawk):

 What debugging level is appropriate? Opening my large mailbox with -d 3
 produces a 106mb logfile.
 Having tagged a few thousand message s ofr deletion and then hit $, my
 logfile ends with:

 {{{
 > a0025 FETCH 215455:215455 (UID FLAGS INTERNALDATE RFC822.SIZE
 BODY.PEEK[HEADER
 .FIELDS (DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE
 CONTENT-DESC
 RIPTION IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL X-Spam-Score)])
 < * 215455 FETCH (FLAGS (\Recent) UID 2057859 INTERNALDATE "22-Aug-2008
 17:48:37
  -0400" RFC822.SIZE 2646 BODY[HEADER.FIELDS (DATE FROM SUBJECT TO CC
 MESSAGE-ID
 REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES
 LIST-POST
  X-LABEL X-Spam-Score)] {442}
 Handling FETCH
 FETCH response ignored for this message
 imap_read_literal: reading 442 bytes
 < )
 parse_parameters: `charset="iso-8859-2"'
 parse_parameter: `charset' = `iso-8859-2'
 < a0025 OK Completed
 Overriding UIDNEXT: 2057859 -> 2057860
 > a0026 NOOP
 < a0026 OK Completed
 > a0027 UID STORE
 1771854:1771855,1771986,1772192,1772324,1772329:1772330,177236
 
3,1772557:1772558,1772759,1772827,1772843,1772970,1772985,1773010,1773125,177316
 
1,1773188,1773200,1773203:1773206,1773298,1773341,1773383,1773663,1773841,177393
 
5,1773951,1774088,1774266,1774432,1774591,1774628,1774906,1774940,1774983,177505
 }}}
 ...
 {{{
 
8,2055571,2055746,2055798,2055822,2055830,2055845,2055934,2056097,2056271,205636
 
8,2056379,2056508,2056516,2056533,2056647,2056656,2056694,2056770,2056813,205683
 
1,2056858,2056940,2057157,2057375,2057390,2057425,2057434,2057456,2057459:205746
 0,2057498,2057596,2057627,2057668,2057672,2057719,2057842 +FLAGS.SILENT
 (\Delete
 d)
 < * BYE Fatal error: word too long
 Handling BYE
 Fatal error: word too long
 mutt_free_body: Not unlinking EmailMessage.pdf.
 mutt_free_body: Not unlinking Documentation.pdf.
 mutt_free_body: Not unlinking Certification.pdf.
 mutt_free_body: Not unlinking information.pdf.
 mutt_free_body: Not unlinking information.pdf.
 mutt_free_body: Not unlinking clientcare.pdf.
 mutt_free_body: Not unlinking clientcare.pdf.
 mutt_free_body: Not unlinking clientcare.pdf.
 Mailbox closed
 imap_exec: command failed: * BYE Fatal error: word too long
 Expunge failed
 }}}

 Do you need more?

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3000#comment:4>
Mutt <http://www.mutt.org/>
The Mutt mail user agent