Hardy Merrill <[EMAIL PROTECTED]> wrote on Wed, 19 Jul 2000:
> Here is my mutt-users save-hook:
>
> save-hook mutt-users =Mutt-users
This won't work, because if you don't supply a regexp with a Mutt
pattern operator, the $default_hook gets used -- which will match
the given pattern agains the From header, if the message is not sent
by you (as determined by $alternatives), or the To/Cc headers, if the
message is from you.
So the above regexp you showed will match:
From: mutt-users
To: (any address)
or
From: (you)
To: mutt-users
The mutt-users list emails are obviously never sent by "mutt-users",
so that's why the save-hook only works for emails you've sent yourself
to the list.
You may want to do something like this instead:
save-hook "~C mutt-users" =Mutt-users
(there's probably better ways to match that, eg. the Sender header...)
For more info, please consult the manual section on save-hooks, the
message matching section, and the $default_hook description.
Hope this helps,
Mikko
--
// Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/
// The Corrs list maintainer // net.freak // DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"I respect faith, but doubt is what gets you an education." -- Wilson Mizner