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

Re: index_format - indicate which email has attachment



> Did you properly configure all 'attachment' commands (see the system Muttrc 
> file for examples) or did you just add '%X' to $index_format?
>
> You have to tell mutt what an you consider an attachment before %X does 
> display the counts in $index_format.

Right.  You can type ":attachments ?" (no quotes) into mutt to see
what settings it has now.  The defaults come from the system
muttrc:

Current attachments settings:

attachments +A */.*
attachments -A text/x-vcard
attachments -A application/pgp.*
attachments -A application/x-pkcs7-.*
attachments -A message/external-body
attachments +I text/plain
attachments -I message/external-body

These basically mean that "attachments" with a content-disposition
of "inline" will not be counted as attachments, unless they are
content-type text/plain; and all messages with a content-disposition
of "attachment" will be counted, except for the four types listed
(pgp signatures, vcards, and external-body messages).

Perhaps your message with an attachment doesn't qualify under these
rules.  But that's why you can change the rules. :)

-- 
 -D.    dgc@xxxxxxxxxxxx    NSIT    University of Chicago
 "Polka music needs to prevail."   John Ziobrowski, Polka America Corporation