MBOX-Line: From slusarz at curecanti.org  Mon Nov 26 17:48:14 2012
To: imap-protocol@u.washington.edu
From: Michael M Slusarz <slusarz@curecanti.org>
Date: Fri Jun  8 12:34:49 2018
Subject: [Imap-protocol] Re: Suspend/Restore feature proposal
In-Reply-To: <CABa8R6vCJJ_oQqiMW2Ofqu1Se-hm+h8dYx7DN6qDVT4so2mDtg@mail.gmail.com>
References: <20121115215854.Horde.zz6B0O0tmt3ylHiEXzXhQQ4@bigworm.curecanti.org>
	<CABa8R6tHP2My0k2LqT1RzHoLQZA+X_jwUMU0cydm2sAwo8f4Fg@mail.gmail.com>
	<20121116143137.Horde.7Kb3aEW5DhM6CnuA2hAx4Q8@bigworm.curecanti.org>
	<e122fa25-9110-4b36-855d-0e7e273c5805@flaska.net>
	<20121121155417.Horde.ZeW7JqTPNxTAI-hTtrAT-Q9@bigworm.curecanti.org>
	<68035860-387d-43a9-8bb7-00744a7868b9@flaska.net>
	<20121126173224.Horde.BbqbGly8D0JG4aqG7fxoMw1@bigworm.curecanti.org>
	<CABa8R6vCJJ_oQqiMW2Ofqu1Se-hm+h8dYx7DN6qDVT4so2mDtg@mail.gmail.com>
Message-ID: <20121126184814.Horde.pVkfF8iCAZNxKh-rRJmQ2g1@bigworm.curecanti.org>

Quoting Brandon Long <blong@google.com>:

> On Mon, Nov 26, 2012 at 4:32 PM, Michael M Slusarz  
> <slusarz@curecanti.org>wrote:
>>
>>
>> Because there's still no guarantee it's the same server/connection: that
>> is the key to all of this.  A server can "look" the same but that doesn't
>> proves anything.
>>
>> What happens when the server is upgraded and UTF-8 searching now works?
>>  The CAPABILITY string is exactly the same.  But UTF-8 has been marked as a
>> bad charset so it will still not be available.  And what about those
>> commands that have been determined to be broken previously in the session?
>>  It is reasonable to expect the CAPABILITY string to be the same between
>> point releases of an IMAP server, but the server may have fixed the bug
>> that was causing bad command behavior.
>
> So, you deduce bugs in the server and then remember them... and this is
> better than violating the ID spec?

Yes.  In fact we are quite proud of this.  100% foolproof and works on  
every server past, present, and future.

Not sure how you are supposed to do this on IMAP servers that don't  
support ID.  Or don't send version information: Dovecot, for one,  
doesn't by default.  Or for installations that use a version of your  
software released before a particular IMAP server even breaks (full  
disclosure: the recent Cyrus break is weird because it sent a BYE and  
terminated instead of a failed command, so that wasn't previously  
scanned for so we weren't catching this until recently. so we're not  
perfect either.).

IMAP command sniffing = javascript browser sniffing.  The days of  
parsing a browser's User-Agent field are so 1999.

michael


