1 ########################################################################
2 # who you are - settings
3 ###
4
5 unmy_hdr *
6 #my_hdr From: calmar <mac@calmar.ws>
7 my_hdr Organization: calmar.ws
8 my_hdr X-Homepage: http://www.calmar.ws
9 my_hdr X-PGP-Key: http://www.calmar.ws/calmar.asc
10 my_hdr X-Operating-System: Debian (Un)stable, LinuxFromScratch.org
11
12 set from="mac@calmar.ws" # needed for %F in $index_format (see man)
13 set realname="calmar"
14
15 set signature='~/.signature'
16
17 set envelope_from=yes
18 #####################################################################
19 # folder/mailboxes settings
20 ###
21
22 set folder=~/.mail # there are the mailboxes (+ / = are shortcuts)
23 set mbox_type=maildir # see the wiki, there are 4 to choose from
24
25 set spoolfile=+inbox # incoming mails (~/.mail/inbox)
26 set move=yes # to inbox to mbox after read
27 set mbox="+inbox-archive-`date +%Y`-rec" # after it's read ($folder/...)
28 set postponed=+postponed # postponed messages
29 set record="+Sent-`date +%Y`-rec" # sent messages (e.g. $folder/Sent-2006)
30 set copy=yes # save a copy of outgoing message into $record
31 set header_cache=~/.mutt/cache_header/
32 set read_inc=100
33
34 mailboxes =inbox
35 mailboxes =calmar
36 mailboxes =candrian
37 mailboxes =mail-daemon
38 mailboxes =aap
39 mailboxes =feeds
40 folder-hook =feeds set sort=from
41 mailboxes =crrcsim
42 mailboxes =conky
43 mailboxes =b-c-b.admin
44 mailboxes =vimperator
45
46 folder-hook . "source ~/.mutt/profile.inbox\n" # for every box
47 folder-hook =candrian.*$ "source ~/.mutt/profile.candrian\n" # special
48
49 ######################################################################
50 # addressbook - email - alias settings
51 ###
52
53 set alias_file=~/.mutt/aliases # add the Aliases here
54 source ~/.mutt/aliases # and include all existing aliases
55 set sort_alias=alias # sort by alias ( or address, unsorted)
56
57 set query_command="abook --mutt-query '%s'" # address book
58
59
60 #####################################################################
61 # how to check for new mails
62 ###
63
64 set timeout=10 # press artificially a key after 10 seconds
65 set mail_check=5 # mutt checks for new mails on every keystrokes
66 # but not more often then once in 5 seconds
67 set beep_new # beep on new messages in the mailboxes
68
69
70 #####################################################################
71 # how to edit messages
72 ###
73
74 set editor=vim
75 set edit_headers # put headers in editor when composing messages
76 # additioally I have a some setting in vim for
77 # my convenience (lazyness):
78 # autocmd BufNewFile,BufRead /tmp/mutt-* set filetype=mail
79 # au FileType mail set tw=64 autoindent expandtab formatoptions=tcqn
80 # au FileType mail set list listchars=tab:»·,trail:·
81 # au FileType mail set comments=nb:>
82 # au FileType mail vmap D dO[...]^[
83 # "I can delete text bloxks with D, it gets replaced by [...] then
84 # au FileType mail silent normal /--\s*$^MO^[gg/^$^Mj
85 # "the last line brings the curser to where I can start typing
86 # "for boxes around text, I pipe text through the boxes program with
87 # "convenient bindings in vim e.g.
88 # map <LEADER>b2 :!boxes -d ca--tlb-n<CR> (ca--tlb-n is a design by my own so)
89
90 #####################################################################
91 # miscellous settings
92 ###
93
94 set pgp_sign_as=0x9E96359C
95
96
97 #####################################################################
98 # how mutt presents the list of the messages
99 ###
100
101 #for possible values, see manual: 3.259. sort
102 set sort=threads # sorting the mails in threads in index (mails-list-view)
103 set sort_aux=reverse-date # and the thread themselves reverse-date
104 # with o or O you can change that instantly
105 #
106 #####################################################################
107 # how mutt presents the things in browser
108 # (where you can see all folders/files on file-system)
109 ###
110
111 set sort_browser=alpha # is the default I think, but anyway
112
113 #####################################################################
114 # how mutt presents a particular message
115 ###
116
117 ignore * # with only that, no mail - headers should get shown normally
118 unignore From: To: subject date cc reply-to # I want these to see
119 unignore User-Agent: X-Spam-Status:
120
121 unhdr_order * # the order of the headers above (if they exist)
122 hdr_order Date: To: From: Subject: Cc: Bcc: User-Agent: X-Spam-Status:
123
124 alternative_order text/html text/enriched text/plain
125 # order of prefered mime types if there's a choice
126 # I prefer text/html before text/plain
127 # auto_view'ed (dumped through elinks) (see below)
128 # (I prefer plain messages , but when there is an
129 # html too attached on the same mail, that's most of
130 # the time more interesting, since the text/plain just
131 # tells, I shall get a modern mail-client or however)
132
133 auto_view text/html # text/enriched and text/plain support are builtins
134 # how to auto_view text/html takes mutt from mailcap files:
135 # ~/.mailcap then /etc/mailcap or so
136 # (settings with 'needsterminal' option or so)
137 # I have in my ~/.mailcap for that purpose:
138 # text/html; elinks -dump -force-html %s; needsterminal; copiousoutput;
139
140 #####################################################################
141 # other user interface settings
142 ###
143
144 set pager_index_lines=12 # add small index window at top of pager/messages
145
146
147 #####################################################################
148 # ask or do not ask, or what is the default - settings
149 ###
150
151 set bounce=yes
152 set help=yes
153 set postpone=ask-yes # ask for postponing when doing an Abort.
154 set print=ask-yes # ask whether you really want to print.
155 set quit=yes
156 set delete=yes # ask for confirmation when deleting messages?
157 set include=yes # quote message, when replying
158 set abort_nosubject=no # Abort, if message has no subject.
159 set reply_to=ask-yes # Use or ignore Reply-To.
160 set recall=ask-yes # don't ask for using postponed message.
161 set abort_unmodified=no # Abort, if message wasn't edited.
162 set honor_followup_to=ask-yes # Ask whether to honor Mail-Followup-To header.
163 set mime_forward=ask-no # use MIME when forwarding mails.
164 set mime_forward_rest=ask-no # forward attachments w/o autoview from attmenu
165
166
167 #####################################################################
168 # mailling list settings (so e.g. to reply with a `L' )
169 ###
170
171 lists vimperator conky vim a-a-p-user a-a-p-develop gnucash-user mutt-dev
172
173 #####################################################################
174 # bindings / macros for your convenience
175 ###
176
177 macro editor ";" \Ct # while typing addresses after a m - ; for completing it
178 macro pager "n" qn<enter>
179
180 macro pager,editor,index <F8> :source\ /home/calmar/.mutt/muttrc<enter>
181
182 # message-hook '!(~g|~G) ~b"^-----BEGIN\ PGP\ (SIGNED\ )?MESSAGE"' "exec check-traditional-pgp"
183
184 #####################################################################
185 # colors
186 ###
187 ### color pager
188 # Rados' colors
189 #source colors_rado
190
191 source `case $TERM in\
192 *256color) echo '~/.mutt/colors256-dark'; break ;;\
193 *) echo '~/.mutt/konsole-color'; break ;;\
194 esac`