From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.1 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 373D61F852; Thu, 22 Dec 2022 11:38:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1671709130; bh=UGLs5xr7ZTUexi+DZXWaOQNGfJgONYCOF65JaCK+S80=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=13Lf/wvdeCEeAh+2hJB0yLWSzjRUT7UlnFvtEPirm2CTPXWhR3RHulZpCXIQkYMV6 KEqEkWvN47gytA6+9Xtc3g1h7aPufAMgPd0pT6xlepsmiSjQQoYGKmp8rtGIMGISJg VSmOYvBdVlGFGlKbrZWe+Ckc3a+RVUd/wA1WQoHc= Date: Thu, 22 Dec 2022 11:38:50 +0000 From: Eric Wong To: Chris Brannon Cc: meta@public-inbox.org Subject: Re: dovecot fronting for public-inbox-imapd + private mail groups? Message-ID: <20221222113850.M127335@dcvr> References: <87r0wsli5d.fsf@the-brannons.com> <20221221195421.GB5179@dcvr> <87ili4lb2w.fsf@the-brannons.com> <87y1qzk8r9.fsf@the-brannons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87y1qzk8r9.fsf@the-brannons.com> List-Id: Chris Brannon 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.