At 05:19 +0000 23 Mar 2000, J McKitrick <[EMAIL PROTECTED]> wrote:
> I'm trying to do two things here.  Change the sig and the From in my
> headers when i am in the 'school' folder.  So far, only the sig come
> up right.  I can't get the From field to change.

> send-hook . 'my_hdr From: J McKitrick <[EMAIL PROTECTED]>'

The above line is the problem.

> folder-hook school 'my_hdr From: J McKitrick <[EMAIL PROTECTED]>' 

Order in the .muttrc only matters for the same type of hook.  Your
folder-hook is working and setting up the header as you want it, but
when you send a message the above send-hook get's executed and overrides
the effect of the folder-hook.

Unfortunately, there isn't really a good way to do what you want.  I
guess this is another case where it would be nice to have a pattern
operator that matches against the current folder name.

-- 
Aaron Schrab     [EMAIL PROTECTED]      http://www.execpc.com/~aarons/
 A Linux machine! because a 486 is a terrible thing to waste!
    -- Joe Sloan <[EMAIL PROTECTED]>

Reply via email to