MBOX-Line: From jjmckay at comaxis.com  Tue Mar  7 16:44:12 2017
To: imap-protocol@u.washington.edu
From: Jeff McKay <jjmckay@comaxis.com>
Date: Fri Jun  8 12:34:55 2018
Subject: [Imap-protocol] Strange behavior of Dwarf IMAP
Message-ID: <c5f4fa80-5df3-b937-6039-757128711c2a@comaxis.com>

I am dealing with a customer's IMAP server, which identifies itself as 
Dwarf 2.0.0 (part of Gnome I guess) that seems to be acting
strangely.  My code sends this command:

   A746 FETCH 1 (FLAGS UID INTERNALDATE BODY.PEEK[])

I expect to get back a single message, however after the last line of 
the first message, I then get the line:

* 2 FETCH (FLAGS (\Seen) UID 2290456508 INTERNALDATE "20-Jan-2017 
07:55:29 -0500" BODY[] {76009}

and on and on...  In other words it just keeps blasting messages at me, 
beyond the single message I asked for.  I've never seen this
behavior before with any other server.  At first I thought it was some 
screw up in my lower level tcp code, but I am quite certain that
I never sent out a FETCH 2 command, so how could I be getting message 2, 
3, etc.?


