nmh-workers
[Top][All Lists]
Advanced

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

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


From: Tethys
Subject: Re: [Nmh-workers] Dealing with missing From: header during send.
Date: Tue, 10 Jan 2012 10:30:02 +0000

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 
<address@hidden>%>

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



reply via email to

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