> Date: Wed, 5 Dec 2001 12:17:31 +0100 > From: René Clerc <[EMAIL PROTECTED]> > To: mutt-users <[EMAIL PROTECTED]> > Subject: Re: matching in hooks > > * 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, Yes, that was it. Thanks a lot.
-- FreeBSD 4.4-STABLE 1:12PM up 42 days, 23:55, 13 users, load averages: 0.06, 0.05, 0.06