On Thu, Nov 16, 2000 at 10:47:16PM -0500, Ethan Pierce wrote:
> Hi, following the suggestion of reading the manual a bit more :) I
> found out how to set my header for a reply to a mailing list.  I use
> the following command:
> 
> send-hook '~t ^some@malinglist\.net$' 'my_hdr From: name <[EMAIL PROTECTED]>'
> 
> after I reply to one of these mailing lists all my future emails have
> the latter my_hdr From: information and not the default.  If I dont
> reply to any mailing list messages on a fresh launch of mutt my_hdr
> From: is correct.  Any ideas how to reset this back to default if I
> choose to reply to the mailing list??

This problem is commonly encountered by first-time send-hook users.
Just add a default send-hook like this:

    send-hook . 'unmy_hdr From:'
    send-hook '~t ^some@malinglist\.net$' 'my_hdr From: name <[EMAIL PROTECTED]>'

Send-hooks are executed in the order they appear in your muttrc, so the
default send-hook must appear first.

Gary

-- 
Gary Johnson                 | Agilent Technologies
[EMAIL PROTECTED]     | RF Communications Product Generation Unit
                             | Spokane, Washington, USA

Reply via email to