* Roman Neuhauser <[EMAIL PROTECTED]> [05-12-2001 12:06]: | Hi there, | | I started playing with hooks, and can't get one thing to work: | | Let's say I want to have a different signature when mailing/replying to | [EMAIL PROTECTED] I put this in my .muttrc: | | send-hook . 'set signature = ~/bin/signature|' | send-hook '~e john@doe\\.com' 'set signature="FUBAR"' | | When I start mutt with this config, and locate a mail from john doe with | /~e john@doe\.com | (i. e. the pattern matches), and hit r, I get the regular signature, not | the customized one. | | What ad I doing wrong?
Spotted in TFM: ~e EXPR message which contains EXPR in the ``Sender'' field In your scenario, John Doe isn't the sender, *you* are the sender. John Doe was the sender of the mail you received from him, but since you're replying, there is a new message, which contains John Doe as recipient, not as sender. You'll probably want one of these: ~C, ~c or ~t. HTH, -- René Clerc - ([EMAIL PROTECTED]) If you want to make God laugh, tell him about your plans. -Woody Allen
msg21074/pgp00000.pgp
Description: PGP signature