Re: Filter script to remove html, fullquotes and header lines

2022-03-21 Thread raf
On Mon, Mar 21, 2022 at 01:28:28PM +0100, Martin Trautmann wrote: > Am 2022-03-21 um 12:56 schrieb raf: > > textmail can probably do at least some of what you want: > > > >https://raf.org/textmail > >https://github.com/raforg/textmail > > > > and it has some extensibility so you can

Re: Filter script to remove html, fullquotes and header lines

2022-03-21 Thread Mark H. Wood
On Mon, Mar 21, 2022 at 08:46:52AM +1100, Cameron Simpson wrote: > On 20Mar2022 13:36, Martin Trautmann wrote: > >do you know about any mutt script that would go from message to message > >and > > > >1) remove a html part if a plain text part is given > > > >2) remove all trailing lines, > >  

Re: Filter script to remove html, fullquotes and header lines

2022-03-21 Thread Martin Trautmann
Am 2022-03-21 um 12:56 schrieb raf: textmail can probably do at least some of what you want: https://raf.org/textmail https://github.com/raforg/textmail and it has some extensibility so you can supply external translation programs for the bits it doesn't do. it can operate on individual

Re: Filter script to remove html, fullquotes and header lines

2022-03-21 Thread raf
On Mon, Mar 21, 2022 at 07:18:01AM +0100, Martin Trautmann wrote: > Am 2022-03-20 um 22:46 schrieb Cameron Simpson: > > I think you'll have to write your own. > > I agree - but I hoped it could have been done with some fine tuning of an > existing script. > > > > At minimum you need a full

Re: Filter script to remove html, fullquotes and header lines

2022-03-21 Thread Martin Trautmann
Am 2022-03-20 um 22:46 schrieb Cameron Simpson: I think you'll have to write your own. I agree - but I hoped it could have been done with some fine tuning of an existing script. At minimum you need a full mail message parser so that you are not filtering, say, base64 or QP content