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: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 509AD1F4B5 for ; Tue, 12 Nov 2019 22:44:25 +0000 (UTC) Received: by mail-qk1-x72e.google.com with SMTP id e187so37267qkf.4 for ; Tue, 12 Nov 2019 14:44:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=OD/Tzb1SBJERprgY6Q+W634Kkn5XOGvmdtTe/lXLzIg=; b=ENTbRSExRDoyh7XdofC6omkoeZ2yD6y3BuW9xjnSOYesETYm6aJSStzZBX43NnvI2L RRhLN/gagbXF3roybutb1juAT7DUyWvcK8mDucTAJIOh18h4g+Yp0zHLgYvMBdLYBxfz hj/j8ZlCpCfGypD3jSD3PEyPLHOAd4mv0E0tQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=OD/Tzb1SBJERprgY6Q+W634Kkn5XOGvmdtTe/lXLzIg=; b=nnRlHLowrCStovBXrouchGgcCPtLTiMT4QienvajKKBNaKWORc0OwNsFUtqYGgIT2T Ukw6dGKLKNOxMeVN+ttbCcCCAeq7tC51vyXe8q3yaGfwYJa4CZ9S7FlIgIx1GW10I1QA HeUrBXl/JpINGp9K4K7aXtosz4LXMJep1i1RajnNZT0djicH1TMCBUZikrhGictKG9t0 pBaycVxQ6MjSJg75/2CCOL2saK2sD8mAXqtj1wEdnvlDOkTib0JzUOLPbrd+riGuLvNl JuOKo8J+fnOT/xJnEkBwYvWEVm1v5QwkDkQ56yKnh/NfBRZUd4UPOuow48EMOni9C8rv kvbw== X-Gm-Message-State: APjAAAWVVFMDNjPYvqZox31YKITbktun2HYzEkRe0YnI3qxOmbnbUr4f WAA4CcHesM9LRdPfd9bk0sQ+kw== X-Google-Smtp-Source: APXvYqyuo7xNP3G/KO0vYyqfrZ4sR3bNfUhbf5UtocyJEtAbilI8/HWAAuK+hiQoINJXTmYsI15ceg== X-Received: by 2002:a37:7f02:: with SMTP id a2mr17419571qkd.111.1573598663924; Tue, 12 Nov 2019 14:44:23 -0800 (PST) Received: from chatter.i7.local (107-179-243-71.cpe.teksavvy.com. [107.179.243.71]) by smtp.gmail.com with ESMTPSA id m22sm50565qka.28.2019.11.12.14.44.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2019 14:44:23 -0800 (PST) Date: Tue, 12 Nov 2019 17:44:21 -0500 From: Konstantin Ryabitsev To: Eric Wong Cc: Florian Weimer , meta@public-inbox.org Subject: Re: Archiving HTML mail Message-ID: <20191112224421.wnxdxz72xjxtvsjm@chatter.i7.local> Mail-Followup-To: Eric Wong , Florian Weimer , meta@public-inbox.org References: <87r22ddxly.fsf@mid.deneb.enyo.de> <20191112210923.GA9729@dcvr> <874kz8eqwf.fsf@mid.deneb.enyo.de> <20191112215307.GA20307@dcvr> <871rucda03.fsf@mid.deneb.enyo.de> <20191112222932.GA9643@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191112222932.GA9643@dcvr> List-Id: On Tue, Nov 12, 2019 at 10:29:32PM +0000, Eric Wong wrote: > > You have to rewrite the HTML parts anyway, to resolve RFC 2392 cid: > > links, prior to handing them to web browsers. I don't think web > > browsers support them. Neither over HTTP, nor browsing locally. > > Yeah. I guess it could be done on-the-fly at the WWW layer. > Parsing HTML is crazy expensive, though :< Someone I spoke with in recent past lamented that there is no mechanism to properly render markdown-formatted emails. I wonder if that's something that can be snuck in on the public-inbox level. :) Most email is already properly formatted markdown (paragraphs and blockquotes), so it's not *that* crazy of an idea. Just an off-the-cuff remark. > Fwiw, the admins of that server do get the original HTML messages > in ~/.public-inbox/emergency/ (or whatever PI_EMERGENCY is). > > emergency/ could be considered a "moderation queue" so the > admins could send personalized replies to legitimate senders who > got rejected. Such a message could be easier-to-digest than > whatever postfix sends, even with the PublicInbox::Filter::Base > rejection message. Now that public-inbox-mda supports list-id (THANK YOU!), my life moderating PI_EMERGENCY is much easier. For lore.kernel.org, emergency collects about a thousand messages a week. My Friday afternoon routine is usually to fire mutt, delete spam, and re-feed the remainder to public-inbox-mda with --no-precheck. -K