Discussion:
spam feature in mutt
Ralf Hildebrandt
2018-07-20 14:50:42 UTC
Permalink
I'm using

spam "^X-Spam: Yes" "SPAM"
set index_format="%H %4C %Z %D %-15.15L %s"

to display spammy mails in the index. But how can I tag those spammy
mails? Which pattern do I have to use?
--
Ralf Hildebrandt
Geschäftsbereich IT | Abteilung Netzwerk
Charité - Universitätsmedizin Berlin
Campus Benjamin Franklin
Hindenburgdamm 30 | D-12203 Berlin
Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
***@charite.de | https://www.charite.de
Michael Wagner
2018-07-20 15:42:08 UTC
Permalink
Post by Ralf Hildebrandt
I'm using
spam "^X-Spam: Yes" "SPAM"
set index_format="%H %4C %Z %D %-15.15L %s"
to display spammy mails in the index. But how can I tag those spammy
mails? Which pattern do I have to use?
Hello Ralf,

from the mutt manual:

3.1. Pattern Modifier

Many of Mutt's commands allow you to specify a pattern to match (limit,
tag-pattern, delete-pattern, etc.). Table 4.4, “Pattern modifiers” shows
several ways to select messages.

Table 4.4. Pattern modifiers

.....

~H EXPR │messages with a spam attribute matching EXPR

.....

Hth Michael
Ralf Hildebrandt
2018-07-23 07:10:47 UTC
Permalink
Post by Michael Wagner
3.1. Pattern Modifier
Many of Mutt's commands allow you to specify a pattern to match (limit,
tag-pattern, delete-pattern, etc.). Table 4.4, “Pattern modifiers” shows
several ways to select messages.
Table 4.4. Pattern modifiers
.....
~H EXPR │messages with a spam attribute matching EXPR
That's the one, thank you!
--
Ralf Hildebrandt
Geschäftsbereich IT | Abteilung Netzwerk
Charité - Universitätsmedizin Berlin
Campus Benjamin Franklin
Hindenburgdamm 30 | D-12203 Berlin
Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
***@charite.de | https://www.charite.de
Continue reading on narkive:
Loading...