On Tue, Jul 20, 1999 at 02:40:58PM -0700, Robert Chien wrote:
> hello mutt users,
> 
> i need some help with using hook in the following situation:
> 
> basically, i want to set signature to .signature.work when sending email
> to people at work, and set signature to just .signature for the rest.
> 
> i've been playing with different hooks without any success, because it's
> more difficult than i first thought. when i send email to co-workers, i
> can address it as "foo" or "foo@west" (notice the unqualified domain
> name) or "[EMAIL PROTECTED]" or "[EMAIL PROTECTED]". because of this wide
> variety, i haven't been able to successfully configure my hooks.
> 
> maybe i overlooked something and the answer is really simple, if so,
> please point it out to me.

Sounds like you need to set your default signature to be "work" and then
set your signature whenever you want to "change" it... you can do this
as hooks based on your aliases or send-hooks or whatever (I think this is
tersely presented on the Mutt pages: at least that's where <I> got it 
from, I'm pretty sure).  But here's some examples...


# Here's the default....
send-hook . \
        'set signature="/usr/home/russell/.sigs/bin/rsig.pl quotes |"'

$ Here's what happens when I use this account to send mail "from/to loosenut"
send-hook       loosenut.com    set signature="~/.sigs/loosenut"
send-hook       loosenut.com    \
        my_hdr From: Russell Van Tassell <[EMAIL PROTECTED]>



...the possibilities are fairly limitless, but hopefully this gives you
something to go on...


-- 
Russell M. Van Tassell
[EMAIL PROTECTED]

     "I stand by all the misstatements that I've made." -- VP Dan Quayle

Reply via email to