highlighting messages to/cc me on mailing list?
Joe Damato
jdamato at fastly.com
Sun May 12 23:49:45 UTC 2024
On Mon, May 13, 2024 at 12:13:47AM +0200, Francesco Ariis wrote:
> Hello Joe,
>
> Il 12 maggio 2024 alle 14:47 Joe Damato via Mutt-users ha scritto:
> > Is there any way to get mutt to highlight/colorize/mark or somehow
> > indicate to me messages which specifically have my email in the TO or CC
> > line so that I don't miss those?
>
> This is what I do. First you add a score rule like
>
> # ~C: messages either to: or cc: EXPR
> score "~C somename" 120
>
> and then you assign a colour to messages.
>
> color index green black "~n >100"
>
> Scoring emails gives me a crude but effective way to scan important
> messages at first sight.
> Will this do?
Thanks! This seems to have done the trick and I think this should work.
A follow up question: is there a way to apply this to only specific imap
directories?
The way I am using mutt is, again super basic, but:
1. I have a gmail account and mutt configured use gmail's imap/smtp setup.
2. In gmail, I have created some "labels" which appear in mutt as imap
directories and I've created some filters in gmail to apply labels to
certain messages.
This has the effect that all messages to netdev at ... get labeled "netdev",
and skip my inbox completely (which is nice).
Since "labels" seem to be directories, in mutt I press 'c' and then '?'
and I can select the netdev imap directory showing only netdev related
stuff and I see messages which mention me highlighted in green.
Can I apply the scoring rule only to one imap directory by any chance?
Asking because the scoring basically colors my entire inbox green but works
great in the netdev directory :)
Thanks,
Joe
More information about the Mutt-users
mailing list