home · contact · privacy
Restructure dotfiles directories.
[config] / dotfiles / user / server / muttrc
1 # plomlompom's mutt configuration file
2
3 # Define mailboxes.
4 set mbox_type=Maildir
5 set folder=/home/plom/mail
6 set spoolfile=$folder/inbox
7 set mbox=$folder/archive
8 set record=$folder/sent
9 set postponed=$folder/postponed
10
11 # Move read messages from $spoolfile to $mbox.
12 set move=yes
13
14 # Macro to a mailboxes view built from all folders below ~/mail.
15 macro index,pager y <change-folder>?<toggle-mailboxes>
16 mailboxes `ls /home/plom/mail | sed -e 's/^/=/' | tr "\n" " "`
17
18 # What goes into the default header display.
19 ignore *
20 unignore from: subject to cc date
21
22 # Force some variables for From: and Message-ID: generation.
23 set realname="Christian Heller"
24
25 # Allow me to reply myself.
26 set reply_self = yes
27
28 # Only scroll in the current message, not across messages.
29 set pager_stop = yes
30
31 # Sort message top-down new-old.
32 set sort=reverse-date
33
34 # Ensure visibility of attachments. The second line handles (in an ugly way) the
35 # issue of mails that use the content-type of multipart/alternative wrongly, by
36 # omitting from the text/plain alternative relevant multimedia files attached to
37 # the multipart/related alternative that contains text/html and said files. This
38 # will in certain cases make the pager default to displaying the HTML variant of
39 # a mail when a plain text one is available, but this is preferable to hiding
40 # potentially important attachments.
41 set index_format="%4C %Z %?X?[%X]&   ? %{%b %d} %-15.15L (%?l?%4l&%4c?) %s"
42 alternative_order multipart/related text/plain text/html