On 20 Nov 2024 15:10 +0200, from ta...@riseup.net (Taken):
>> If you want to see X-Spam-Status then add it to unignore.
> 
> I don't want to see the full string in X-Spam-Status, but only "score=-2.1".
> In other words, I want X-Spam-Status to display not the long string with all
> the data, but only the number in score=-2.1.

I don't think you can do that directly. As far as I know, Mutt will
either display a header in full, or not at all. (But you can use color
directives to highlight only a part of a header, if you know its
format.)

However, you can use spam/nospam http://www.mutt.org/doc/manual/#spam
and %H in $index_format http://www.mutt.org/doc/manual/#index-format
to similar effect.

Alternatively, you can use something like formail and awk to extract
the value you're interested in from the larger header and inject it as
an additional header which you can unignore normally.

-- 
Michael Kjörling
🔗 https://michael.kjorling.se

Reply via email to