Greetings!
While composing my question to the list, I inadvertently answered it. :-)
So I thought I'd share both the problem and the solution with the list.
My original question:
=====================
The mutt manual says:
> ~f USER messages originating from USER
It seems that this matching is based on the "From: " header, not the
"^From " line that indicates a new message in the mbox mail folder
format.
Someone set up a majordomo list so that none of the headers identify
the list. So *only* the "^From " line identifies the list to which
email is mailed. Neither the To: header, the From: header, the
Sender: header, nor any other header identifies the mailing list.
I'd like to define a save-hook for this mailing list, but cannot
figure out how to do without being able to match on the "^From " line.
But mutt doesn't seem to have a matching option for this. How can I do
this?
My solution:
============
The mutt manual says:
> ~B EXPR messages which contain EXPR in the whole message
If you use the mbox format, there should be one and only one "^From "
line in any message. So use ~B to match the '^From ' line:
save-hook '~B "^From some-list-owner@"' =some-list
:-)
David
--
Live in a world of your own, but always welcome visitors.