* Cliff Sarginson <[EMAIL PROTECTED]> [09-Fri-01 00:53 -0700]:
>Is it possible to associate a particular message signature
>to a particular mail-folder and/or recipient ?
yeah. i just did it today :)
the example for recepient is in the userguide ('sept they
set the 'from' header there, and not signature)
http://www.mutt.org/doc/manual/manual-4.html#ss4.4
For example, if you wanted to set your return address
based upon sending mail to a specific address, you could
do something like:
send-hook '~t ^me@cs\.hmc\.edu$' 'my_hdr From: Mutt User <user@host>'
for the signature, based on folder: (i am also setting
'from' based on folder)
# default signature. i think you need this as a means of 'resetting
# your sig for the rest of the folders, other then the one you need
# to change
folder-hook . 'set signature="~/.signature"'
# and this is how i set signature.
folder-hook =nomadix 'set signature="~/.signature.nomadix"'
to do the .sig based on 'to', just combine what's in the
manual with example above
<disclaimer>
i am fairly new to mutt, so the way i do things may not
be *THE* way to do things, but this i just tested today
and it works :)
</disclaimer>
denis
--
// mailto: Denis Perelyubskiy <[EMAIL PROTECTED]>
// icq : 12359698
// PGP : http://www.cs.ucla.edu/~denisp/files/pgp.asc