user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
To: Eric Wong <e@80x24.org>
Cc: meta@public-inbox.org
Subject: Re: Archiving HTML mail
Date: Tue, 12 Nov 2019 22:17:04 +0100	[thread overview]
Message-ID: <874kz8eqwf.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <20191112210923.GA9729@dcvr> (Eric Wong's message of "Tue, 12 Nov 2019 21:09:23 +0000")

* Eric Wong:

> You can use "publicinbox.$NAME.filter = PublicInbox::Filter::Mirror"
> in the config to blindly mirror everything, which I use for
> public-inbox-watch.
> 
> I also added "--no-precheck" to public-inbox-mda recently which
> disables the last of the mda-specific checks:
> https://public-inbox.org/meta/20191016003956.13269-1-e@80x24.org/

Thanks for the pointers.

> text/html is currently shown inline as raw HTML since
> https://public-inbox.org/meta/20191031031220.21048-2-e@80x24.org/
> But maybe the HTML part shouldn't be shown inline at all in
> multiparts parents.

Yeah, there's some concern that this could be used to host phishing
forms.  I've seen this occasionally in the Debian mailing list archive
(where anti-phishing companies tend to report them several years later
to security@).

My feeling is that it would need some post-processing, maybe stripping
image links and forms (and Javascript of course).  Plus the separate
domain thing for additional XSS protection (like bugzilla.mozilla.org
does, IIRC).  But presumably you could put the entire list archive
under its own domain to avoid having to write code for that.

> FWIW, I suggest keeping your lists text-only so contributors can
> flow between different projects more easily and not get blocked
> by spam filters.  It's significantly more expensive to do spam
> processing on HTML mail and less accurate IME.  Better to teach
> contributors to optimize for low-end computers and limited
> bandwidth situations :)

While this is true, it is also a bad experience for those who send
their first email (which may be a huge step for some, I completely
lack perspective there), and then it gets rejected with an obscure
message.  It's also very confusing if Cc:s are involved and everyone
but the mailing list gets the message.

In some clients, it's now impossible to switch of HTML mail (but I
don't know which variant, whether that's HTML-only, or whether there's
still a client-generated text/plain alternative).

> Also, public-inbox-watch is designed to work in parallel with
> existing mailing lists.  I archive several lists (including
> libc-alpha@sourceware and git@vger) this way with no special
> permissions or access aside from being a regular subscriber.

I feel we need to change libc-alpha to accept text/html email.

  reply	other threads:[~2019-11-12 21:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-12 13:37 Archiving HTML mail Florian Weimer
2019-11-12 21:09 ` Eric Wong
2019-11-12 21:17   ` Florian Weimer [this message]
2019-11-12 21:53     ` Eric Wong
2019-11-12 22:07       ` Florian Weimer
2019-11-12 22:29         ` Eric Wong
2019-11-12 22:44           ` Konstantin Ryabitsev
2019-11-12 23:10             ` Eric Wong
2019-11-13 21:38               ` Konstantin Ryabitsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874kz8eqwf.fsf@mid.deneb.enyo.de \
    --to=fw@deneb.enyo.de \
    --cc=e@80x24.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).