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.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 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 C783C1F8C8; Thu, 16 Sep 2021 20:04:23 +0000 (UTC) Date: Thu, 16 Sep 2021 20:04:23 +0000 From: Eric Wong To: Konstantin Ryabitsev Cc: Luis Chamberlain , meta@public-inbox.org Subject: IMAP vs NNTP [was: make menuconfig interface for lei / grok-pull] Message-ID: <20210916200423.GA22856@dcvr> References: <20210915230605.GA22173@dcvr> <20210916174312.5tj53h4mq5ngnake@meerkat.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210916174312.5tj53h4mq5ngnake@meerkat.local> List-Id: Konstantin Ryabitsev wrote: > On Wed, Sep 15, 2021 at 11:06:05PM +0000, Eric Wong wrote: > > Does lore.kernel.org run public-inbox-imapd? > > I'm still not convinced it's useful for huge collections, especially > considering how chatty IMAP is. Is there any benefit to enable it for lei use? lei tries to treat IMAP and NNTP the same for (import|tag). One benefit of IMAP over NNTP is it doesn't add Xref or Newsgroups headers that could throw off OID-based deduplication. The other is compression (see below). lei will be able to use IMAP IDLE to detect new messages for auto-import; AFAIK there's nothing like it in NNTP. In general, client-side support for read-only IMAP folders is lacking, but lei isn't too different in that regard. On the Perl side (which affects lei): * the Mail::IMAPClient maintainer has been responsive to bugfixes I've sent, while the Net::NNTP (libnet) maintainer hasn't been. * as a result, Net::NNTP doesn't have DEFLATE support, yet https://rt.cpan.org/Ticket/Display.html?id=129966 https://rt.cpan.org/Ticket/Display.html?id=129967 * Net::NNTP is bundled with Perl, but Mail::IMAPClient is a separate package (but widely-packaged by distros)