[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: delete no longer working




>>>>> In article <ilu67fijg6s.fsf@xiphias.pdc.kth.se>,
>>>>> Simon Josefsson <jas@pdc.kth.se> scribbled:

  [snip]

  > Then the question is wether we should EXPUNGE on group exit?  I
  > guess we couldn't easily do it anywhere else so I've changed the
  > code back to the old behaviour.

  > (Patch attached if you can't wait for 0.3.28)

I think this is the best compromise.  Thanks for the patch.

  [snip]

  > Yup. But this behaviour assumes, I think, that there is only one
  > client setting those "process" flags. The \Deleted flag should
  > IMHO be session specific (and not mailbox specific), so the server
  > should keep different \Deleted flag's for different server
  > connections and on EXPUNGE only delete articles marked \Deleted in
  > that session.

I gather from reading the RFC that imap is set up with the
consideration of a single client.  There seem to be other places where
concurrent access isn't considered too carefully.

  > For, dare I say, 100 % of normal user activites this would result
  > in the same articles being deleted, but I could easily construct a
  > scenario in which it didn't. O well, I'm babbling again.

But you are babbling very intelligently.

marty

-- 
     marty fouts     fouts@null.net     http://www.best.com/~mjf

The question of whether a computer can think is no more interesting 
than the question of whether a submarine can swim.      E. W. Dijkstra