nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Dealing with missing From: header during send.

2012-01-10 04:30:44

Lyndon Nerenberg writes:

Now, if nmh had the ability to preset the From: based
on which identity I received the message under...  Definitely
a feature I like about Gmail since there are 3 identities
I work under on a daily basis.

Yes, please!

It's already fairly easy to do this with replcomps:

        From: %<{X-Envelope-To}Tethys %{X-Envelope-To}%|Tethys 
<tet(_at_)example(_dot_)com>%>

That relies on some sendmail.mc config to add an X-Envelope-To header
to my mail on the way through:

        LOCAL_CONFIG
        HX-Envelope-From: $f
        HX-Envelope-To: $u

But that's all there is to it.

Tet

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>