~ubuntu-branches/ubuntu/vivid/mutt/vivid-updates

« back to all changes in this revision

Viewing changes to doc/Muttrc.head

Tags: 1.5.18-6
* Grab from upstream:
  + Guard idata->mailbox read in imap_mailbox_state.
    The bug happens when a user has more than a imap mailbox, when
    he/she browses through them mutt will segfault.
    (Closes: #462266, #513230, #514309. Mutt: #3057)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 "<search>~b " "search in message bodies"
 
12
 
 
13
# simulate the old url menu
 
14
macro index,pager,attach,compose \cb "\
 
15
<enter-command> set my_pipe_decode=\$pipe_decode pipe_decode<Enter>\
 
16
<pipe-message> urlview<Enter>\
 
17
<enter-command> set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<Enter>" \
 
18
"call urlview to extract URLs out of a message"
 
19
 
 
20
# Show documentation when pressing F1
 
21
macro generic,pager <F1> "<shell-escape> less @docdir@/manual.txt<Enter>" "show Mutt documentation"
 
22
 
 
23
# show the incoming mailboxes list (just like "mutt -y") and back when pressing "y"
 
24
macro index,pager y "<change-folder>?<toggle-mailboxes>" "show incoming mailboxes list"
 
25
bind browser y exit
 
26
 
 
27
# If Mutt is unable to determine your site's domain name correctly, you can
 
28
# set the default here.
 
29
#
 
30
# set hostname=cs.hmc.edu
 
31
 
 
32
# If your sendmail supports the -B8BITMIME flag, enable the following
 
33
#
 
34
# set use_8bitmime
 
35
 
 
36
##
 
37
## *** DEFAULT SETTINGS FOR THE ATTACHMENTS PATCH ***
 
38
##
 
39
 
 
40
##
 
41
## Please see the manual (section "attachments")  for detailed
 
42
## documentation of the "attachments" command.
 
43
##
 
44
## Removing a pattern from a list removes that pattern literally. It
 
45
## does not remove any type matching the pattern.
 
46
##
 
47
##  attachments   +A */.*
 
48
##  attachments   +A image/jpeg
 
49
##  unattachments +A */.*
 
50
##
 
51
## This leaves "attached" image/jpeg files on the allowed attachments
 
52
## list. It does not remove all items, as you might expect, because the
 
53
## second */.* is not a matching expression at this time.
 
54
##
 
55
## Remember: "unattachments" only undoes what "attachments" has done!
 
56
## It does not trigger any matching on actual messages.
 
57
 
 
58
## Qualify any MIME part with an "attachment" disposition, EXCEPT for
 
59
## text/x-vcard and application/pgp parts. (PGP parts are already known
 
60
## to mutt, and can be searched for with ~g, ~G, and ~k.)
 
61
##
 
62
## I've added x-pkcs7 to this, since it functions (for S/MIME)
 
63
## analogously to PGP signature attachments. S/MIME isn't supported
 
64
## in a stock mutt build, but we can still treat it specially here.
 
65
##
 
66
attachments   +A */.*
 
67
attachments   -A text/x-vcard application/pgp.*
 
68
attachments   -A application/x-pkcs7-.*
 
69
 
 
70
## Discount all MIME parts with an "inline" disposition, unless they're
 
71
## text/plain. (Why inline a text/plain part unless it's external to the
 
72
## message flow?)
 
73
##
 
74
attachments   +I text/plain
 
75
  
 
76
## These two lines make Mutt qualify MIME containers.  (So, for example,
 
77
## a message/rfc822 forward will count as an attachment.)  The first
 
78
## line is unnecessary if you already have "attach-allow */.*", of
 
79
## course.  These are off by default!  The MIME elements contained
 
80
## within a message/* or multipart/* are still examined, even if the
 
81
## containers themseves don't qualify.
 
82
##
 
83
#attachments  +A message/.* multipart/.*
 
84
#attachments  +I message/.* multipart/.*
 
85
 
 
86
## You probably don't really care to know about deleted attachments.
 
87
attachments   -A message/external-body
 
88
attachments   -I message/external-body
 
89
 
 
90
##
 
91
## More settings
 
92
##
 
93