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