Re: filtering headers from forwarded messages

2021-01-03 Thread Daniel Kahn Gillmor
On Sun 2021-01-03 09:48:56 +0200, Teemu Likonen wrote: > But yes, it would be nice to filter headers like "Received", maybe > "DKIM-Signature" and various unofficial headers starting with "X-". Right, my current value of message-forward-ignored-headers is: ("^Content-Transfer-Encoding:"

Re: filtering headers from forwarded messages

2021-01-02 Thread Teemu Likonen
* 2020-12-31 17:39:23-0500, Daniel Kahn Gillmor wrote: > On Wed 2020-12-30 12:46:02 +0200, Teemu Likonen wrote: >> What about forwarding a message as MIME part which is just "text/plain" >> (and not "message/rfc822")? > > This might be useful for some people, but doesn't really satisfy my >

Re: filtering headers from forwarded messages

2020-12-31 Thread Daniel Kahn Gillmor
Hi Teemu-- On Wed 2020-12-30 12:46:02 +0200, Teemu Likonen wrote: > I don't know any automatic way to remove headers from an email message > that is stored as a MIME part. The straightforward way seems to be to parse/interpret the message with our knowledge of rfc5322, identify the headers to be

Re: filtering headers from forwarded messages

2020-12-30 Thread Teemu Likonen
* 2020-12-24 12:56:09-0500, Daniel Kahn Gillmor wrote: >> On Wed 2020-01-08 10:25:50 -0500, Daniel Kahn Gillmor wrote: >>> Thanks for the pointer! it looks like >>> message-forward-{ignored,included}-headers should do (roughly) what >>> i want. I'll try them out. > Hm, it now looks to me like

Re: filtering headers from forwarded messages

2020-12-24 Thread Daniel Kahn Gillmor
On Thu 2020-01-16 15:20:49 -0500, Daniel Kahn Gillmor wrote: > On Wed 2020-01-08 10:25:50 -0500, Daniel Kahn Gillmor wrote: >> Thanks for the pointer! it looks like >> message-forward-{ignored,included}-headers should do (roughly) what i >> want. I'll try them out. > > Just reporting back that

Re: filtering headers from forwarded messages

2020-01-16 Thread Daniel Kahn Gillmor
On Wed 2020-01-08 10:25:50 -0500, Daniel Kahn Gillmor wrote: > Thanks for the pointer! it looks like > message-forward-{ignored,included}-headers should do (roughly) what i > want. I'll try them out. Just reporting back that they do indeed suit my purposes. Things are much nicer now that i've

Re: filtering headers from forwarded messages

2020-01-08 Thread Daniel Kahn Gillmor
On Mon 2019-12-30 15:16:59 +0200, Teemu Likonen wrote: > Daniel Kahn Gillmor [2019-12-20T13:50:03-05] wrote: > >> In notmuch-emacs, i can manually filter the headers by editing the >> reply compose buffer, of course, but it's kind of a pain, and it'd be >> nice to have it done automatically for

Re: filtering headers from forwarded messages

2019-12-30 Thread Teemu Likonen
Daniel Kahn Gillmor [2019-12-20T13:50:03-05] wrote: > In notmuch-emacs, i can manually filter the headers by editing the > reply compose buffer, of course, but it's kind of a pain, and it'd be > nice to have it done automatically for me. > Has anyone else considered this use case, or thought

filtering headers from forwarded messages

2019-12-20 Thread Daniel Kahn Gillmor
hey folks-- i recently had cause to forward a set of messages to a colleague via notmuch (thank you for "notmuch-show-forward-open-messages"!), and noticed that forwarding messages that i've personally received leaks quite a bit of metadata about message delivery paths that is (a) generally not