<<< Date Index >>>     <<< Thread Index >>>

X-Priority over imap



Hi all,

I want messages with the header "X-Priority: 1" to draw attention in
the message index.  Therefore, I added the directive:

  color index brightred     default "~h 'X-Priority: 1'"

to my mutt configuration.  This works well..  on mbox.

When accessing an IMAP folder, mutt downloads all messages (bodies) in
order to build up and color the index.  This was clearly not my
intention, as I setup:

  set imap_headers="X-PRIORITY"

However, this did not solve the problem.  Mutt still downloads all
messages.  Then I tried to telnet to the IMAP server, and issued, in
the same way as the mutt IMAP code does:

  [...]
  03 FETCH 26 BODY.PEEK[HEADER.FIELDS (TO x-priority)]

The corresponding response was:

  * 26 FETCH (BODY[HEADER.FIELDS (TO X-PRIORITY)] {51}
  To: rene@xxxxxxxx
  X-Priority: 1 (Highest)

  )
  03 OK Fetch completed.

Which seems quite ok.  Does mutt really need the body to color the
index after my color directive above?  Does hcache matter in this
respect?  I would appreciate it if anybody can help me, or hint in a
direction..

-- 
René Clerc                      - (rene@xxxxxxxx) - PGP: 0x9ACE0AC7

God is de stopverf van de wetenschap.
-René Clerc

Attachment: pgpnoVSqAjdKm.pgp
Description: PGP signature