MBOX-Line: From angel at 16bits.net  Wed Sep  3 16:03:42 2014
To: imap-protocol@u.washington.edu
From: =?ISO-8859-1?Q?=C1ngel_Gonz=E1lez?= <angel@16bits.net>
Date: Fri Jun  8 12:34:53 2018
Subject: [Imap-protocol] Seeking clarity on Gmail "Access for less
 secure apps" setting for non XOAuth2 access
In-Reply-To: <ca684549-f7c8-4260-bf34-329ff2671e1c@gulbrandsen.priv.no>
References: <5400A146.4020602@mozilla.com>
	<CABa8R6se2WefF4q-cFzR2qtU_5_jDL-wioPF+jPmOTdpCaJhtw@mail.gmail.com>
	<54011E24.4080209@mozilla.com>
	<6f3e9961-32e6-4b4b-866f-7ce5526b0bf8@gulbrandsen.priv.no>
	<CABa8R6vJUAo231ECkLyDsTmk08UGgS2E7i6SNZ==x6YwFOiPUw@mail.gmail.com>
	<1409774552.1122.3.camel@16bits.net>
	<03710d62-c480-4224-b33a-96f979ebd1a3@gulbrandsen.priv.no>
	<1409778099.1122.7.camel@16bits.net>
	<ca684549-f7c8-4260-bf34-329ff2671e1c@gulbrandsen.priv.no>
Message-ID: <1409785422.1122.9.camel@16bits.net>

Arnt Gulbrandsen wrote:
> Except that 5255 doesn't solve the problem at hand, it just changes it from 
> "what to do before ENABLE" into "what to do before LANGUAGE".
> 
> I did that a few weeks ago: Spent several days writing code only to 
> discover that I had solved one problem and now had another, exactly like 
> the first ;)
> 
> Arnt

What do you mean? The client should send LANGUAGE as the first command
(that is, if they want translated messages) so the only problem would be
if the server greeting is a BYE (IP banned or exhausted resources).
The best way seems to attempt mapping them to rfc5530 codes. The second
is a clear UNAVAILABLE, while for the former there are several not
exactly matching ones: NOPERM, AUTHENTICATIONFAILED, PRIVACYREQUIRED.

Regards


