On Mon, Feb 14, 2000 at 01:46:50PM +0100 or thereabouts, Lukas Ruf wrote:
> Dear list,
> 
> is there a possibility to specify within Mutt a function, that filters
> the incoming emails and marks them as read if the pattern matches ?
> 
> The problem: I receive lots of email -- some of them are important,
> others not. In fact, I want to keep all of them but I would like to be
> informed by mutt only if some of them arrived.

I'd mostly do this outside mutt.

If I understand what you're saying, then the solution I'd use, since
I use lots of mailboxes for lots of lists and its not much of a tweak, 
would be to have procmail sending the ones I want to know about to one 
mailbox, and the ones I don't want to know about immediately to another, 
and then having the 'mailboxes' line of my muttrc only know about the 
important folder.

I do this on a limited basis already: I don't have my ~/Mail/sent file 
in my mailboxes line, for example, as I can usually guess when something 
arrives in that :)

I assume you have mutt open all the time, since it's mutt you want
to notify you. Other alternatives would be to get procmail to beep
and say "new important mail" or something, or to do what I also do: 
have your shell looking in a variety of places for email and giving 
you "you have new mail in <whereever>" if it's an important place. 
Only problem with that solution is that I have lots of windows open 
in X, and I get the 'you have new list-mail' or 'you have new personal
mail' message in each shell. I'm sure there's a way around that,
but I have never cared enough to find it. (The variable in bash is
MAILPATH; I believe someone posted the equivalents for other shells
recently.)

Telsa

Reply via email to