Hi Jeffery, mutt users,
* Jeffery Small <[email protected]> [26. Dec. 2010]:
> When composing a normal message in mutt (1.5.21), after exiting the text
> editor and returning to the header/attachment page prior to sending,
> the Fcc: box is properly set based upon value in the hook file for the
> recipient.
> 
> However, in some circumstances while editing the original message, I alter
> the From: line to an alternative address I use with a different domain
> name.  In this situation, when I exit the text editor, mutt apparently does
> not scan the hook file and simply sets Fcc: to the default value.

>From the manual:

19. Change Settings Based Upon Message Recipients
[...]
   reply-hook [!]pattern command
   send-hook [!]pattern command
   send2-hook [!]pattern command
[...]
   send2-hook is matched every time a message is changed, either
   by editing it, or by using the compose menu to change its
   recipients or subject.  send2-hook is executed after
   send-hook, and can, e.g., be used to set parameters such as
   the $sendmail variable depending on the message's sender
   address.


--> use send2-hook.

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-

Reply via email to