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

Re: [Mutt] #3163: message cache partially invalid after network



#3163: message cache partially invalid after network problem
-------------------------------+--------------------------------------------
  Reporter:  antonio@xxxxxxxx  |       Owner:  mutt-dev
      Type:  defect            |      Status:  new     
  Priority:  minor             |   Milestone:  1.6     
 Component:  IMAP              |     Version:  1.5.19  
Resolution:                    |    Keywords:          
-------------------------------+--------------------------------------------

Comment(by antonio@xxxxxxxx):

 Tested against version 1.5.19

 How to reproduce:

 1) start mutt, connect to an imaps mailbox

 2) from the list select a message but DO NOT press enter

 3) on a root console insert the following rule

 iptables -A OUTPUT -p tcp --dport 993

 4) now press enter, mutt will say "fetching message..."

 5) at this point .mutt/cache/[...]/bodies/ will contain a file called .tmp
 with 0 size

 6) kill -15 mutt

 7) remove the iptables rule (iptables -F)

 8) restart mutt, select the message and press enter, it will be shown
 correctly

 9) at this point the empty file called .tmp will be called <filename>
 without the .tmp extension, it will still be 0

 10) hit 'q', then you're back to the main view, select again the message
 and press enter

 11) this time the message will be shown as empty

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