I have some problems with the send-hooks in my muttrc.  It does not seem to
work as I expect it.  Maybe someone can enlighten me.

I have these two send-hooks in my muttrc

send-hook '~t@' 'my_hdr From: Default Name <default@email> ; set 
sendmail='/path/to/sendmail -oi -oem -f default@email'"
send-hook '~t@work' 'my_hdr From: Work Name <workname@work> ; set 
sendmail='/path/to/sendmail -oi -oem -f workname@work'"

i thought that would mean that whenever I send a mail addressed to anyone with
a @work address mutt would set the sendmail as per the send-hook rule and the From: as 
well.

But if i send a work email and then send a personal one...it does not set the
sendmail back to the default@email but the From is correct....

anybody knows what I am talking about here?

======================================================================
E-Mail : [EMAIL PROTECTED]
ICQ No.: 38756924
Public GPG Key :
http://germany.keyserver.net:11371/pks/lookup?op=get&search=0xA5D29407

Norm:  Gentlemen, start your taps.
                -- Cheers, The Coach's Daughter

Coach: How's life treating you, Norm?
Norm:  Like it caught me in bed with his wife.
                -- Cheers, Any Friend of Diane's

Coach: How's life, Norm?
Norm:  Not for the squeamish, Coach.
                -- Cheers, Friends, Romans, and Accountants
=======================================================================

Reply via email to