On Fri, May 22, 2015 at 02:15:40PM +0100, spaceman wrote: Hi, > I use > folder-hook ~/mail/space...@antispaceman.com/* source > ~/.mutt/profiles/space...@antispaceman.com > to change the from depending on which folder (or account in this case) I'm in. > > You do the same with account-hook I'm assuming (if you using imap). You > could also define a macro to quickly change between profiles. > > You could also use send-hook for specific addresses that need to go from > certain accounts: > send-hook "~t space...@antispaceman.com" source > ~/.mutt/profiles/space...@antispaceman.com
I have an additional question regarding this: most of the time mutt should reply by using the address which received the mail, "set reverse_name=yes" seems to do this fine. For a few mailing lists this does not work because the mail "To:" has the mailing list address instead of my email address. What is the best way to deal with this? I tried reply-hook "~t mailing-list.org" "my_hdr From: Richard <em...@gmail.com>" but it uses the "default" email instead silently ignoring the my_hdr. Richard --- Name and OpenPGP keys available from pgp key servers
pgpPKaM9rtWti.pgp
Description: PGP signature