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

Re: Problems with latest imap stuff



Message-ID: <SIMEON.9810141029.D57898@warhol.esys.ca>
Priority: NORMAL
X-Mailer: Simeon for Aix Motif Version Mercury a8 Build (11)
MIME-Version: 1.0
Content-Type: Text/PLAIN; CHARSET=US-ASCII


> Given that several servers seem broken, perhaps we should start
> collecting thoose connect-strings and look for them while connecting
> and refuse to talk to them. I really hate that but...

Clients must NEVER interpret the contents of the banner. Doing so leads to 
madness, as has been proven time and time again. 

In this case, if all you want to do is differentiate between RFC1730 and 
RFC2060 capable servers, use the CAPABILITY command and switch based on the 
IMAP4 and IMAP4REV1 responses.

As for broken servers, yell at the server vendor. Don't promote broken 
software by special casing in the client. Instead, make the client robust in 
the face of unexpected behaviour.

--lyndon