<<< Date Index >>>     <<< Thread Index >>>

Re: send-hook and different email accounts



On Thursday, 25 September 2008, 17:10 (UTC+0200), Alexander Dahl wrote:
> Hi, 
> 
> > For example, I have my university address as the default "from:"
> > address. But I'm also active in a cycling organisation, and if someone
> > with whom I've never exchanged email before sends a message to me at
> > that address, no hook will match, but I'd still like the reply to
> > originate from the cycling address, not the uni address. Currently, I
> > have to set this manually (using a macro).
> 
> I want the same thing and have configured it as follows (@ and .
> replaced ;))
> 
> set reverse_name
> set realname    = 'Alexander Dahl'
> set from        = "post(at)lespocky(dot)de"
> set use_from    = yes
> alternates "post(at)lespocky(dot)de|lespocky(at)web(de)"
> 
> This does exactly what you describe, you simply have to set the
> mail-adresses you use as alternates, no hooks or macros or my_hdr
> modifications necessary.

Well, yes, but I am running mutt 1.5.15, and there I need "my_hdr
From" for send-hooks, and that then messes up reverse_name. 

m.