On Fri, Sep 13, 2002 at 12:59:08AM -0400, Andre Berger wrote: > and maybe this is also of help to you: > > send-hook '~t ^.*netgamers.org$' 'my_hdr From: myname@netgamers.org' If you do that, you should also probably add send-hook '!~t ^.*netgamers.org$' 'unmy_hdr From: myname@netgamers.org' Otherwise, after you send a message to foo@netgamers.org, all subsequent messages will have myname@netgamers.org in the From line. The above send-hooks eliminate the need for what I had been doing, which was setting a From header based on what mail folder I happened to be in. If I was in one whose name begins with deb, then noahm@debian.org was put in the from line. I did that with: folder-hook archive/(debian|deb)-.* 'my_hdr From: Noah Meyerhans <noahm@debian.org>' I love mutt. noah -- _______________________________________________________ | Web: http://web.morgul.net/~frodo/ | PGP Public Key: http://web.morgul.net/~frodo/mail.html
Attachment:
pgppbVW8p9_zg.pgp
Description: PGP signature