On 2008-05-14, Albert Shih <[EMAIL PROTECTED]> wrote: > Hi all > > I would like to known if it's possible (and easy of course) to > make something like > > grep -v "someword" > > in a message when I read it, and this depend the from. > > More precisly what I want to do is (for example) > > grep -v "sshd" > > in the body of a message send by the system (like logcheck). But > of course I don't want this grep in a «normal» message.
message-hook ~A 'set display-filter=' message-hook '~f logcheck' 'set display-filter="grep -v sshd"' See the mutt manual, manual.txt, not the man page, for details. HTH, Gary