Re: index_format - indicate which email has attachment
On 10/06/07 13:44, David Champion wrote:
> 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. :)
Thanks Dave for the example, no my muttrc did not come with these
defaults, and yes it works now.
It displays attachments but is there a way to suppress the "0" if there is
no attachment.
--
#Joseph
GPG KeyID: ED0E1FB7