Chris Brannon <[email protected]> wrote:
> Well, nginx as a mail proxy looks promising, but it doesn't yet work
> with public-inbox-imapd.  Nginx sends the authentication information as
> synchronizing literals [RFC9051, section 4.3].

Oops, yeah...  public-inbox-imapd doesn't yet support most uses
of synchronizing literals since it's mostly for read-only stuff
which clients will send in a line-oriented way.

> So the login sequence looks similar to this example lifted from RFC9051
> section 7.6:
> 
>      C: A001 LOGIN {11}
>      S: + Ready for additional command text
>      C: FRED FOOBAR {7}
>      S: + Ready for additional command text
>      C: fat man
>      S: A001 OK LOGIN completed
> 
> I could potentially look into working up a patch, though my Perl is
> rusty and more than 15 years out of practice.

I would probably adapt the existing HTTP psgi.input logic for
dealing with them.  But no worries, I should be able to handle
it.  I'd have to support them eventually if I turn lei into a
localhost-only R/W IMAP server.

Reply via email to