On Wed, Feb 28, 2007 at 11:11:48AM -0700, Kyle Wheeler wrote: > Which is to be expected. From the manual > (http://www.mutt.org/doc/manual/manual-3.html):
Yeah, someone else quoted that to me before I posted, but I didn't see it in the man pages. > Sure. One way (this may seem pretty idiotic) is to use 'push' in your > hook, rather than trying to get the hook to do it itself. That allows > mutt to get around to changing the recipients when it is convenient. > Like this: > > send-hook '~t @utdallas\.edu$ !~t [EMAIL PROTECTED]' \ > 'push <edit-bcc>[EMAIL PROTECTED]<enter>' This seems to have a nasty effect if I start composing an email and then decide to cancel it. (The pushed key presses get sent to the folder index.) If I could fix that I'd be happy. > Also, my_hdr is a rather silly way to set your from address. Is there > a reason that you're not using $from? There may be a better way to > achieve what you're after. I also have set realname="Matthew R. Dempsky" set from="[EMAIL PROTECTED]" set use_from set envelope_from set reverse_name=yes (and a bunch of alternatives) in my .muttrc to use [EMAIL PROTECTED] by default. I only want to use [EMAIL PROTECTED] when sending email to school faculty/staff. I tried using send-hook ... 'set [EMAIL PROTECTED]' but that sets the from address for all future emails and not the current one. Is there a different way you had in mind? Thanks.
