nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Feature requests (or explanation of how to do 'em if a


From: David Levine
Subject: Re: [Nmh-workers] Feature requests (or explanation of how to do 'em if already there)
Date: Sat, 25 Oct 2014 00:16:29 -0400

Ken wrote:

> > [Jon wrote]:

> >1.  Most emails have both text and html parts nowadays.  If I'm
> >    reading such a message want to store the html part it always
> >    stores it with a .txt suffix.  And, because browsers don't
> >    actually look at the contents, they treat itas a text file
> >    instead of a html file so I have to rename the file.  Would be
> >    nice if it stored it with a .htm or .html suffix.
>
> FWIW, yeah, that totally bugs me as well.  It's on my list of things
> to fix (but I'm kinda busy now, so it won't happen for a while).  In
> theory, I would think it would be relatively easy, but I just have
> to trawl through a bunch of code to figure out how that works.

Add this to your profile:

  mhstore-store-text/html: %m%P.html

We could add it to mhn.defaults.  But it would be nice to have a
more general solution.

> >2.  I have a whole pile of mail aliases for myself in my domain
> >    that I use for communications with different parties. I usually
> >    create a new one for every merchant with whom I do business.
> >    If I receive an email directed to one of these aliases and
> >    reply to it it uses my address instead of the alias in the from
> >    and I always have to change it.  Would be nice if it used the
> >    incoming address.
>
> You can actually do that now, with the existing format files.  Okay, yes,
> the format language isn't wonderful, but you can use fmttest(1) to help
> you debug that now.  This message actually uses that technique.  You
> probably want something like:
>
> From: %{to}
>
> in there.  Or maybe:
>
> From: Jon Steinhart %(addr{to}))

That falls apart if there are multiple To: addresses.

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]