package mutt close 316512 thanks
Hello Wolfgang, thank you for the precise report. On Friday, July 1, 2005 at 3:30:26 PM +0200, Wolfgang Weisselberg wrote: >| send2-hook . 'my_hdr From: <[EMAIL PROTECTED]>' > observe: From IS NOT SET! That is not a bug, things are designed like that. At the time send2-hooks are triggered, the sender of the currently composed mail is already fixed. It's too late for changing sender via $from, via $reverse_name, or even via "my_hdr From:". In fact it's too late for any "my_hdr". The only way a send2-hook has to change the sender is via pushing <edit-from>: | send2-hook . "push <edit-from><kill-line>[EMAIL PROTECTED]<Enter>" The advantage in return is that a send2-hook pattern can depend on the sender. Bye! Alain. -- Mutt muttrc tip for mailing lists: set followup_to=yes and declare the list as - subscribe [EMAIL PROTECTED] if you are subscribed and don't want courtesy copy. - lists [EMAIL PROTECTED] if you are not subscribed or want a courtesy copy. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]