Hi,
what you could try is to associate various identitys with send-hooks in this way: send-hook . "source identity_a0" # default config send-hook "~f identity_a1" "source a1" # the a1 identity send-hook "~f identity_a2" "source a2" # the a2 identity
and so on...
where "~f identity_a1" is one of your email identities and a1, a2 set the
various identity parameters, signatures, headers and stuff in seperate files. Don't forget some parameters you'll have to set to zero, for example: ignore * for the headers.
Don't know if this will work but if successfull post the results.

All the best.

On Mon, 11.04.16, tech-lists wrote:
Hello list,

In my .muttrc I have a section that begins like this:
###
macro compose v "<edit-from>^Uidentity_<Tab>" "Select from"
###

after this I have various addresses:

alias identity_a0 my-preferred-email-address <email@somplace.wherever>
alias identity_a1 my-work-email-address <work@workplace.wherever>

This setup works well, allowing me to set the From: from a drop-down
before I send.

What I'd like is, for each From: also associate a sig and other
characteristics, like whether by default the email should be
gpg-signed, what other headers it wants. Is there an elegant way to do
this? I don't want "being able to select the other address" to change,
hopefully that can remain as-is. What I want is the *consequences of
that selection* to change, so that on selection it's not just the
"From:" that changes, but the other stuff as well.

Many thanks,
--
J.


All the best,
--
Wim

Reply via email to