2 set realname='Don Armstrong'
4 set alias_file=~/.mail_aliases
10 unset bounce_delivered
19 set from = "Don Armstrong <don@donarmstrong.com>"
21 set header_cache = ~/.mutt/header_cache
24 set ignore_list_reply_to
26 set index_format="%4C %Z %[!%k:%M %m.%d.%y] %-15.15F (%?M?C%3M&%4c?) %?H?[%H] ?%s"
27 set mailcap_path ="/etc/mailcap"
35 set record="~/Mail/outbox"
36 set reverse_alias = yes
41 set sort_re # set: only put a child in a thread, if starts with Re:
42 unset status_on_top # status line at the top or button?
43 unset strict_threads # thread only by In-Reply-To/References or by Subject.
44 set suspend # Ctrl-Z is able to suspend mutt.
45 set thorough_search # MIME decode before searching.
46 unset tilde # Internal Pager: ~~~~ at and of message?
47 unset uncollapse_jump # don't move pointer, when uncollapsing thread
48 unset use_8bitmime # run sendmail 8.8.x with -B8BITMIME to enable 8bit
49 set use_domain # add $domain to all addresses without @host
50 set use_from # generate a "From:" header (unless my_hdr From:)
51 #unset use_ipv6 # Only use IPv4 address resolution.
52 set user_agent # Create User-Agent: Mutt/<Version> header.
53 unset wait_key # Only "press a key" if return value non-zero
54 set weed # weed headers, when forwarding with forward_decode
55 set wrap_search # Wrap search to top/bottom.
56 unset write_bcc # send Bcc: line to $sendmail
58 set header_cache = ~/.mutt/header_cache
60 set abort_nosubject=no # Abort, if message has no subject.
61 set abort_unmodified=no # Abort, if message wasn't edited.
62 set copy=yes # ask to save a copy of outgoing message?
63 set delete=yes # ask for confirmation when deleting messages?
64 set honor_followup_to=ask-yes # Ask whether to honor Mail-Followup-To header.
65 set include=yes # quote message, when replying
66 set mime_forward=ask-yes # use MIME when forwarding mails.
67 set mime_forward_rest=ask-yes # forward attachments w/o autoview from attmenu
68 set move=no # Move mail-spool to $mbox?
69 set postpone=ask-yes # ask for postponing when doing an Abort.
70 set print=ask-yes # ask whether you really want to print.
71 set quit=yes # ask before quitting.
72 set recall=no # don't ask for using postponed message.
73 set reply_to=ask-yes # Use or ignore Reply-To.
76 set certificate_file=~/.mutt/ca-certificates
83 set connect_timeout=30 # timeout (seconds) before reconnect. -1 => indefinite
84 set history=200 # Size of the history buffer
85 set mail_check=3 # time (in seconds) how often buffy checks for new mail
86 set pager_context=0 # number of lines, to display twice on PgUp/Down
87 set pager_index_lines=6 # add small message index at top of pager (4)
88 #set pager_index_lines=`zsh -c 'temp=($(stty size)) ; expr $temp[1] / 5 + 1'`
89 #set pager_index_lines=`((stty size 2>/dev/null||echo 24 80);echo s0 5/1+p)|dc`
90 set read_inc=10 # Mutt will notify when reading mailbox messages
91 set sendmail_wait=0 # >0 (wait seconds), 0 (forground), <0 (background)
92 set sleep_time=2 # pause (in seconds) while showing info messages
93 set timeout=60 # time in seconds, till Mutt looks for new mail
94 set wrapmargin=0 # margin left at right when doing smart line wrapping
95 set write_inc=10 # Mutt will notify when writing mailbox messages
100 # Sorting of the mails:
101 # (date-received, date-sent, from, mailbox-order, size, subject, threads,
102 # to, score) (and everything with a prefixed "reverse-")
103 # (sort_aux can be prefixed with "last-" to use last element in thread
104 # instead of first one)
107 set sort=threads # sorting the mails in threads
108 set sort_aux=date-received # sorting the threads
113 # Sortierung im File-Browser:
114 # (date, alpha, reverse-date, reverse-alpha)
117 set sort_browser=alpha
121 # Sorting of aliases:
122 # (alias, address, unsorted)
129 # ("unset" implies the compile time defaults)
132 #reset dotlock_program # where to find mutt_dotlock (reset uses default)
133 set display_filter="" # pipe message through this filter before displaying
134 set editor="~/bin/sane_editor +\`awk '/^$/ {print NR+1; exit}' %s\` %s"
135 set folder=~/Mail # where are the mailboxes (+ and = are shortcuts)
136 #set folder="{luv}Mail" # where are the mailboxes (+ and = are shortcuts)
137 set from="" # From: address (see send-hook my_hdr From)
138 reset ispell # ispell binary (compile time default)
139 set mbox=+inbox # not used if "set move=no"
140 set pager=builtin # internal pager: "builtin" or e.g. "less -e"
141 set postponed=+postponed # folder for postponed messages
142 set print_command="sed s/\f// | a2ps -2 -g --strip 1 -Email"
143 set query_command="lbdbq %s" # query tlr's little brothers database.
144 set record="~/Mail/outbox" # Don't save a copy of outgoing messages (Fcc)
145 #reset sendmail # Default-Sendmail with options ("-oem -oi")
146 reset shell # Take shell from /etc/passwd
147 set signature='~/.signature' # Signature (See send-hook!)
148 reset spoolfile # Default spool-file (e.g. /var/spool/mail/user)
149 set spoolfile=+INBOX # Maildir incoming file (~/Mail/incoming)
150 reset tmpdir # tmp-Dir (use compile time default)
151 reset visual # use $VISUAL as builtin editor.
157 # ("reset" implies compile time defaults)
160 set attach_sep="\n" # Separator to add between tagged attachements
161 set charset="utf-8" # Charset of Terminal (for display)
162 set send_charset="utf-8" # Charsets for outgoing messages.
163 reset escape # ESC-char for internal editor (use default).
164 reset hostname # FQDN (use default).
165 set indent_string="> " # Quoting mails with this string.
166 #set mailcap_path='~/.mailcap' # Use local mailcap only for mutt
168 set mh_seq_flagged="flagged" # Name of MH sequence used for flagged msgs.
169 set mh_seq_replied="replied" # Name of MH sequence used for replied msgs.
170 set mh_seq_unseen="unseen" # Name of MH sequence used for unseen msgs.
171 reset pipe_sep # separator between tagged mails (default: \n)
172 reset realname # get realname from /etc/passwd.
173 set simple_search="~f %s | ~C %s | ~s %s" # default pattern (Fr|To|Cc|Su)
174 set status_chars="-*%A" # status of mbox (unchanged, changed, readonly, attach)
175 set to_chars=" +TCF " # no to me, only to me, not only to me, Cc: to me,
176 # from me, to subscribed mailinglist.
177 # set locale="de_DE" # locale settings (See send-hook section for changes!)
182 # Magic (mailbox type):
183 # allowed values: mbox, MMDF, MH, Maildir
186 set mbox_type=Maildir
192 # (seems to be limited to 114 chars!)
195 ((don(\\+.*)?@(.*\\.)?(donarmstrong|anylevel|oneinfinity)\\.(com|org|net))\
196 |(don(\\+.*)?@(.*\\.)?(rzlab|pellam)\\.ucr\\.edu)\
197 |(don(\\+.*)?@(.*\\.)?debian\\.org)\
198 ))$" # alternate usernames
200 set mask="." # Show these files in the file browser
201 #set mask="!^\\.[^.]" # Default
203 set gecos_mask="^[^,]*" # Parse the GECOS field from passwd file.
205 set quote_regexp="^( {0,5}[>|:%]| {0,5}[a-z0-9]+[>|]+)+"
208 set reply_regexp="^((re(\\^[0-9])? ?:|a(nt)?w(ort)?:|wg:|\\(fwd\\))[ \t]*)*"
209 # Subject prefixes (removed on answering and threading)
210 #set reply_regexp="^(re|aw):[ \t]+" # Default
212 # set smileys="(>From )|(:[-^]?[][)(><}{|/DP])"
213 # Special chars, which are not quote regexps, but :-)
220 set date_format="!%a %b %d, %Y at %I:%M:%S%p %Z"
221 # control output of %d in index_format. strftime(3)
222 # here: Monday Dec 06, 1997 at 08:30:42pm CET
224 # Allows escape sequences:
225 # (\n = newline, \r = carriage-return, \t = tab, \f = formfeed)
227 # %a Author address %b original mbox %B destination list or mbox
228 # %c bytes in message %C Message number
229 # %d date and time in senders timezone ($date_format)
230 # %D date and time in local timezone ($date_format)
231 # %e curr. msg no in thread %E number of msgs in curr. thread
232 # %f address+real name %F address+realname (unless self)
233 # %i Message-ID %l number of lines %L list-from function
234 # %m # of msg in mbox %M number of hidden messages in collapsed thread
235 # %n author real name %N score %s subject of msg
236 # %S status of message (N/D/d/!/*/r)
237 # %t `to:' field %T char from tochars %u login name of author
238 # %v author's firstname %y X-Label %Y X-Label, if changed
239 # %Z message status flags
240 # %>X right justify the rest of the string and pad with character "X"
241 # %|X pad to the end of the line with character "X"
242 # %{<s>} sent time+date in senders timezone (<s> is an strftime(3) expression)
243 # %[<s>] sent time+date in local timezone (<s> is an strftime(3) expression)
244 # %(<s>) receive time+date in local timezone (<s> is an strftime(3) expression)
245 # %<<s>> current time in local timezone (<s> is an strftime(3) expression)
246 # if first char in <s> is "!", do not use locale.
248 set forward_format="(fwd) %s"
249 # subject of forwarded mails
251 spam 'X-Spam-Level: \*\*\*\*\*\*\*\*' 8
252 spam 'X-Spam-Level: \*\*\*\*\*\*' 6
253 spam 'X-Spam-Level: \\*\\*\\*' 3
254 spam 'X-Spam-Level: \*\*' 2
255 spam 'X-Spam-Level: \*' 1
256 #set index_format="%4C %Z %{%b %d} %-15.15F (%4c) %?H?[%H] ?%s"
257 set index_format="%4C %Z %[!%k:%M %m.%d.%y] %-15.15F (%?M?C%3M&%4c?) %?H?[%H] ?%s"
258 # message line in the index
259 # don't use locales here, because it's not needed and
260 # it runs in a memory leak in Linux libc5
261 # use %[!...] or %{!...} instead
262 # In local folders display lines:
264 # 'set index_format="%4C %Z %[!%d.%m.%y] %-15.15F (%?M?C%3M&%4l?) %s"'
265 # In IMAP folders display KByte (because lines are not available):
267 # 'set index_format="%4C %Z %[!%d.%m.%y] %-15.15F (%?M?C%3M&%4c?) %s"'
269 set message_format="%-.16n: %s"
270 # string for message/rfc822 in attachment list
272 set pager_format="-%Z- %C/%m [%[%H:%M]] %-17.17n %s"
273 # status line of the pager
274 # (show time here, date can be seen in "pil")
276 set post_indent_string="" # Footer (after quotes, before signature).
279 set attribution='On %{%a, %d %b %Y}, %n wrote:\n'
280 # Default Reply-Intro (See send-hook for changes!)
282 # %C current number %d last modified %f filename
283 # %F permissions %g group %l number of hard links
284 # %N "N" if new mail %s size in bytes %t "*" if tagged
285 # %u owner name %>X right justify the rest and pad with "X"
286 # %|X pad to the end of the line with character "X"
287 set folder_format="%3C %t%N %f"
295 # %b # of folders with new mail %d # of deleted msgs
296 # %f mbox path %F # of flagged msgs %h hostname
297 # %m total# of messages %M # of shown msgs %n # of new msgs
298 # %l bytes in mbox %L size of limited msgs %o # of old msgs
299 # %p # of postponed. msgs %P percentage of the display
300 # %r readonly/changed %s sorting method %S sort_aux method
301 # %t # of tagged msgs %u # of unread msgs %v Mutt version
302 # %>X = right justify and pad with "X" %|X = pad with "X" to end of line
303 # %?<sequence_char>?<optional_string>? print <opt> iff <seq> is non zero
304 # %?<sequence_char>?<if_string>&<else_string>?
306 #set status_format="-%r-%v--[%?M?%M/?%m msgs%?n?, %n new?%?d?, %d del?%?F?, %F flag?%?t?, %t tag?%?p?, %p postp?%?b?, %b inc?%?l?, %l?]--(%f)--%s/%S-%>-%P-"
307 #set status_format="-%r-%v--[%?M?%M/?%m msgs%?n?, %n new?%?d?, %d del?%?F?, %F flag?%?t?, %t tag?%?p?, %p postp?%?b?, %b inc?%?l?, ?%?L?%L/?%?l?%l?]--(%f)--%s/%S-%>-%P-"
308 set status_format="-%r-%v--[%?M?%M/?%m msgs%?n?, %n new?%?d?, %d del?%?F?, %F flag?%?t?, %t tag?%?p?, %p postp?%?b?, %b inc?%?l?, %l?]--(%f)--%s-%>-%P-"
313 # (Controls the status line of the compose menu)
314 # %a = number of attachments %h = local hostname
315 # %l = approx. size of msg %v = Mutt version
317 set compose_format="-- %v-- Compose [Approximate Message Size: %l Attachments: %a]%>-"
321 # Mixmaster Support (only when --with-mixmaster)
323 # %n = number %c = capabilities %s = short name %a = address
324 #set mix_entry_format="%4n %c %-16s %a" # Format of mixmaster list
325 #set mixmaster="mixmaster" # Mixmaster binary
330 # Pretty Good Privacy (PGP):
333 set pgp_ignore_subkeys # On OpenPGP keys only show the main key, not the sub.
334 set pgp_autosign # pgp sign every outgoing mail. (send-hook?)
335 unset pgp_autoencrypt # pgp encrypt every outgoing mail. (send-hook?)
336 set pgp_create_traditional=no # Use old-style PGP? (don't do it!)
337 set pgp_replyencrypt # Encrypt replies on encrypted mail
338 set pgp_replysign # Sign replies on signed mail
339 set pgp_replysignencrypted # Sign replies on encrypted mail
340 unset pgp_retainable_sigs # disable retainable signatures.
341 set pgp_verify_sig=yes # ask me whether I want to check a pgp signature
342 set pgp_timeout=7200 # forget PGP passphrase after 7200 seconds (=2 hours)
343 set pgp_strict_enc # allway use QP enc. with PGP.
344 unset pgp_long_ids # display 64bit PGP key-ids (don't change this!)
345 set pgp_show_unusable # show unusable PGP keys in menu
346 set pgp_use_gpg_agent # Use gpg_agent
348 # %n = number %k = key id %K = key id of the principal key
349 # %u = user id %a = algorithm %A = algorithm of the princ. key
350 # %l = length %L = length of the princ. key
351 # %f = flags %F = flags of the princ. key
352 # %c = capabilities %C = capabilities of the princ. key
353 # %t = trust/validity of the key-uid association
354 #set pgp_entry_format="%4n %t%f %4l/0x%k %-4a %2c %u"
355 set pgp_entry_format="%4n %t%f %[%y/%m/%d] %4l/0x%k %-4a %2c %u"
358 # Sorting of PGP keys:
359 # (address, keyid, date, trust) and reverse-*
361 set pgp_sort_keys=trust
367 # Delivery Status Notification (DSN)
368 # (this may cause problems with some MTAs, so comment it out, if necessary)
371 set dsn_notify="failure,delay"
372 set dsn_return="hdrs"
376 # score <pattern> <value>
379 # (pattern is something like '~A' (all), '~f aol\.com$', '~s mutt' ...)
380 # (value is between -9999 and 9999. A prefix '=' sets otherwise incr/decr)
384 unset score # turn off scoring
385 set score_threshold_delete=-1 # mark messages with score <=value deleted
386 set score_threshold_flag=9999 # mark messages with score >=value flagged
387 set score_threshold_read=-1 # mark messages with score <=value read
391 # Show or suppress headers:
394 ignore lines precedence status
395 ignore nntp-posting-host path old-return-path received >received references
396 ignore content- errors-to in-reply-to mime-version
397 ignore resent-message-id return-path xref path
398 ignore x-keywords x-uid x-ftn-via x-ftn-domain x-ftn-seen-by x-ftn-path
399 ignore x-gateway x-loop x-sender x-priority
400 ignore mbox-line x-pop3-rcpt x-mailing-list x400- dl-expansion-history
401 ignore priority alternate-recipient x-zc-via
402 ignore x-received x-envelope-sender x-return-path x-authentication-warning
403 ignore resent-message-id resent-sender resent-date resent-cc
404 ignore x-envelope-from x-envelope-to x-delivery-time
405 ignore x-egroups-return list-unsubscribe list-archive list-help
412 # Extra headers that I would like added to all my outgoing mail messages.
413 # Attention: !!! No comments in the (un)my_hdr lines !!!
417 # remove all extra headers first.
420 # MIME-Types which should be automatically displayed. If a copiousoutput
421 # exists, use it and display it in internal pager.
422 # (if $implicit_autoview is set, this is automated for MIME types where
423 # an entry with copiousoutput exists in the mailcap)
426 auto_view text/richtext text/html text/x-sgml text/x-vcard text/x-sh \
427 text/x-csrc text/tex text/-xtex text/english \
428 application/x-tex application/x-dvi \
429 application/x-gzip-dvi application/x-diff-gzip application/x-gzip \
430 application/x-gunzip application/x-bzip2 \
431 application/x-cpio application/x-gtar \
432 application/x-tar application/x-tar-gz application/x-rar-compressed \
433 application/x-zip-compressed application/zip application/x-csh \
434 application/x-sh application/x-script application/x-shellscript \
435 application/x-latex application/x-tex application/x-shar \
436 application/x-troff application/x-troff-man application/x-troff-me \
437 application/x-pgp-message application/msword \
438 application/ms-tnef application/ms-word application/rtf \
439 application/octet-stream application/x-tcl application/x-perl \
440 application/x-debian-package message/partial
444 # List of MIME-Types to give a priority when reading multipart/alternative
447 alternative_order text/enriched text/plain text/html
452 # mbox-hook pattern mailbox
453 # (save all "read" messages from pattern to mailbox)
457 # monochrom terminals:
458 # (none, bold, underline, reverse, standout)
462 mono normal none # normal text
463 mono indicator reverse # actual message
464 mono tree none # thread arrows
465 mono status reverse # status line
466 mono error bold # errors
467 mono message none # info messages
468 mono quoted bold # quoted text
469 mono signature none # signature
470 mono attachment underline # MIME attachments
471 mono search reverse # search matches
472 mono tilde none # ~ at bottom of msg
473 mono markers bold # + at beginning of wrapped lines
474 mono hdrdefault none # default header lines
475 mono bold bold # hiliting bold patterns in body
476 mono underline underline # hiliting underlined patterns in body
478 # object attribute RegExp
480 mono header bold "^(from|subject):"
481 #mono body underline "((ftp|http|https)://|news:)[^ >)\"\t]+"
482 mono body underline "((ftp|http|https)://|(file|news):|www\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?"
483 mono body underline "[-a-z_0-9.]+@[-a-z_0-9.]+"
484 mono body bold "(^| )\\*[-a-z0-9]+"
486 ## ========================================================================
488 ## AUTO_VIEW - tell mutt which "content types" to view with
489 ## the command given in the $HOME/.mailcap file.
490 ## ========================================================================
492 #auto_view text/html text/enriched application/x-gunzip application/postscript /gif application/x-tar-gz application/pgp-signature image/*
494 ## ========================================================================
495 ## BIND - bind commands to keys.
496 ## ========================================================================
498 ## ========================
499 ## Bindings for attach menu
500 ## ========================
502 bind attach ' ' select-entry
504 ## ============================
505 ## Bindings for index and pager
506 ## ============================
508 ## Jumping to the next mail that is still unread.
509 bind index \t next-new
510 bind pager \t next-new
511 bind index ' ' next-unread
512 bind pager ' ' next-unread
513 bind index V show-version
514 bind pager V show-version
515 bind index A create-alias
516 bind pager A create-alias
517 #macro index S <pipe-message>add_spammer.pl<enter>s="SPAM\n"
518 #macro pager S <pipe-message>add_spammer.pl<enter>s="SPAM\n"
519 #macro index X |"spamassassin -r \n"
520 #macro pager X |"spamassassin -r \n"
521 macro index S "s=spam/MANUALSPAM\r"
522 macro pager S "s=spam/MANUALSPAM\r"
523 macro index X "<copy-message>=spam/HAM\r"
524 macro pager X "<copy-message>=spam/HAM\r"
525 macro index "\\T" "<copy-message>=TODO\r"
526 macro pager "\\T" "<copy-message>=TODO\r"
528 ## ==============================================
529 ## Bindings for editing and reloading the .muttrc
530 ## ==============================================
532 macro generic ,ve "!gnuclient ~/.muttrc\n"
533 macro generic ,vu ":source ~/.muttrc\r"
534 macro generic ,va "!gnuclient ~/.mail_aliases \n"
536 ## ======================
537 ## Bindings for index
538 ## ======================
540 bind index P recall-message
541 bind index s save-message
542 bind browser x check-new
543 bind index <pagedown> next-page
544 bind index <pageup> previous-page
545 bind index x sync-mailbox
546 bind index a tag-prefix
547 bind index \; tag-entry
549 macro index \cb "|urlview\n"
550 macro index ,l "l~N ! ~p\n"
551 macro index ,n "l~N\n"
553 # ======================================
554 # Quickly change to my favorite folders:
555 # ======================================
556 macro index "\\d" "c=lists/debian-devel\r"
557 macro index "\\o" "c=outbox\r"
558 macro index "\\t" "c=TODO\r";
559 macro index "\\b" "c=lists/debian_bugs\r"
560 macro index I "c!\n" "Go to Inbox"
562 macro pager "\\d" "c=lists/debian-devel\r"
563 macro pager "\\t" "c=TODO\r";
564 macro pager "\\o" "c=outbox\r"
565 macro pager "\\b" "c=lists/debian-bugs\r"
566 macro pager I "c!\n" "Go to Inbox"
568 # ===========================
570 # ===========================
573 bind pager L list-reply
574 bind pager b bounce-message
575 bind pager f forward-message
577 bind pager g group-reply
578 bind pager j next-line
579 bind pager k previous-line
580 bind pager : enter-command
581 bind pager p previous-undeleted
582 bind pager n next-undeleted
583 bind pager \n next-unread
584 bind pager \cf forget-passphrase
585 #bind compose \n send-message
586 bind compose s send-message
587 bind pager ,p print-message
589 macro pager J "!gpg --keyserver wwwkeys.eu.pgp.net --recv-key " "Get PGP Key"
590 macro pager K "!gpg --lsign-key " "Sign PGP Key"
592 # funky gimmick, but I never use it =)
593 #macro pager ,s "|festival --tts\r"
595 #macro index M "c{imap1.bonn.id-pro.net}\n"
597 macro pager "i" "<sync-mailbox><change-folder>?<toggle-mailboxes>"
598 macro index "i" "<sync-mailbox><change-folder>?<toggle-mailboxes>"
600 ## =====================================
601 ## Tom's cursor movement system [tm] ;-)
602 ## =====================================
604 bind pager <up> previous-line
605 bind pager <down> next-line
606 bind pager <left> exit
607 bind pager <right> view-attachments
608 bind attach <left> exit
609 bind attach <right> view-attach
610 bind index <right> display-message
611 # Pre mutt 1.3.x, you'll want this instead:
612 #macro index <left> "c?"
613 macro index <left> "c?<tab>"
614 bind browser <right> select-entry
615 bind browser <left> exit
620 color attachment white magenta
621 color body brightgreen default "ftp://[^ ]*"
622 color body brightgreen default "[[:alnum:]][-+.#_[:alnum:]]*@[-+.[:alnum:]]*[[:alnum:]]"
623 color body brightgreen default "<URL:[^ ]*>"
624 color bold green default
625 color error red default
627 color header yellow default "^from"
628 color header green default "^from:"
629 color header green default "^to:"
630 color header green default "^cc:"
631 color header green default "^date:"
632 color header yellow default "^newsgroups:"
633 color header yellow default "^reply-to:"
634 color header brightcyan default "^subject:"
635 color header red default "^x-spam-rule:"
636 color header yellow default "^x-mailer:"
637 color header yellow default "^message-id:"
638 color header yellow default "^Organization:"
639 color header yellow default "^Organisation:"
640 color header yellow default "^User-Agent:"
641 color header yellow default "^message-id: .*pine"
642 color header yellow default "^X-Fnord:"
643 color header yellow default "^X-WebTV-Stationery:"
644 color header yellow default "^X-Message-Flag:"
645 color header yellow default "^X-Diagnostic:"
647 color indicator white blue
648 color markers red default
649 color message white blue
651 ## ==================================================
652 ## Colorizing the body of messages (ie in the pager)
653 ## ==================================================
655 color normal white default # pager body
657 # Coloring quoted text - coloring the first 7 levels:
658 color quoted cyan default
659 color quoted1 yellow default
660 color quoted2 red default
661 color quoted3 green default
662 color quoted4 cyan default
663 color quoted5 yellow default
664 color quoted6 red default
665 color quoted7 green default
667 color signature brightred default
668 color status white blue
669 color tilde blue default
670 color tree brightmagenta default
671 color underline yellow default
672 color body yellow default "[;:]-[)/(|]" # colorise smileys
673 color body yellow default "[;:][)/(|]"
674 color body brightblue default "(http|ftp|news|telnet|finger)://[^ ]*"
676 color index yellow default ~N # New
677 color index yellow default ~O # Old
678 # color index brightgreen default '~s tgil'
679 # color index cyan default '~s gilbertt ~f cvs-commits-list'
680 color index brightgreen default '~p' # mail to myself
681 color index brightcyan default '~P' # mail from myself
682 color index magenta default ~F # Flagged
683 color index blue default ~T # Tagged
684 color index red default ~D # Deleted
686 # Headers to ignore/see
687 # Ignore everything but the really important lines:
689 unignore from: date subject to cc reply-to:
690 unignore organization organisation
691 unignore user-agent: x-agent: x-mailer: x-newsreader:
692 unignore newsgroups: posted-to: x-spam-rule:
693 # These can provide amusement
694 unignore X-Fnord: X-WebTV-Stationery: X-Message-Flag:
695 # procmail rules for listmaster
696 unignore X-Diagnostic:
698 # ordering of headers in the pager
700 hdr_order Date: From: To: Cc: X-Newsreader: X-Mailer: Organization: Organisation: User-Agent: X-Fnord: X-WebTV-Stationery: X-Message-Flag: X-Diagnostic: Newsgroups: Reply-To: Subject: x-spam-rule:
702 ## "alternates" tells mutt about your addresses. Mutt thus can show mails
703 ## addresses to you in the folder index as "personal" using the flag '+'.
704 #set alternates=((tom|gilbertt)@snowman.net|.*@linuxbrit.*|.*@offended.*|giblet@lunixbrat.com)
706 # Set the defaults for folders:
707 folder-hook . set timeout=30
708 folder-hook . set sort=threads
709 folder-hook . set sort_aux=date-received
710 # When I'm in the main index, check more often :)
711 #folder-hook "!" set timeout=5
712 # Mail in my inbox is more date than thread sensitive...
713 folder-hook "!" set sort=date-received
714 folder-hook "sent" set sort=date-received
716 #folder-hook . set signature=~/.signature
718 #folder-hook . unmy_hdr *
719 folder-hook . my_hdr "From: Don Armstrong <don@donarmstrong.com>"
720 folder-hook . set signature="~/.signature"
721 folder-hook . unmy_hdr "Reply-To:"
722 folder-hook . unmy_hdr "Cc:"
725 reply-hook ~A unmy_hdr "X-Debbugs-No-Ack";
726 #reply-hook "~h X-Debian-PR" my_hdr "X-Debbugs-No-Ack: yes no ack";
727 send-hook ~A unmy_hdr "X-Debbugs-No-Ack";
728 send-hook "(~C submit@bugs.debian.org |~C control@bugs.debian.org |~C \d+@bugs.debian.org)" my_hdr "X-Debbugs-No-Ack: yes no ack"
730 # Fix the Mail-Followup-To for sdondley
731 reply-hook . unmy_hdr "Mail-Followup-To";
732 reply-hook "(~f sdondley@gmail.com|~f s@gmail.com|~f s@dondley.com)" my_hdr "Mail-Followup-To: Don Armstrong <don@donarmstrong.com>";
734 # Debian folder hooks
735 folder-hook debian my_hdr "From: Don Armstrong <don@debian.org>"
736 folder-hook bdo_role my_hdr "From: Don Armstrong <don@debian.org>"
737 folder-hook bdo_role my_hdr "Reply-To: owner@bugs.debian.org"
738 folder-hook bdo_role my_hdr "Cc: owner@bugs.debian.org"
739 folder-hook 0_ldo_role my_hdr "From: Don Armstrong <don@debian.org>"
740 folder-hook 0_ldo_role my_hdr "Reply-To: listmaster@lists.debian.org"
741 folder-hook 0_ldo_role my_hdr "Cc: listmaster@lists.debian.org"
744 #reply-hook '~C don@debian.org' my_hdr "From: Don Armstrong <don@debian.org>"
746 macro generic ,ad my_hdr "From: Don Armstrong <don@debian.org>"
747 macro generic ,an my_hdr "From: Don Armstrong <don@donarmstrong.com>"
749 send-hook ~A '`/home/don/lib/signature_stuff/pick_a_quote.pl` set-signature "~/.signature"'
752 open-hook \\.gz$ "gzip -cd %f > %t"
753 close-hook \\.gz$ "gzip -c %t > %f"
754 append-hook \\.gz$ "gzip -c %t >> %f"
759 ## "lists" adds a list of mailing lists addresses
760 ## so mutt knows about these for showing them in the folder indes
761 ## and to allow replying to them with the command "list-reply".
762 ## The first part of the address (up to the @) should be used here.
763 unlists * # remove old entries first
764 lists `cd ~/Mail/lists && echo *`
765 lists `cd ~/Mail/bugs && echo *`
768 subscribe `cd ~/Mail/lists && echo *`
769 subscribe `cd ~/Mail/bugs && echo *`
771 ## "mailboxes" defines the list of folders to be checked for new mail
772 ## Mutt both can show the number of mailboxes with new mail in the index and
773 ## you can cycle through these after giving the "change-folder" command. :-)
777 mailboxes +0_ldo_role
781 #mailboxes +sms +SPAM +work
782 mailboxes `for file in ~/Mail/lists/*; do echo -n "+lists/$(basename $file) "; done`
783 mailboxes `for file in ~/Mail/bugs/*; do echo -n "+bugs/$(basename $file) "; done`