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.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE 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 AB49A1F54E for ; Sun, 14 Aug 2022 18:16:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1660501005; bh=HQgFzppTIOx0Ueb4RQu/jQM/ZN0+mfIJJcNvN4zrMBY=; h=Date:From:To:Subject:From; b=xNybmLpOrvcdehdQ+Czaiir5uAFqG3jHqPGRD866PI+Pz1CMJeFuYNSXZAKz1FpCL iS1TFgXSnIau7sXKg9QoK7u7/D5XPATMbC9FanfSE+NbmDdQlX30TaWs8x9T/StB2d KJS40blz7GUhxYvBQuOpdiDsP+pU3gmQGscHtyjI= Date: Sun, 14 Aug 2022 18:16:45 +0000 From: Eric Wong To: meta@public-inbox.org Subject: existing mail protocol thoughts (POP3 vs NNTP vs IMAP) Message-ID: <20220814181645.M588951@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline List-Id: Random thinking aloud on existing mail protocols... POP3 doesn't support compression, so that makes it wasteful. We also use a wonky account system to track deletes. POP3 is not supported by lei, yet, and Net::POP3 has the same performance problem as Net::NNTP and Mail::IMAPClient in that it lacks pipelining support. NNTP mandates extra headers (Path:, Newsgroup:, Xref:) which can waste space and screw up exact dedupe and DKIM checking. Compression support is still lacking in Net::NNTP[1]. IMAP supports compression, and doesn't add/modify existing headers at all. So I think it's the least bad from that perspective, but we need to slice it into multiple mailboxes to avoid overloading clients. JMAP doesn't have many widely available CLI client options in distros, atm (e.g. mpop, getmail, offlineimap, isync/mbsync, etc...) [1] Net::NNTP COMPRESS support patch: https://rt.cpan.org/Ticket/Display.html?id=129967