Tim:
> > > Whacking this clause into my sieve script *before* it does the mail
> > > sorting into different folders, may just do the trick:
> > >
> > > ##### highlight my list messages
> > > if exists "List-ID" {
> > > if anyof
> > > (
> > > address :contains ["to", "cc", "from"] "Tim"
> > > )
> > > {
> > > addflag "$label1";
> > > }
> > > }
And again, Tim:
> > And apparently not... though my internal tests just checking for a
> > Message-ID did work. I wonder if "Id" is case-sensitive?
Stephen Morris:
> Hi Tim, it is potentially case sensitive. I've seen situations where it
> specified as "List-ID" and I've seen situations where it is specified as
> "List-Id", so in my Thunderbird rules I specify both.
I changed it from ID to Id and it still didn't work. Later on, it is
working, with no further changes from me. That makes no sense, I hate
it when computing is inconsistent.
I did various tests on other headers, just sending local mail, it
didn't care how I'd capitalised "subject" in:
if exists "subject"
They all worked.
Email headers are not supposed to be case-sensitive, which infers that
list headers may not always be exactly as expected, and any software
that looks at headers should also be case-insensitive.
Anyway, this dovecot sieve rule appears to work now:
##### highlight my list messages
if exists "List-Id" {
if anyof
(
address :contains ["to", "cc", "from"] "[email protected]",
address :contains ["to", "cc", "from"] "Tim"
)
{
addflag "$label1";
}
}
It labels messages from or (some) for me as important (though not the
same as flagging the message priority as important), which colours them
red. And I can easily undo the label in the email client if I want to
(or if it red-flagged the wrong mail).
This message from you in reply to mine wasn't highlighted though, since
my address doesn't appear anywhere in the recipient addresses. In this
day and age of necessary address munging, there's no simple solution to
make it always do what I want. Some messages will be simply addressed
to: [email protected]
Still, it goes some way to catching my attention, even if some messages
are missed.
--
uname -rsvp
Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
(yes, this is the output from uname for this PC when I posted)
Boilerplate: All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue