On Jul 30, 2013, at 10:53 AM, Alexey Melnichuk <mimir@newmail.ru> wrote: > [1] https://github.com/vrld/imap4.lua Hmmm… sadly… the code above doesn't quite follow even basic tenets of rfc3501, e.g. case sensitivity: (1) Except as noted otherwise, all alphabetic characters are case-insensitive. The use of upper or lower case characters to define token strings is for editorial clarity only. Implementations MUST accept these strings in a case-insensitive fashion. https://tools.ietf.org/html/rfc3501#page-81