I'm having a problem with folder hooks in which I have (un)ignore
commands for From_ headers. After unignoring the From_ header in
one mailbox, I can't ignore it in others. The reason I want to
see the From_ line is that I am using mutt to read my procmail
log. This file has for each delivered email an entry showing the
`From ' and `Subject:' fields of the header and some other stuff.
I wrote for .procmail/log:
folder-hook procmail/log 'unignore "from "'
And this works.
But because this is not turned off when you change to another
mailbox, there has to be a default
folder-hook . 'ignore "from "'
And this works placed ahead of the other folder-hook in my
.muttrc when I first enter mutt.
The problem is after I have changed to .procmail/log, and then to
another mailbox, it doesn't work. I get both From_ and From: lines.
The ignore lines in my .muttrc:
> # default list of header fields to weed when displaying
> #
> ignore "from " received content- mime-version status x-status message-id
> ignore sender references return-path lines x-mailer priority precedence
> ignore x-sender reply-to mail-followup-to in-reply-to comments
> #my list
> ignore x- date user-agent organi cc delivered-to approved-by
> ignore resent- > list- importance newsgroups errors-to followup-to
> ignore supersedes
>
--
Greg Matheson Doing things right is
Chinmin College, Taiwan doing the right thing.
[EMAIL PROTECTED] Doing things wrong is education.