nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] Applying alias file , to Reply-To: and From: component


From: Ken Hornstein
Subject: Re: [Nmh-workers] Applying alias file , to Reply-To: and From: components of a draft
Date: Tue, 11 Nov 2014 13:34:08 -0500

>Is there a way, or does somebody have a script, to apply an alias file,
>(given by the "Aliasfile:" entry of .mh_profile) to the Reply-To: and From:
>components of a draft ?

Depending on what you're asking ... it's either "maybe", or "definitely
not".

Alias processing happens relatively late in post; that's pretty much the only
place where it's done (other than the "ali" command).  Alias processing
ONLY takes place if there's no hostname in the address.  But ... if those
conditions are met, it should happen for all headers that contain email
addresses.  So if your goal is to have a draft like this:

From: outgoing
To: somebody
Reply-to: somewhere

And an alias file that has:

outgoing: Mr Foo Bar <address@hidden>
somewhere: Send It Here <address@hidden>

That works (i just tested it).

If, however, you want an alias to be expanded when you do a 'repl', that's
not possible.

--Ken



reply via email to

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