On Fri, May 22, 2015 at 04:17:15PM +0100, spaceman wrote: > Hi, > > >reply-hook "~t mailing-list.org" "my_hdr From: Richard > ><em...@gmail.com>" > > Not being an expert in hooks (or mutt) but it looks like my_hdr is the wrong > choice here. You probably need to do something like set from = "spaceman > <space...@antispaceman.com>" > to change whom you message comes from.
hm.. I was trying to follow this instructions http://dev.mutt.org/trac/wiki/UseCases/MultiAccounts where my_hdr is used. However for some reason the my_hdr is not used, signature set in th same way is. > I think setting the from alone > won't work because you email provider might reject it (mutt will still send > the message to the default provider). > > So I think you need your providers details (hostname, username, password and > the like) in a configuration file and then source that in the reply-hook > like in my send-hook. That's my best guess. > > I would provide an example but I use msmtp as an smtp client and mutt as the > user agent. I use esmtp and have this part working. Just need to figure out how to set "From:" in a hook. Richard --- Name and OpenPGP keys available from pgp key servers
pgpfYgJiOQ4VO.pgp
Description: PGP signature