make quadopts be consistently dealt with as strings.
[apps/madmutt.git] / Madmuttrc.head.in
1 #
2 # System configuration file for Mutt
3 #
4
5 # default list of header fields to weed when displaying
6 #
7 ignore "from " received content- mime-version status x-status message-id
8 ignore sender references return-path lines
9
10 # imitate the old search-body function
11 macro index \eb '/~b ' 'search in message bodies'
12
13 # simulate the old url menu
14 macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
15 macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
16
17 # Show documentation when pressing F1
18 macro generic <f1> "!less @docdir@/manual.txt\n" "Show Mutt documentation"
19 macro index   <f1> "!less @docdir@/manual.txt\n" "Show Mutt documentation"
20 macro pager   <f1> "!less @docdir@/manual.txt\n" "Show Mutt documentation"
21
22 # If Mutt is unable to determine your site's domain name correctly, you can
23 # set the default here.
24 #
25 # set hostname=cs.hmc.edu
26
27 # If your sendmail supports the -B8BITMIME flag, enable the following
28 #
29 # set use_8bitmime
30
31 ##
32 ## *** DEFAULT SETTINGS FOR THE ATTACHMENTS PATCH ***
33 ##
34
35 ##
36 ## Please see the manual (section "attachments") for detailed
37 ## documentation of the "attachments" command.
38 ##
39 ## Removing a pattern from a list removes that pattern literally. It
40 ## does not remove any type matching the pattern.
41 ##
42 ## attachments +A */.*
43 ## attachments +A image/jpeg
44 ## unattachments +A */.*
45 ##
46 ## This leaves "attached" image/jpeg files on the allowed attachments
47 ## list. It does not remove all items, as you might expect, because the
48 ## second */.* is not a matching expression at this time.
49 ##
50 ## Remember: "unattachments" only undoes what "attachments" has done!
51 ## It does not trigger any matching on actual messages.
52
53 ## Qualify any MIME part with an "attachment" disposition, EXCEPT for
54 ## text/x-vcard and application/pgp parts. (PGP parts are already known
55 ## to mutt, and can be searched for with ~g, ~G, and ~k.)
56 ##
57 ## I've added x-pkcs7 to this, since it functions (for S/MIME)
58 ## analogously to PGP signature attachments. S/MIME isn't supported
59 ## in a stock mutt build, but we can still treat it specially here.
60 ##
61 attachments +A */.*
62 attachments -A text/x-vcard application/pgp.*
63 attachments -A application/x-pkcs7-.*
64
65 ## Discount all MIME parts with an "inline" disposition, unless they're
66 ## text/plain. (Why inline a text/plain part unless it's external to the
67 ## message flow?)
68 ##
69 attachments +I text/plain
70
71 ## These two lines make Mutt qualify MIME containers. (So, for example,
72 ## a message/rfc822 forward will count as an attachment.) The first
73 ## line is unnecessary if you already have "attach-allow */.*", of
74 ## course. These are off by default! The MIME elements contained
75 ## within a message/* or multipart/* are still examined, even if the
76 ## containers themseves don't qualify.
77 ##
78 #attachments +A message/.* multipart/.*
79 #attachments +I message/.* multipart/.*
80
81 ## You probably don't really care to know about deleted attachments.
82 attachments -A message/external-body
83 attachments -I message/external-body
84
85 ##
86 ## More settings
87 ##
88