diff options
author | David Champion <dgc@bikeshed.us> | 2005-10-04 06:05:39 +0000 |
---|---|---|
committer | David Champion <dgc@bikeshed.us> | 2005-10-04 06:05:39 +0000 |
commit | f5e7b39153b414d2f9c2f9e369f41f895d253f40 (patch) | |
tree | 3a5758e9515a3868385eeb593f89adbcd739186c /Muttrc.head.in | |
parent | 324752c8dbb1e28777518f1a01e3d4b9baf46aad (diff) |
Attachment counting for index display (patch-1.5.11.dgc.attach.6).
Modifications: attach_recurse and attach_ignore_fundamental stripped,
some debugging code removed, some bones thrown to check_sec.sh.
Diffstat (limited to 'Muttrc.head.in')
-rw-r--r-- | Muttrc.head.in | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/Muttrc.head.in b/Muttrc.head.in index 44ec4d2c..93730726 100644 --- a/Muttrc.head.in +++ b/Muttrc.head.in @@ -30,6 +30,60 @@ bind browser y exit # set use_8bitmime ## +## *** DEFAULT SETTINGS FOR THE ATTACHMENTS PATCH *** +## + +## +## Please see the manual (section "attachments") for detailed +## documentation of the "attachments" command. +## +## Removing a pattern from a list removes that pattern literally. It +## does not remove any type matching the pattern. +## +## attachments +A */.* +## attachments +A image/jpeg +## unattachments +A */.* +## +## This leaves "attached" image/jpeg files on the allowed attachments +## list. It does not remove all items, as you might expect, because the +## second */.* is not a matching expression at this time. +## +## Remember: "unattachments" only undoes what "attachments" has done! +## It does not trigger any matching on actual messages. + +## Qualify any MIME part with an "attachment" disposition, EXCEPT for +## text/x-vcard and application/pgp parts. (PGP parts are already known +## to mutt, and can be searched for with ~g, ~G, and ~k.) +## +## I've added x-pkcs7 to this, since it functions (for S/MIME) +## analogously to PGP signature attachments. S/MIME isn't supported +## in a stock mutt build, but we can still treat it specially here. +## +attachments +A */.* +attachments -A text/x-vcard application/pgp.* +attachments -A application/x-pkcs7-.* + +## Discount all MIME parts with an "inline" disposition, unless they're +## text/plain. (Why inline a text/plain part unless it's external to the +## message flow?) +## +attachments +I text/plain + +## These two lines make Mutt qualify MIME containers. (So, for example, +## a message/rfc822 forward will count as an attachment.) The first +## line is unnecessary if you already have "attach-allow */.*", of +## course. These are off by default! The MIME elements contained +## within a message/* or multipart/* are still examined, even if the +## containers themseves don't qualify. +## +#attachments +A message/.* multipart/.* +#attachments +I message/.* multipart/.* + +## You probably don't really care to know about deleted attachments. +attachments -A message/external-body +attachments -I message/external-body + +## ## More settings ## |