Jostein Gogstad wrote, on Fri, Mar 09, 2012 at 04:46:22PM +0100: > send-hook . 'my_hdr From: Incorrect from <incorr...@example.com>' > reply-hook . 'my_hdr From: Correct from <corr...@example.com>' > > The send hook always kicks in whenever I reply to a mail. If I drop the > send-hook, everything works fine.
So, I figured from [1] that send-hooks are in fact applied after reply-hooks. This wasn't really clear in the mutt documentation. Is there any way I can contribute to that? My problem still persist though. If anyone have a solution to the following scenario I'd be overwhelmed: 1) Fetchmail gathers mail from gmail and corporate mail and puts in $spoolfile. 2) I want to use my corporate e-mail address whenever I reply to mail sent to m...@mycompany.com, and whenever I send mail to some...@mycompany.com. 3) I want to my gmail address whenever the situation in 2) is not the case. [1] http://durak.org/sean/pubs/software/mutt/configuration.html#send-hook -- Jostein