On Thu, Mar 09, 2000 at 03:34:08PM -0500, Josh Kuperman wrote:
> I have a bunch of signature files I use with friends, which I wan't to
> be used only for messages to those friends. If I exit out and then
> start mutt again everything works as I expect. . And that part works
> fine. But I can't figure out how to get it to reset to my default
> .signature file for the next message.
>
> send-hook fred "set signature=~/.signature-fred"
> send-hook ethel "set signature=~/.signature-ethel"
> send-hook lucy "set signature=~/.signature-lucy"
> send-hook ricky "set signature=~/.signature-ricardo"
> #send-hook * "set signature=~/.signature"
Change `*' to `.': this means default hook (RTFM for details). As you
said, the '*' will match anything: from what I can gather, `.' will
be used if no other hook matches. So, in effect, it's the default
action.
This from my .muttrc:
send-hook . set signature=~/.sig/normal
send-hook (debian-.*@.*debian.org|[EMAIL PROTECTED])$ \
'set signature=~/.sig/public'
send-hook ^majordomo|request@ \
'set signature=""'
This works fine for me.
HTH, HAND,
--
Alisdair McDiarmid [EMAIL PROTECTED]