Assigning multiple labels (X-Label) to a message

Marcus C. Gottwald mcg at cheers.de
Wed Dec 16 14:42:07 UTC 2020


Dear fellow Mutt users,

I have incoming email messages which get multiple labels assigned
by "procmail" piping through "formail -A", adding an "X-Label"
header line for each label.

Mutt fetches those email messages via IMAP and appears to be
looking at only the last X-Label header line when (a) formatting
the index using the "%y" selector in "index_format" and
(b) limiting using the "~y" pattern. (I'm using Mutt from current
Debian stable, i.e. version 1.10.1.)

What's the recommended way to deal with multiple labels assigned
to an email message? Can I make Mutt look at the values of all
X-Label header lines? Should I change the procmail recipes to
append (or prepend) additional labels to an existing X-Label
header line instead of adding new lines? When using multiple
labels in a single X-Label header line, are there any advantages
in using a specific delimiter (space, comma, ...)?

Cheers, Marcus

-- 
   Marcus C. Gottwald  ·  <mcg at cheers.de>  ·  @mcg:cheers.de



More information about the Mutt-users mailing list