Hi!
I'm trying to change my "From" header when the message I write has
certain subject. In particular, I want Mutt to change my adress when the
subject line is something like this:
Subject: This is an example [NG:fido.foo]
Besides, the messages have to be for certain address, YANG (an alias
in my system), to do it right. I've tried this:
send-hook '~t ^YANG.* ~s ^.*\[NG:fido.*$' 'my_hdr From: [EMAIL PROTECTED]'
(Not the real example, shortened for simplicity's sake)
But it doesn't work :-m Mutt doesn't detect that subject when I
write it. In fact, even putting in the hook just the ~s part, it doesn't
work. I've spent more than an hour trying differente regexps and I can't
make it work :-( I'm even thinking it's a bug, but I want to know if it's
only something I'm doing wrong (seems more likely to me).
Anyone?
Thanks in advance :-)
--
Roberto Suarez Soto | Sure there's no way to turn it
mailto:[EMAIL PROTECTED] | Back to the old days
* Corgo - Lugo - Galicia - Spain | Of bliss and cheerful laughter