> -----Original Message-----
> From: Larry Low
> Sent: Friday, October 10, 2008 4:02 PM
> To: 'DBMail mailinglist'
> Subject: RE: [Dbmail] Messages marked as expunged randomly showing up
> with IMAP SELECT and SEARCH
>
> > -----Original Message-----
> > From: Larry Low
> > Sent: Friday, October 10, 2008 3:50 PM
> > To: DBMail mailinglist
> > Subject: RE: [Dbmail] Messages marked as expunged randomly showing up
> > with IMAP SELECT and SEARCH
> >
> > > Larry Low wrote:
> > > >> Larry Low wrote:
> > > >> I see the problem now.  The messages got expunged after the
> SELECT
> > > >> and SEARCH so the indexes of the messages changed so message 87
> > > became
> > > >> message 72 within the same session causing the stores to be
> > > performed
> > > >> on the wrong messages.  Below is IMAP conversation showing the
> > > actions
> > > >> are performed in the same session and without closing the inbox
> > till
> > > >> the end.
> > > >>
> > > >> I don't seen the expunging you mention.
> > > >>
> > > > The expunge happened in another session.
> > >
> > > Ok. Sounds familiar. I remember working on improving expunge
> > responses
> > > a
> > > lot while working on 2.3.1.
> >
> > Tracking it down a little more.  I think the problem was triggered by
> a
> > NOOP in the middle of fetching messages.  Trying to read up the RFC
> to
> > understand behavior.  When the NOOP was made by the client the
> indexes
> > changed as I can see the next fetch of message 60 ended up retrieving
> > the message originally marked as 75.
> >
>
> A85 NOOP
> * 0 RECENT
> A85 OK NOOP completed
>
> This was the NOOP.  I'm thinking maybe a * 15 EXPUNGE was missing from
> this response.

Ok now I understand, with this NOOP DBMail should of sent:

* 50 EXPUNGE
* 49 EXPUNGE
..
* 36 EXPUNGE

I'm thinking the dbmail_imap_session_mailbox_status is where the expunge 
responses are missing.

>
> > >
> > >
> > > --
> > >   ________________________________________________________________
> > >   Paul Stevens                                      paul at nfg.nl
> > >   NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
> > >   The Netherlands________________________________http://www.nfg.nl
> > > _______________________________________________
> > > DBmail mailing list
> > > [email protected]
> > > https://mailman.fastxs.nl/mailman/listinfo/dbmail
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to