2 set realname='Don Armstrong'
4 set alias_file=~/.mail_aliases
7 unset allow_8bit # use QP or Base64 if unset.
8 set allow_ansi # allow ANSI color codes in messages.
9 unset arrow_cursor # "->" as cursor (faster on slow networks).
10 unset ascii_chars # Use ASCII chars for threading arrows.
11 unset askbcc # ask to fill out Bcc on mesg-send?
12 unset askcc # ask to fill out CC on mesg-send?
13 set attach_split # handle every single attachment instead of concat
14 set autoedit # start editor without asking for to, subject,...
15 unset auto_tag # if something is tagged, run commands on tagged msgs.
16 unset beep # beep on certain user errors and other errors
17 unset beep_new # beep on new mail
18 set bounce_delivered # unset => remove Delivered-To: when bouncing.
19 set check_new # search for new messages in maildir/MH folders.
20 unset collapse_unread # don't collapse threads with unread mails
21 unset confirmappend # prompt for confirm when appending message to ex. mbox
22 set confirmcreate # prompt for confirm when saving to non existing mbox
23 set delete_untag # untag messages when marking them for deletion
24 set digest_collapse # show digest parts in 'v' submenu
25 set duplicate_threads # thread messages with same message-id together
26 set edit_headers # put headers in editor when composing messages
27 set encode_from # use Quoted-Printable, if ^From in a mail.
28 unset envelope_from # don't set envelope from via -f option of sendmail
29 set fast_reply # do not ask for to, subject,... when replying.
30 set fcc_attach # store attachments too when doing a Fcc
31 unset fcc_clear # encrypt Fcc of PGP encrypted messages?
32 unset text_flowed # generate "text/plain; format=flowed"
33 set followup_to # Add Mail-Followup-To header.
34 unset force_name # outgoing mail to be saved in folder of "login name"
35 set forward_decode # decode messages when forwarding without MIME
36 set forward_decrypt # decrypt PGP message, when mime_forward and !mime_fw_d
37 unset forward_quote # quote forwarded message, if not $mime_forward
38 set hdrs # nohdrs implies not to write my_hdr into mail.
39 unset header # quote full header on reply
40 unset help # show help in first line of the display
41 set hidden_host # when set, skip the host name part of hostname
42 unset hide_missing # When set, mutt will not show the presence of missing messages in the thread tree.
43 set ignore_list_reply_to # ignore Reply-To pointing back to mailinglist
44 unset implicit_autoview # use autoview, if a "copiousoutput" is in mailcap.
45 unset keep_flagged # don't move flagged mail to $mbox via mbox-hook
46 set mailcap_sanitize # remove ugly chars from mailcap % expands.
47 unset maildir_trash # if set: use maildir trash flag instead of removing
48 unset mark_old # mark new articles as old, when leaving mbox
49 set markers # put a '+' at the beginning of wrapped lines.
50 unset menu_scroll # scroll on last line of menu (set) or do a nextpage?
51 unset meta_key # Don't interpret Alt-x as ESC x
52 unset metoo # should we keep ourselves in group replies?
53 set mh_purge # remove messages marked as deleted from MH folders.
54 unset mime_forward_decode # decode messages when forwarding with MIME
55 set pager_stop # Don't jump to next message at end of message.
56 unset pipe_decode # Weed headers and PGP-decode message before piping
57 unset pipe_split # split tagged messages (or don't) when using "|"
58 #set pretty_spoolfile # print $spoolfile as "!" instead of full pathname
59 set print_decode # decode before sending to $print_command
60 unset print_split # if set, run the print command for every single mail
61 set prompt_after # display prompt after exit from pager
62 unset read_only # folders not read only
63 unset reply_self # if unset, a reply to yourself implies reply to other
64 set resolve # go to next undeleted message after modifying actual
65 set reverse_alias # use realname from reverse alias lookup
66 unset reverse_name # Set "From" to address, where replied mail was sent to
67 unset reverse_realname # Do not reuse realname from original message.
68 unset rfc2047_parameters # don't encode RFC2047 parameters
69 unset save_address # Use full mail adress (with domain) as default folder.
70 unset save_empty # remove mailbox when last message is removed.
71 unset save_name # Fcc, if ~/Mail/<to> exists.
72 unset sig_dashes # Don't prepend "-- \n" to the signature
73 unset sig_on_top # place signature above text (if set).
74 set smart_wrap # wrap long lines at word boundary.
75 set sort_re # set: only put a child in a thread, if starts with Re:
76 unset status_on_top # status line at the top or button?
77 unset strict_threads # thread only by In-Reply-To/References or by Subject.
78 set suspend # Ctrl-Z is able to suspend mutt.
79 set thorough_search # MIME decode before searching.
80 unset tilde # Internal Pager: ~~~~ at and of message?
81 unset uncollapse_jump # don't move pointer, when uncollapsing thread
82 unset use_8bitmime # run sendmail 8.8.x with -B8BITMIME to enable 8bit
83 set use_domain # add $domain to all addresses without @host
84 set use_from # generate a "From:" header (unless my_hdr From:)
85 #unset use_ipv6 # Only use IPv4 address resolution.
86 set user_agent # Create User-Agent: Mutt/<Version> header.
87 unset wait_key # Only "press a key" if return value non-zero
88 set weed # weed headers, when forwarding with forward_decode
89 set wrap_search # Wrap search to top/bottom.
90 unset write_bcc # send Bcc: line to $sendmail
100 # or reset foo (reset to compile time default)
102 set abort_nosubject=no # Abort, if message has no subject.
103 set abort_unmodified=no # Abort, if message wasn't edited.
104 set copy=yes # ask to save a copy of outgoing message?
105 set delete=yes # ask for confirmation when deleting messages?
106 set honor_followup_to=ask-yes # Ask whether to honor Mail-Followup-To header.
107 set include=yes # quote message, when replying
108 set mime_forward=ask-yes # use MIME when forwarding mails.
109 set mime_forward_rest=ask-yes # forward attachments w/o autoview from attmenu
110 set move=no # Move mail-spool to $mbox?
111 set postpone=ask-yes # ask for postponing when doing an Abort.
112 set print=ask-yes # ask whether you really want to print.
113 set quit=yes # ask before quitting.
114 set recall=no # don't ask for using postponed message.
115 set reply_to=ask-yes # Use or ignore Reply-To.
118 set certificate_file=~/.mutt/ca-certificates
125 set connect_timeout=30 # timeout (seconds) before reconnect. -1 => indefinite
126 set history=200 # Size of the history buffer
127 set mail_check=3 # time (in seconds) how often buffy checks for new mail
128 set pager_context=0 # number of lines, to display twice on PgUp/Down
129 set pager_index_lines=6 # add small message index at top of pager (4)
130 #set pager_index_lines=`zsh -c 'temp=($(stty size)) ; expr $temp[1] / 5 + 1'`
131 #set pager_index_lines=`((stty size 2>/dev/null||echo 24 80);echo s0 5/1+p)|dc`
132 set read_inc=10 # Mutt will notify when reading mailbox messages
133 set sendmail_wait=0 # >0 (wait seconds), 0 (forground), <0 (background)
134 set sleep_time=2 # pause (in seconds) while showing info messages
135 set timeout=60 # time in seconds, till Mutt looks for new mail
136 set wrapmargin=0 # margin left at right when doing smart line wrapping
137 set write_inc=10 # Mutt will notify when writing mailbox messages
142 # Sorting of the mails:
143 # (date-received, date-sent, from, mailbox-order, size, subject, threads,
144 # to, score) (and everything with a prefixed "reverse-")
145 # (sort_aux can be prefixed with "last-" to use last element in thread
146 # instead of first one)
149 set sort=threads # sorting the mails in threads
150 set sort_aux=date-received # sorting the threads
155 # Sortierung im File-Browser:
156 # (date, alpha, reverse-date, reverse-alpha)
159 set sort_browser=alpha
163 # Sorting of aliases:
164 # (alias, address, unsorted)
171 # ("unset" implies the compile time defaults)
174 #reset dotlock_program # where to find mutt_dotlock (reset uses default)
175 set display_filter="" # pipe message through this filter before displaying
176 set editor="exec gnuclient +\`awk '/^$/ {print NR+1; exit}' %s\` %s"
177 # start 1 line after first empty line
178 #set editor="emacsclient +8 %s" # start editor in line 8
179 #set editor="jed %s -tmp -f mail_mode"
180 set folder=~/Mail # where are the mailboxes (+ and = are shortcuts)
181 #set folder="{luv}Mail" # where are the mailboxes (+ and = are shortcuts)
182 set from="" # From: address (see send-hook my_hdr From)
183 reset ispell # ispell binary (compile time default)
184 set mbox=+inbox # not used if "set move=no"
185 set pager=builtin # internal pager: "builtin" or e.g. "less -e"
186 set postponed=+postponed # folder for postponed messages
187 set print_command="sed s/\f// | a2ps -2 -g --strip 1 -Email"
188 set query_command="lbdbq %s" # query tlr's little brothers database.
189 set record="~/Mail/outbox" # Don't save a copy of outgoing messages (Fcc)
190 #reset sendmail # Default-Sendmail with options ("-oem -oi")
191 reset shell # Take shell from /etc/passwd
192 set signature='~/.signature' # Signature (See send-hook!)
193 reset spoolfile # Default spool-file (e.g. /var/spool/mail/user)
194 set spoolfile=+INBOX # Maildir incoming file (~/Mail/incoming)
195 reset tmpdir # tmp-Dir (use compile time default)
196 reset visual # use $VISUAL as builtin editor.
202 # ("reset" implies compile time defaults)
205 set attach_sep="\n" # Separator to add between tagged attachements
206 set charset="utf-8" # Charset of Terminal (for display)
207 set send_charset="us-ascii:iso-8859-1:utf-8" # Charsets for outgoing messages.
208 reset escape # ESC-char for internal editor (use default).
209 reset hostname # FQDN (use default).
210 set indent_string="> " # Quoting mails with this string.
211 #set mailcap_path='~/.mailcap' # Use local mailcap only for mutt
213 set mh_seq_flagged="flagged" # Name of MH sequence used for flagged msgs.
214 set mh_seq_replied="replied" # Name of MH sequence used for replied msgs.
215 set mh_seq_unseen="unseen" # Name of MH sequence used for unseen msgs.
216 reset pipe_sep # separator between tagged mails (default: \n)
217 reset realname # get realname from /etc/passwd.
218 set simple_search="~f %s | ~C %s | ~s %s" # default pattern (Fr|To|Cc|Su)
219 set status_chars="-*%A" # status of mbox (unchanged, changed, readonly, attach)
220 set to_chars=" +TCF " # no to me, only to me, not only to me, Cc: to me,
221 # from me, to subscribed mailinglist.
222 # set locale="de_DE" # locale settings (See send-hook section for changes!)
227 # Magic (mailbox type):
228 # allowed values: mbox, MMDF, MH, Maildir
231 set mbox_type=Maildir
238 # (seems to be limited to 114 chars!)
241 ((don(\\+.*)?@(.*\\.)?(donarmstrong|anylevel|oneinfinity)\\.(com|org|net))\
242 |(don(\\+.*)?@(.*\\.)?(rzlab|pellam)\\.ucr\\.edu)\
243 |(don(\\+.*)?@(.*\\.)?debian\\.org)\
244 ))$" # alternate usernames
246 set mask="." # Show these files in the file browser
247 #set mask="!^\\.[^.]" # Default
249 set gecos_mask="^[^,]*" # Parse the GECOS field from passwd file.
251 set quote_regexp="^( {0,5}[>|:%]| {0,5}[a-z0-9]+[>|]+)+"
254 set reply_regexp="^((re(\\^[0-9])? ?:|a(nt)?w(ort)?:|wg:|\\(fwd\\))[ \t]*)*"
255 # Subject prefixes (removed on answering and threading)
256 #set reply_regexp="^(re|aw):[ \t]+" # Default
258 set smileys="(>From )|(:[-^]?[][)(><}{|/DP])"
259 # Special chars, which are not quote regexps, but :-)
266 set date_format="!%a %b %d, %Y at %I:%M:%S%p %Z"
267 # control output of %d in index_format. strftime(3)
268 # here: Monday Dec 06, 1997 at 08:30:42pm CET
270 # Allows escape sequences:
271 # (\n = newline, \r = carriage-return, \t = tab, \f = formfeed)
273 # %a Author address %b original mbox %B destination list or mbox
274 # %c bytes in message %C Message number
275 # %d date and time in senders timezone ($date_format)
276 # %D date and time in local timezone ($date_format)
277 # %e curr. msg no in thread %E number of msgs in curr. thread
278 # %f address+real name %F address+realname (unless self)
279 # %i Message-ID %l number of lines %L list-from function
280 # %m # of msg in mbox %M number of hidden messages in collapsed thread
281 # %n author real name %N score %s subject of msg
282 # %S status of message (N/D/d/!/*/r)
283 # %t `to:' field %T char from tochars %u login name of author
284 # %v author's firstname %y X-Label %Y X-Label, if changed
285 # %Z message status flags
286 # %>X right justify the rest of the string and pad with character "X"
287 # %|X pad to the end of the line with character "X"
288 # %{<s>} sent time+date in senders timezone (<s> is an strftime(3) expression)
289 # %[<s>] sent time+date in local timezone (<s> is an strftime(3) expression)
290 # %(<s>) receive time+date in local timezone (<s> is an strftime(3) expression)
291 # %<<s>> current time in local timezone (<s> is an strftime(3) expression)
292 # if first char in <s> is "!", do not use locale.
294 set forward_format="(fwd) %s"
295 # subject of forwarded mails
297 set index_format="%4C %Z %[!%k:%M %m.%d.%y] %-15.15F (%?M?C%3M&%4c?) %s"
298 # message line in the index
299 # don't use locales here, because it's not needed and
300 # it runs in a memory leak in Linux libc5
301 # use %[!...] or %{!...} instead
302 # In local folders display lines:
304 # 'set index_format="%4C %Z %[!%d.%m.%y] %-15.15F (%?M?C%3M&%4l?) %s"'
305 # In IMAP folders display KByte (because lines are not available):
307 # 'set index_format="%4C %Z %[!%d.%m.%y] %-15.15F (%?M?C%3M&%4c?) %s"'
309 set message_format="%-.16n: %s"
310 # string for message/rfc822 in attachment list
312 set pager_format="-%Z- %C/%m [%[%H:%M]] %-17.17n %s"
313 # status line of the pager
314 # (show time here, date can be seen in "pil")
316 set post_indent_string="" # Footer (after quotes, before signature).
319 set attribution='On %{%a, %d %b %Y}, %n wrote:\n'
320 # Default Reply-Intro (See send-hook for changes!)
322 # %C current number %d last modified %f filename
323 # %F permissions %g group %l number of hard links
324 # %N "N" if new mail %s size in bytes %t "*" if tagged
325 # %u owner name %>X right justify the rest and pad with "X"
326 # %|X pad to the end of the line with character "X"
327 set folder_format="%3C %t%N %F %-8.8u %-8.8g %8s %d %f"
335 # %b # of folders with new mail %d # of deleted msgs
336 # %f mbox path %F # of flagged msgs %h hostname
337 # %m total# of messages %M # of shown msgs %n # of new msgs
338 # %l bytes in mbox %L size of limited msgs %o # of old msgs
339 # %p # of postponed. msgs %P percentage of the display
340 # %r readonly/changed %s sorting method %S sort_aux method
341 # %t # of tagged msgs %u # of unread msgs %v Mutt version
342 # %>X = right justify and pad with "X" %|X = pad with "X" to end of line
343 # %?<sequence_char>?<optional_string>? print <opt> iff <seq> is non zero
344 # %?<sequence_char>?<if_string>&<else_string>?
346 #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-"
347 #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-"
348 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-"
353 # (format of data displayed for the alias menu)
354 # %a alias name %n index number %r address %t tag-character
356 set alias_format="%4n %2d %t %-12a %r"
361 # (controls the look of the compose and attach menu)
362 # %c = Content-Type %C = Charset
363 # %d = description %D = deleted flag
364 # %e = MIME content-transfer-encoding %f = filename
365 # %I = disposition (I=inline, A=attachment)
366 # %m = major MIME type %M = MIME subtype %n = attachment number
367 # %s = size %t = tagged flag %T = tree
369 # %>X = right justify and pad with "X" %|X = pad with "X" to end of line
371 #set attach_format="%u%D%t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] "
372 set attach_format="%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] "
377 # (Controls the status line of the compose menu)
378 # %a = number of attachments %h = local hostname
379 # %l = approx. size of msg %v = Mutt version
381 set compose_format="-- %v-- Compose [Approximate Message Size: %l Attachments: %a]%>-"
385 # Mixmaster Support (only when --with-mixmaster)
387 # %n = number %c = capabilities %s = short name %a = address
388 #set mix_entry_format="%4n %c %-16s %a" # Format of mixmaster list
389 #set mixmaster="mixmaster" # Mixmaster binary
394 # Pretty Good Privacy (PGP):
397 set pgp_ignore_subkeys # On OpenPGP keys only show the main key, not the sub.
398 set pgp_autosign # pgp sign every outgoing mail. (send-hook?)
399 unset pgp_autoencrypt # pgp encrypt every outgoing mail. (send-hook?)
400 set pgp_create_traditional=no # Use old-style PGP? (don't do it!)
401 set pgp_replyencrypt # Encrypt replies on encrypted mail
402 set pgp_replysign # Sign replies on signed mail
403 set pgp_replysignencrypted # Sign replies on encrypted mail
404 unset pgp_retainable_sigs # disable retainable signatures.
405 set pgp_verify_sig=yes # ask me whether I want to check a pgp signature
406 set pgp_timeout=7200 # forget PGP passphrase after 7200 seconds (=2 hours)
407 set pgp_strict_enc # allway use QP enc. with PGP.
408 unset pgp_long_ids # display 64bit PGP key-ids (don't change this!)
409 set pgp_show_unusable # show unusable PGP keys in menu
410 set pgp_use_gpg_agent # Use gpg_agent
412 # %n = number %k = key id %K = key id of the principal key
413 # %u = user id %a = algorithm %A = algorithm of the princ. key
414 # %l = length %L = length of the princ. key
415 # %f = flags %F = flags of the princ. key
416 # %c = capabilities %C = capabilities of the princ. key
417 # %t = trust/validity of the key-uid association
418 #set pgp_entry_format="%4n %t%f %4l/0x%k %-4a %2c %u"
419 set pgp_entry_format="%4n %t%f %[%y/%m/%d] %4l/0x%k %-4a %2c %u"
422 # Sorting of PGP keys:
423 # (address, keyid, date, trust) and reverse-*
425 set pgp_sort_keys=trust
431 # Delivery Status Notification (DSN)
432 # (this may cause problems with some MTAs, so comment it out, if necessary)
435 set dsn_notify="failure,delay"
436 set dsn_return="hdrs"
440 # score <pattern> <value>
443 # (pattern is something like '~A' (all), '~f aol\.com$', '~s mutt' ...)
444 # (value is between -9999 and 9999. A prefix '=' sets otherwise incr/decr)
448 unset score # turn off scoring
449 set score_threshold_delete=-1 # mark messages with score <=value deleted
450 set score_threshold_flag=9999 # mark messages with score >=value flagged
451 set score_threshold_read=-1 # mark messages with score <=value read
456 # Show or suppress headers:
459 ignore lines precedence status
460 ignore nntp-posting-host path old-return-path received >received references
461 ignore content- errors-to in-reply-to mime-version
462 ignore resent-message-id return-path xref path
463 ignore x-keywords x-uid x-ftn-via x-ftn-domain x-ftn-seen-by x-ftn-path
464 ignore x-gateway x-loop x-sender x-priority
465 ignore mbox-line x-pop3-rcpt x-mailing-list x400- dl-expansion-history
466 ignore priority alternate-recipient x-zc-via
467 ignore x-received x-envelope-sender x-return-path x-authentication-warning
468 ignore resent-message-id resent-sender resent-date resent-cc
469 ignore x-envelope-from x-envelope-to x-delivery-time
470 ignore x-egroups-return list-unsubscribe list-archive list-help
477 # Extra headers that I would like added to all my outgoing mail messages.
478 # Attention: !!! No comments in the (un)my_hdr lines !!!
482 # remove all extra headers first.
485 # MIME-Types which should be automatically displayed. If a copiousoutput
486 # exists, use it and display it in internal pager.
487 # (if $implicit_autoview is set, this is automated for MIME types where
488 # an entry with copiousoutput exists in the mailcap)
491 auto_view text/richtext text/html text/x-sgml text/x-vcard text/x-sh \
492 text/x-csrc text/tex text/-xtex text/english \
493 application/x-tex application/x-dvi \
494 application/x-gzip-dvi application/x-diff-gzip application/x-gzip \
495 application/x-gunzip application/x-bzip2 \
496 application/x-cpio application/x-gtar \
497 application/x-tar application/x-tar-gz application/x-rar-compressed \
498 application/x-zip-compressed application/zip application/x-csh \
499 application/x-sh application/x-script application/x-shellscript \
500 application/x-latex application/x-tex application/x-shar \
501 application/x-troff application/x-troff-man application/x-troff-me \
502 application/x-pgp-message application/msword \
503 application/ms-tnef application/ms-word application/rtf \
504 application/octet-stream application/x-tcl application/x-perl \
505 application/x-debian-package message/partial
509 # List of MIME-Types to give a priority when reading multipart/alternative
512 alternative_order text/enriched text/plain text/html
517 # mbox-hook pattern mailbox
518 # (save all "read" messages from pattern to mailbox)
522 # monochrom terminals:
523 # (none, bold, underline, reverse, standout)
527 mono normal none # normal text
528 mono indicator reverse # actual message
529 mono tree none # thread arrows
530 mono status reverse # status line
531 mono error bold # errors
532 mono message none # info messages
533 mono quoted bold # quoted text
534 mono signature none # signature
535 mono attachment underline # MIME attachments
536 mono search reverse # search matches
537 mono tilde none # ~ at bottom of msg
538 mono markers bold # + at beginning of wrapped lines
539 mono hdrdefault none # default header lines
540 mono bold bold # hiliting bold patterns in body
541 mono underline underline # hiliting underlined patterns in body
543 # object attribute RegExp
545 mono header bold "^(from|subject):"
546 #mono body underline "((ftp|http|https)://|news:)[^ >)\"\t]+"
547 mono body underline "((ftp|http|https)://|(file|news):|www\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?"
548 mono body underline "[-a-z_0-9.]+@[-a-z_0-9.]+"
549 mono body bold "(^| )\\*[-a-z0-9]+"
551 ## ========================================================================
553 ## AUTO_VIEW - tell mutt which "content types" to view with
554 ## the command given in the $HOME/.mailcap file.
555 ## ========================================================================
557 #auto_view text/html text/enriched application/x-gunzip application/postscript /gif application/x-tar-gz application/pgp-signature image/*
559 ## ========================================================================
560 ## BIND - bind commands to keys.
561 ## ========================================================================
563 ## ========================
564 ## Bindings for attach menu
565 ## ========================
567 bind attach ' ' select-entry
569 ## ============================
570 ## Bindings for index and pager
571 ## ============================
573 ## Jumping to the next mail that is still unread.
574 bind index \t next-new
575 bind pager \t next-new
576 bind index ' ' next-unread
577 bind pager ' ' next-unread
578 bind index V show-version
579 bind pager V show-version
580 bind index A create-alias
581 bind pager A create-alias
582 #macro index S <pipe-message>add_spammer.pl<enter>s="SPAM\n"
583 #macro pager S <pipe-message>add_spammer.pl<enter>s="SPAM\n"
584 #macro index X |"spamassassin -r \n"
585 #macro pager X |"spamassassin -r \n"
586 macro index S "s=spam/MANUALSPAM\r"
587 macro pager S "s=spam/MANUALSPAM\r"
588 macro index X "s=spam/HAM\ru"
589 macro pager X "s=spam/HAM\ru"
591 ## ==============================================
592 ## Bindings for editing and reloading the .muttrc
593 ## ==============================================
595 macro generic ,ve "!gnuclient ~/.muttrc\n"
596 macro generic ,vu ":source ~/.muttrc\r"
597 macro generic ,va "!gnuclient ~/.mail_aliases \n"
599 ## ======================
600 ## Bindings for index
601 ## ======================
603 bind index P recall-message
604 bind index s save-message
605 bind browser x check-new
606 bind index <pagedown> next-page
607 bind index <pageup> previous-page
608 bind index x sync-mailbox
609 bind index a tag-prefix
610 bind index \; tag-entry
612 macro index \cb "|urlview\n"
613 macro index ,l "l~N ! ~p\n"
614 macro index ,n "l~N\n"
616 # ======================================
617 # Quickly change to my favorite folders:
618 # ======================================
619 macro index "\\d" "c=lists/debian-devel\r"
620 macro index "\\o" "c=outbox\r"
621 macro index "\\b" "c=lists/debian_bugs\r"
622 macro index I "c!\n" "Go to Inbox"
623 macro pager "\\d" "c=lists/e-develop\r"
624 macro pager "\\o" "c=outbox\r"
625 macro pager "\\b" "c=lists/debian_bugs\r"
626 macro pager I "c!\n" "Go to Inbox"
628 # ===========================
630 # ===========================
633 bind pager L list-reply
634 bind pager b bounce-message
635 bind pager f forward-message
637 bind pager g group-reply
638 bind pager j next-line
639 bind pager k previous-line
640 bind pager : enter-command
641 bind pager p previous-undeleted
642 bind pager n next-undeleted
643 bind pager \n next-unread
644 bind pager \cf forget-passphrase
645 #bind compose \n send-message
646 bind compose s send-message
647 bind pager ,p print-message
649 macro pager J "!gpg --keyserver wwwkeys.eu.pgp.net --recv-key " "Get PGP Key"
650 macro pager K "!gpg --lsign-key " "Sign PGP Key"
652 # funky gimmick, but I never use it =)
653 #macro pager ,s "|festival --tts\r"
655 #macro index M "c{imap1.bonn.id-pro.net}\n"
657 macro pager "i" "<sync-mailbox><change-folder>?<toggle-mailboxes>"
658 macro index "i" "<sync-mailbox><change-folder>?<toggle-mailboxes>"
660 ## =====================================
661 ## Tom's cursor movement system [tm] ;-)
662 ## =====================================
664 bind pager <up> previous-line
665 bind pager <down> next-line
666 bind pager <left> exit
667 bind pager <right> view-attachments
668 bind attach <left> exit
669 bind attach <right> view-attach
670 bind index <right> display-message
671 # Pre mutt 1.3.x, you'll want this instead:
672 #macro index <left> "c?"
673 macro index <left> "c?<tab>"
674 bind browser <right> select-entry
675 bind browser <left> exit
680 color attachment white magenta
681 color body brightgreen default "ftp://[^ ]*"
682 color body brightgreen default "[[:alnum:]][-+.#_[:alnum:]]*@[-+.[:alnum:]]*[[:alnum:]]"
683 color body brightgreen default "<URL:[^ ]*>"
684 color bold green default
685 color error red default
687 color header yellow default "^from"
688 color header green default "^from:"
689 color header green default "^to:"
690 color header green default "^cc:"
691 color header green default "^date:"
692 color header yellow default "^newsgroups:"
693 color header yellow default "^reply-to:"
694 color header brightcyan default "^subject:"
695 color header red default "^x-spam-rule:"
696 color header yellow default "^x-mailer:"
697 color header yellow default "^message-id:"
698 color header yellow default "^Organization:"
699 color header yellow default "^Organisation:"
700 color header yellow default "^User-Agent:"
701 color header yellow default "^message-id: .*pine"
702 color header yellow default "^X-Fnord:"
703 color header yellow default "^X-WebTV-Stationery:"
704 color header yellow default "^X-Message-Flag:"
706 color indicator white blue
707 color markers red default
708 color message white blue
710 ## ==================================================
711 ## Colorizing the body of messages (ie in the pager)
712 ## ==================================================
714 color normal white default # pager body
716 # Coloring quoted text - coloring the first 7 levels:
717 color quoted cyan default
718 color quoted1 yellow default
719 color quoted2 red default
720 color quoted3 green default
721 color quoted4 cyan default
722 color quoted5 yellow default
723 color quoted6 red default
724 color quoted7 green default
726 color signature brightred default
727 color status white blue
728 color tilde blue default
729 color tree brightmagenta default
730 color underline yellow default
731 color body yellow default "[;:]-[)/(|]" # colorise smileys
732 color body yellow default "[;:][)/(|]"
733 color body brightblue default "(http|ftp|news|telnet|finger)://[^ ]*"
735 color index yellow default ~N # New
736 color index yellow default ~O # Old
737 # color index brightgreen default '~s tgil'
738 # color index cyan default '~s gilbertt ~f cvs-commits-list'
739 color index brightgreen default '~p' # mail to myself
740 color index brightcyan default '~P' # mail from myself
741 color index magenta default ~F # Flagged
742 color index blue default ~T # Tagged
743 color index red default ~D # Deleted
745 # Headers to ignore/see
746 # Ignore everything but the really important lines:
748 unignore from: date subject to cc reply-to:
749 unignore organization organisation
750 unignore user-agent: x-agent: x-mailer: x-newsreader:
751 unignore newsgroups: posted-to: x-spam-rule:
752 # These can provide amusement
753 unignore X-Fnord: X-WebTV-Stationery: X-Message-Flag:
755 # ordering of headers in the pager
757 hdr_order Date: From: To: Cc: X-Newsreader: X-Mailer: Organization: Organisation: User-Agent: X-Fnord: X-WebTV-Stationery: X-Message-Flag: Newsgroups: Reply-To: Subject: x-spam-rule:
759 ## "alternates" tells mutt about your addresses. Mutt thus can show mails
760 ## addresses to you in the folder index as "personal" using the flag '+'.
761 #set alternates=((tom|gilbertt)@snowman.net|.*@linuxbrit.*|.*@offended.*|giblet@lunixbrat.com)
763 # Set the defaults for folders:
764 folder-hook . set timeout=30
765 folder-hook . set sort=threads
766 folder-hook . set sort_aux=date-received
767 # When I'm in the main index, check more often :)
768 #folder-hook "!" set timeout=5
769 # Mail in my inbox is more date than thread sensitive...
770 folder-hook "!" set sort=date-received
771 folder-hook "sent" set sort=date-received
773 #folder-hook . set signature=~/.signature
775 #folder-hook . unmy_hdr *
776 folder-hook . my_hdr "From: Don Armstrong <don@donarmstrong.com>"
777 folder-hook . set signature="~/.signature"
780 reply-hook ~A unmy_hdr "X-Debbugs-No-Ack";
781 reply-hook '~h X-Debian-PR' my_hdr "X-Debbugs-No-Ack: yes no ack";
782 send-hook ~A unmy_hdr "X-Debbugs-No-Ack";
783 send-hook '~C submit@bugs.debian.org | ~C control@bugs.debian.org' my_hdr "X-Debbugs-No-Ack: yes no ack"
786 # Debian folder hooks
787 folder-hook debian my_hdr "From: Don Armstrong <don@debian.org>"
789 #reply-hook '~C don@debian.org' my_hdr "From: Don Armstrong <don@debian.org>"
791 macro generic ,ad my_hdr "From: Don Armstrong <don@debian.org>"
792 macro generic ,an my_hdr "From: Don Armstrong <don@donarmstrong.com>"
794 send-hook ~A '`/home/don/lib/signature_stuff/pick_a_quote.pl` set-signature "~/.signature"'
797 open-hook \\.gz$ "gzip -cd %f > %t"
798 close-hook \\.gz$ "gzip -c %t > %f"
799 append-hook \\.gz$ "gzip -c %t >> %f"
804 ## "lists" adds a list of mailing lists addresses
805 ## so mutt knows about these for showing them in the folder indes
806 ## and to allow replying to them with the command "list-reply".
807 ## The first part of the address (up to the @) should be used here.
808 unlists * # remove old entries first
809 lists `cd ~/Mail/lists && echo *`
810 lists `cd ~/Mail/bugs && echo *`
813 subscribe `cd ~/Mail/lists && echo *`
814 subscribe `cd ~/Mail/bugs && echo *`
816 ## "mailboxes" defines the list of folders to be checked for new mail
817 ## Mutt both can show the number of mailboxes with new mail in the index and
818 ## you can cycle through these after giving the "change-folder" command. :-)
824 #mailboxes +sms +SPAM +work
825 mailboxes `for file in ~/Mail/lists/*; do echo -n "+lists/$(basename $file) "; done`
826 mailboxes `for file in ~/Mail/bugs/*; do echo -n "+bugs/$(basename $file) "; done`