]> git.donarmstrong.com Git - mail.git/commitdiff
* Completely move around the home directory system and begin
authorDon Armstrong <don@donarmstrong.com>
Fri, 17 Feb 2006 09:22:07 +0000 (09:22 +0000)
committerDon Armstrong <don@donarmstrong.com>
Fri, 17 Feb 2006 09:22:07 +0000 (09:22 +0000)
   transitioning to a module based system instead of the individual
   directories

.muttrc [new file with mode: 0644]
.offlineimaprc [new file with mode: 0644]

diff --git a/.muttrc b/.muttrc
new file mode 100644 (file)
index 0000000..9925b07
--- /dev/null
+++ b/.muttrc
@@ -0,0 +1,833 @@
+
+set realname='Don Armstrong'
+source ~/.mail_aliases
+set alias_file=~/.mail_aliases
+
+
+unset allow_8bit       # use QP or Base64 if unset.
+set allow_ansi         # allow ANSI color codes in messages.
+unset arrow_cursor     # "->" as cursor (faster on slow networks).
+unset ascii_chars       # Use ASCII chars for threading arrows.
+unset askbcc           # ask to fill out Bcc on mesg-send?
+unset askcc            # ask to fill out CC on mesg-send?
+set attach_split       # handle every single attachment instead of concat
+set autoedit           # start editor without asking for to, subject,...
+unset auto_tag         # if something is tagged, run commands on tagged msgs.
+unset beep             # beep on certain user errors and other errors
+unset beep_new         # beep on new mail
+set bounce_delivered   # unset => remove Delivered-To: when bouncing.
+set check_new          # search for new messages in maildir/MH folders.
+unset collapse_unread  # don't collapse threads with unread mails
+unset confirmappend    # prompt for confirm when appending message to ex. mbox
+set confirmcreate      # prompt for confirm when saving to non existing mbox
+set delete_untag       # untag messages when marking them for deletion
+set digest_collapse    # show digest parts in 'v' submenu
+set duplicate_threads  # thread messages with same message-id together
+set edit_headers       # put headers in editor when composing messages
+set encode_from                # use Quoted-Printable, if ^From in a mail.
+unset envelope_from    # don't set envelope from via -f option of sendmail
+set fast_reply         # do not ask for to, subject,... when replying.
+set fcc_attach         # store attachments too when doing a Fcc
+unset fcc_clear                # encrypt Fcc of PGP encrypted messages?
+unset text_flowed      # generate "text/plain; format=flowed"
+set followup_to                # Add Mail-Followup-To header.
+unset force_name       # outgoing mail to be saved in folder of "login name"
+set forward_decode     # decode messages when forwarding without MIME
+set forward_decrypt    # decrypt PGP message, when mime_forward and !mime_fw_d
+unset forward_quote    # quote forwarded message, if not $mime_forward
+set hdrs               # nohdrs implies not to write my_hdr into mail.
+unset header           # quote full header on reply
+unset help             # show help in first line of the display
+set hidden_host                # when set, skip the host name part of hostname
+unset hide_missing      # When set, mutt will not show the presence of missing messages in the thread tree.
+set ignore_list_reply_to       # ignore Reply-To pointing back to mailinglist
+unset implicit_autoview        # use autoview, if a "copiousoutput" is in mailcap.
+unset keep_flagged     # don't move flagged mail to $mbox via mbox-hook
+set mailcap_sanitize   # remove ugly chars from mailcap % expands.
+unset maildir_trash    # if set: use maildir trash flag instead of removing
+unset mark_old         # mark new articles as old, when leaving mbox
+set markers            # put a '+' at the beginning of wrapped lines.  
+unset menu_scroll      # scroll on last line of menu (set) or do a nextpage?
+unset meta_key         # Don't interpret Alt-x as ESC x
+unset metoo            # should we keep ourselves in group replies?
+set mh_purge           # remove messages marked as deleted from MH folders.
+unset mime_forward_decode      # decode messages when forwarding with MIME
+set pager_stop         # Don't jump to next message at end of message.
+unset pipe_decode      # Weed headers and PGP-decode message before piping
+unset pipe_split       # split tagged messages (or don't) when using "|"
+#set pretty_spoolfile  # print $spoolfile as "!" instead of full pathname
+set print_decode       # decode before sending to $print_command
+unset print_split      # if set, run the print command for every single mail
+set prompt_after       # display prompt after exit from pager
+unset read_only                # folders not read only
+unset reply_self       # if unset, a reply to yourself implies reply to other
+set resolve            # go to next undeleted message after modifying actual
+set reverse_alias      # use realname from reverse alias lookup
+unset reverse_name     # Set "From" to address, where replied mail was sent to
+unset reverse_realname # Do not reuse realname from original message.
+unset rfc2047_parameters       # don't encode RFC2047 parameters
+unset save_address     # Use full mail adress (with domain) as default folder.
+unset save_empty       # remove mailbox when last message is removed.
+unset save_name                # Fcc, if ~/Mail/<to> exists.
+unset sig_dashes       # Don't prepend "-- \n" to the signature
+unset sig_on_top       # place signature above text (if set).
+set smart_wrap         # wrap long lines at word boundary.
+set sort_re            # set: only put a child in a thread, if starts with Re:
+unset status_on_top    # status line at the top or button?
+unset strict_threads   # thread only by In-Reply-To/References or by Subject.
+set suspend            # Ctrl-Z is able to suspend mutt.
+set thorough_search    # MIME decode before searching.
+unset tilde            # Internal Pager: ~~~~ at and of message?
+unset uncollapse_jump  # don't move pointer, when uncollapsing thread
+unset use_8bitmime     # run sendmail 8.8.x with -B8BITMIME to enable 8bit 
+set use_domain         # add $domain to all addresses without @host
+set use_from           # generate a "From:" header (unless my_hdr From:)
+#unset use_ipv6                # Only use IPv4 address resolution.
+set user_agent         # Create User-Agent: Mutt/<Version> header.
+unset wait_key         # Only "press a key" if return value non-zero
+set weed               # weed headers, when forwarding with forward_decode
+set wrap_search                # Wrap search to top/bottom.
+unset write_bcc                # send Bcc: line to $sendmail 
+
+
+
+#
+# Quadoptions 
+#      set foo=yes
+#  or  set foo=ask-yes
+#  or  set foo=no
+#  or  set foo=ask-no
+#  or  reset foo (reset to compile time default)       
+
+set abort_nosubject=no # Abort, if message has no subject.
+set abort_unmodified=no        # Abort, if message wasn't edited.
+set copy=yes           # ask to save a copy of outgoing message?
+set delete=yes         # ask for confirmation when deleting messages?
+set honor_followup_to=ask-yes  # Ask whether to honor Mail-Followup-To header.
+set include=yes                # quote message, when replying
+set mime_forward=ask-yes       # use MIME when forwarding mails.
+set mime_forward_rest=ask-yes  # forward attachments w/o autoview from attmenu
+set move=no            # Move mail-spool to $mbox?
+set postpone=ask-yes   # ask for postponing when doing an Abort.
+set print=ask-yes      # ask whether you really want to print.
+set quit=yes           # ask before quitting.
+set recall=no          # don't ask for using postponed message.
+set reply_to=ask-yes   # Use or ignore Reply-To.
+
+
+set certificate_file=~/.mutt/ca-certificates
+
+
+#
+# Integers:
+#
+
+set connect_timeout=30 # timeout (seconds) before reconnect. -1 => indefinite
+set history=200                # Size of the history buffer
+set mail_check=3       # time (in seconds) how often buffy checks for new mail
+set pager_context=0    # number of lines, to display twice on PgUp/Down
+set pager_index_lines=6        # add small message index at top of pager (4)
+#set pager_index_lines=`zsh -c 'temp=($(stty size)) ; expr $temp[1] / 5 + 1'`
+#set pager_index_lines=`((stty size 2>/dev/null||echo 24 80);echo s0 5/1+p)|dc`
+set read_inc=10                # Mutt will notify when reading mailbox messages
+set sendmail_wait=0    # >0 (wait seconds), 0 (forground), <0 (background)
+set sleep_time=2       # pause (in seconds) while showing info messages
+set timeout=60         # time in seconds, till Mutt looks for new mail
+set wrapmargin=0       # margin left at right when doing smart line wrapping
+set write_inc=10       # Mutt will notify when writing mailbox messages
+
+
+
+#
+# Sorting of the mails:
+# (date-received, date-sent, from, mailbox-order, size, subject, threads, 
+#  to, score) (and everything with a prefixed "reverse-")
+# (sort_aux can be prefixed with "last-" to use last element in thread 
+#  instead of first one)
+#
+
+set sort=threads       # sorting the mails in threads
+set sort_aux=date-received     # sorting the threads
+
+
+
+#
+# Sortierung im File-Browser:
+# (date, alpha, reverse-date, reverse-alpha)
+#
+
+set sort_browser=alpha
+
+
+#
+# Sorting of aliases:
+# (alias, address, unsorted)
+#
+set sort_alias=alias
+
+
+#
+# Paths:
+# ("unset" implies the compile time defaults)
+#
+
+#reset dotlock_program # where to find mutt_dotlock (reset uses default)
+set display_filter=""  # pipe message through this filter before displaying
+set editor="exec gnuclient +\`awk '/^$/ {print NR+1; exit}' %s\` %s"
+                       # start 1 line after first empty line
+#set editor="emacsclient +8 %s"        # start editor in line 8
+#set editor="jed %s -tmp -f mail_mode"
+set folder=~/Mail      # where are the mailboxes (+ and = are shortcuts)
+#set folder="{luv}Mail"        # where are the mailboxes (+ and = are shortcuts)
+set from=""            # From: address (see send-hook my_hdr From)
+reset ispell           # ispell binary (compile time default)
+set mbox=+inbox                # not used if "set move=no"
+set pager=builtin      # internal pager: "builtin" or e.g. "less -e" 
+set postponed=+postponed       # folder for postponed messages
+set print_command="sed s/\f// | a2ps -2 -g --strip 1 -Email"
+set query_command="lbdbq %s"   # query tlr's little brothers database.
+set record="~/Mail/outbox"             # Don't save a copy of outgoing messages (Fcc)
+#reset sendmail                # Default-Sendmail with options ("-oem -oi")
+reset shell            # Take shell from /etc/passwd 
+set signature='~/.signature'   # Signature (See send-hook!)
+reset spoolfile        # Default spool-file (e.g. /var/spool/mail/user)
+set spoolfile=+INBOX   # Maildir incoming file (~/Mail/incoming)
+reset tmpdir           # tmp-Dir (use compile time default)
+reset visual           # use $VISUAL as builtin editor.
+set narrow_tree=yes
+
+
+#
+# Strings:
+# ("reset" implies compile time defaults)
+#
+
+set attach_sep="\n"    # Separator to add between tagged attachements
+set charset="utf-8"    # Charset of Terminal (for display)
+set send_charset="us-ascii:iso-8859-1:utf-8"  # Charsets for outgoing messages.
+reset escape           # ESC-char for internal editor (use default).
+reset hostname         # FQDN (use default).
+set indent_string="> " # Quoting mails with this string.
+#set mailcap_path='~/.mailcap' # Use local mailcap only for mutt
+reset mailcap_path
+set mh_seq_flagged="flagged"   # Name of MH sequence used for flagged msgs.
+set mh_seq_replied="replied"   # Name of MH sequence used for replied msgs.
+set mh_seq_unseen="unseen"     # Name of MH sequence used for unseen msgs.
+reset pipe_sep         # separator between tagged mails (default: \n)
+reset realname         # get realname from /etc/passwd.
+set simple_search="~f %s | ~C %s | ~s %s"      # default pattern (Fr|To|Cc|Su)
+set status_chars="-*%A"        # status of mbox (unchanged, changed, readonly, attach)
+set to_chars=" +TCF "  # no to me, only to me, not only to me, Cc: to me, 
+                       # from me, to subscribed mailinglist.
+# set locale="de_DE"   # locale settings (See send-hook section for changes!)
+
+
+
+#
+# Magic (mailbox type):
+# allowed values: mbox, MMDF, MH, Maildir
+#
+
+set mbox_type=Maildir
+
+
+
+#
+# RegExps:
+#
+# (seems to be limited to 114 chars!)
+#
+alternates "\^(\
+((don(\\+.*)?@(.*\\.)?(donarmstrong|anylevel|oneinfinity)\\.(com|org|net))\
+|(don(\\+.*)?@(.*\\.)?(rzlab|pellam)\\.ucr\\.edu)\
+|(don(\\+.*)?@(.*\\.)?debian\\.org)\
+))$"                           # alternate usernames
+
+set mask="."                   # Show these files in the file browser
+#set mask="!^\\.[^.]"          # Default
+
+set gecos_mask="^[^,]*"                # Parse the GECOS field from passwd file.
+
+set quote_regexp="^( {0,5}[>|:%]| {0,5}[a-z0-9]+[>|]+)+"
+                               # for color quotes
+
+set reply_regexp="^((re(\\^[0-9])? ?:|a(nt)?w(ort)?:|wg:|\\(fwd\\))[ \t]*)*"
+                       # Subject prefixes (removed on answering and threading)
+#set reply_regexp="^(re|aw):[ \t]+"    # Default
+
+set smileys="(>From )|(:[-^]?[][)(><}{|/DP])"
+                       # Special chars, which are not quote regexps, but :-)
+
+
+#
+# Format-Strings:
+# 
+
+set date_format="!%a %b %d, %Y at %I:%M:%S%p %Z"
+                       # control output of %d in index_format. strftime(3)
+                       # here: Monday Dec 06, 1997 at 08:30:42pm CET
+
+# Allows escape sequences: 
+#     (\n = newline, \r = carriage-return, \t = tab, \f = formfeed)
+# 
+# %a Author address    %b original mbox        %B destination list or mbox
+# %c bytes in message  %C Message number
+# %d date and time in senders timezone ($date_format)
+# %D date and time in local timezone ($date_format)
+# %e curr. msg no in thread    %E number of msgs in curr. thread
+# %f address+real name %F address+realname (unless self)
+# %i Message-ID                %l number of lines      %L list-from function
+# %m # of msg in mbox  %M number of hidden messages in collapsed thread
+# %n author real name  %N score                %s subject of msg     
+# %S status of message (N/D/d/!/*/r)           
+# %t `to:' field       %T char from tochars    %u login name of author
+# %v author's firstname        %y X-Label              %Y X-Label, if changed
+# %Z message status flags
+# %>X    right justify the rest of the string and pad with character "X"
+# %|X    pad to the end of the line with character "X"
+# %{<s>} sent time+date in senders timezone  (<s> is an strftime(3) expression)
+# %[<s>] sent time+date in local timezone    (<s> is an strftime(3) expression)
+# %(<s>) receive time+date in local timezone (<s> is an strftime(3) expression)
+# %<<s>> current time in local timezone      (<s> is an strftime(3) expression)
+#       if first char in <s> is "!", do not use locale.
+
+set forward_format="(fwd) %s"
+                       # subject of forwarded mails
+
+set index_format="%4C %Z %[!%k:%M %m.%d.%y] %-15.15F (%?M?C%3M&%4c?) %s"
+                       # message line in the index
+                       # don't use locales here, because it's not needed and 
+                       # it runs in a memory leak in Linux libc5 
+                       # use %[!...] or %{!...} instead
+# In local folders display lines:
+#folder-hook . \
+#      'set index_format="%4C %Z %[!%d.%m.%y] %-15.15F (%?M?C%3M&%4l?) %s"'
+# In IMAP folders display KByte (because lines are not available):
+#folder-hook ^{ \
+#      'set index_format="%4C %Z %[!%d.%m.%y] %-15.15F (%?M?C%3M&%4c?) %s"'
+
+set message_format="%-.16n: %s"
+                       # string for message/rfc822 in attachment list
+
+set pager_format="-%Z- %C/%m [%[%H:%M]] %-17.17n   %s"
+                       # status line of the pager
+                       # (show time here, date can be seen in "pil")
+
+set post_indent_string=""      # Footer (after quotes, before signature).
+
+
+set attribution='On %{%a, %d %b %Y}, %n wrote:\n'
+                       # Default Reply-Intro (See send-hook for changes!)
+
+# %C current number    %d last modified        %f filename
+# %F permissions       %g group                %l number of hard links
+# %N "N" if new mail   %s size in bytes        %t "*" if tagged
+# %u owner name                %>X right justify the rest and pad with "X"
+# %|X pad to the end of the line with character "X"
+set folder_format="%3C %t%N %F %-8.8u %-8.8g %8s %d %f"
+                       # file browser menu
+
+
+#
+# status_format
+#
+
+# %b # of folders with new mail                        %d # of deleted msgs
+# %f mbox path         %F # of flagged msgs    %h hostname
+# %m total# of messages %M # of shown msgs     %n # of new msgs
+# %l bytes in mbox     %L size of limited msgs %o # of old msgs
+# %p # of postponed. msgs      %P percentage of the display             
+# %r readonly/changed   %s sorting method      %S sort_aux method
+# %t # of tagged msgs  %u # of unread msgs     %v Mutt version
+# %>X = right justify and pad with "X"  %|X = pad with "X" to end of line
+# %?<sequence_char>?<optional_string>?   print <opt> iff <seq> is non zero
+# %?<sequence_char>?<if_string>&<else_string>?
+
+#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-"
+#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-"
+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-"
+
+
+#
+# alias_format
+# (format of data displayed for the alias menu)
+# %a alias name    %n index number    %r address    %t tag-character 
+#
+set alias_format="%4n %2d %t %-12a  %r"
+
+
+#
+# attach_format
+# (controls the look of the compose and attach menu)
+# %c = Content-Type    %C = Charset
+# %d = description     %D = deleted flag
+# %e = MIME content-transfer-encoding          %f = filename   
+# %I = disposition (I=inline, A=attachment)
+# %m = major MIME type %M = MIME subtype       %n = attachment number
+# %s = size            %t = tagged flag        %T = tree
+# %u = unlink
+# %>X = right justify and pad with "X"  %|X = pad with "X" to end of line
+#
+#set attach_format="%u%D%t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] "
+set attach_format="%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] "
+
+
+#
+# compose_format
+# (Controls the status line of the compose menu)
+# %a = number of attachments   %h = local hostname
+# %l = approx. size of msg     %v = Mutt version
+#
+set compose_format="-- %v-- Compose  [Approximate Message Size: %l   Attachments: %a]%>-"
+
+
+#
+# Mixmaster Support (only when --with-mixmaster)
+#
+# %n = number  %c = capabilities       %s = short name         %a = address
+#set mix_entry_format="%4n %c %-16s %a"        # Format of mixmaster list
+#set mixmaster="mixmaster"             # Mixmaster binary
+
+
+
+#
+# Pretty Good Privacy (PGP):
+#
+
+set pgp_ignore_subkeys # On OpenPGP keys only show the main key, not the sub.
+set pgp_autosign       # pgp sign every outgoing mail. (send-hook?)
+unset pgp_autoencrypt  # pgp encrypt every outgoing mail. (send-hook?)
+set pgp_create_traditional=no  # Use old-style PGP? (don't do it!)
+set pgp_replyencrypt   # Encrypt replies on encrypted mail
+set pgp_replysign      # Sign replies on signed mail
+set pgp_replysignencrypted     # Sign replies on encrypted mail
+unset pgp_retainable_sigs      # disable retainable signatures.
+set pgp_verify_sig=yes # ask me whether I want to check a pgp signature
+set pgp_timeout=7200   # forget PGP passphrase after 7200 seconds (=2 hours)
+set pgp_strict_enc     # allway use QP enc. with PGP.
+unset pgp_long_ids     # display 64bit PGP key-ids (don't change this!)
+set pgp_show_unusable  # show unusable PGP keys in menu
+set pgp_use_gpg_agent   # Use gpg_agent
+
+# %n = number  %k = key id     %K = key id of the principal key
+# %u = user id %a = algorithm  %A = algorithm of the princ. key
+# %l = length  %L = length of the princ. key   
+# %f = flags   %F = flags of the princ. key    
+# %c = capabilities            %C = capabilities of the princ. key
+# %t = trust/validity of the key-uid association
+#set pgp_entry_format="%4n %t%f %4l/0x%k %-4a %2c %u"
+set pgp_entry_format="%4n %t%f %[%y/%m/%d] %4l/0x%k %-4a %2c %u"
+
+#
+# Sorting of PGP keys:
+# (address, keyid, date, trust) and reverse-*
+#
+set pgp_sort_keys=trust
+
+
+
+
+#
+# Delivery Status Notification (DSN)
+# (this may cause problems with some MTAs, so comment it out, if necessary)
+#
+
+set dsn_notify="failure,delay"
+set dsn_return="hdrs"
+
+
+#
+# score <pattern> <value>
+# unscore <pattern>
+#
+# (pattern is something like '~A' (all), '~f aol\.com$', '~s mutt' ...)
+# (value is between -9999 and 9999. A prefix '=' sets otherwise incr/decr)
+#
+unscore *
+
+unset score                    # turn off scoring
+set score_threshold_delete=-1  # mark messages with score <=value deleted
+set score_threshold_flag=9999  # mark messages with score >=value flagged
+set score_threshold_read=-1    # mark messages with score <=value read
+
+
+
+#
+# Show or suppress headers:
+# 
+
+ignore lines precedence status
+ignore nntp-posting-host path old-return-path received >received references
+ignore content- errors-to in-reply-to mime-version
+ignore resent-message-id return-path xref path
+ignore x-keywords x-uid x-ftn-via x-ftn-domain x-ftn-seen-by x-ftn-path
+ignore x-gateway x-loop x-sender x-priority
+ignore mbox-line x-pop3-rcpt x-mailing-list x400- dl-expansion-history
+ignore priority alternate-recipient x-zc-via 
+ignore x-received x-envelope-sender x-return-path x-authentication-warning
+ignore resent-message-id resent-sender resent-date resent-cc
+ignore x-envelope-from x-envelope-to x-delivery-time
+ignore x-egroups-return list-unsubscribe list-archive list-help
+ignore from
+unignore from:
+
+
+
+#
+# Extra headers that I would like added to all my outgoing mail messages.
+# Attention: !!! No comments in the (un)my_hdr lines !!!
+#
+
+unmy_hdr *             
+                                       # remove all extra headers first.
+
+# "
+# MIME-Types which should be automatically displayed. If a copiousoutput
+# exists, use it and display it in internal pager.
+# (if $implicit_autoview is set, this is automated for MIME types where
+#  an entry with copiousoutput exists in the mailcap)
+#
+
+auto_view text/richtext text/html text/x-sgml text/x-vcard text/x-sh \
+          text/x-csrc text/tex text/-xtex text/english \
+          application/x-tex application/x-dvi \
+          application/x-gzip-dvi application/x-diff-gzip application/x-gzip \
+          application/x-gunzip application/x-bzip2 \
+          application/x-cpio application/x-gtar \
+          application/x-tar application/x-tar-gz application/x-rar-compressed \
+          application/x-zip-compressed application/zip application/x-csh \
+          application/x-sh application/x-script application/x-shellscript \
+          application/x-latex application/x-tex application/x-shar \
+          application/x-troff application/x-troff-man application/x-troff-me \
+          application/x-pgp-message application/msword \
+          application/ms-tnef application/ms-word application/rtf \
+          application/octet-stream application/x-tcl application/x-perl \
+          application/x-debian-package message/partial
+
+
+#
+# List of MIME-Types to give a priority when reading multipart/alternative
+#
+
+alternative_order text/enriched text/plain text/html
+
+
+
+#
+# mbox-hook pattern mailbox
+# (save all "read" messages from pattern to mailbox)
+#
+
+#
+# monochrom terminals:
+# (none, bold, underline, reverse, standout)
+#
+#    object            attribute
+#
+mono normal            none            # normal text
+mono indicator         reverse         # actual message
+mono tree              none            # thread arrows
+mono status            reverse         # status line
+mono error             bold            # errors
+mono message           none            # info messages
+mono quoted            bold            # quoted text
+mono signature         none            # signature
+mono attachment                underline       # MIME attachments
+mono search            reverse         # search matches
+mono tilde             none            # ~ at bottom of msg
+mono markers           bold            # + at beginning of wrapped lines
+mono hdrdefault                none            # default header lines
+mono bold              bold            # hiliting bold patterns in body
+mono underline         underline       # hiliting underlined patterns in body
+#
+#    object     attribute      RegExp
+#
+mono header     bold           "^(from|subject):"
+#mono body      underline      "((ftp|http|https)://|news:)[^ >)\"\t]+"
+mono body       underline      "((ftp|http|https)://|(file|news):|www\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?"
+mono body       underline      "[-a-z_0-9.]+@[-a-z_0-9.]+"
+mono body       bold           "(^| )\\*[-a-z0-9]+"
+
+## ========================================================================
+
+## AUTO_VIEW - tell mutt which "content types" to view with
+## the command given in the $HOME/.mailcap file.
+## ========================================================================
+
+#auto_view text/html text/enriched application/x-gunzip application/postscript /gif application/x-tar-gz application/pgp-signature image/*
+
+## ========================================================================
+## BIND - bind commands to keys.
+## ========================================================================
+
+## ========================
+## Bindings for attach menu
+## ========================
+
+bind attach ' ' select-entry
+
+## ============================
+## Bindings for index and pager
+## ============================
+
+## Jumping to the next mail that is still unread.
+bind index   \t    next-new
+bind pager   \t    next-new
+bind index   ' '   next-unread
+bind pager   ' '   next-unread
+bind index   V     show-version
+bind pager   V     show-version
+bind index   A     create-alias
+bind pager   A     create-alias
+#macro index  S     <pipe-message>add_spammer.pl<enter>s="SPAM\n"
+#macro pager  S     <pipe-message>add_spammer.pl<enter>s="SPAM\n"
+#macro index  X     |"spamassassin -r \n"
+#macro pager  X     |"spamassassin -r \n"
+macro index  S     "s=spam/MANUALSPAM\r"
+macro pager  S     "s=spam/MANUALSPAM\r"
+macro index  X     "s=spam/HAM\ru"
+macro pager  X     "s=spam/HAM\ru"
+
+## ==============================================
+## Bindings for editing and reloading the .muttrc
+## ==============================================
+
+macro generic   ,ve   "!gnuclient ~/.muttrc\n"
+macro generic   ,vu   ":source ~/.muttrc\r"
+macro generic   ,va   "!gnuclient ~/.mail_aliases \n"
+
+## ======================
+## Bindings for index
+## ======================
+
+bind index   P          recall-message
+bind index   s          save-message
+bind browser x          check-new
+bind index   <pagedown> next-page
+bind index   <pageup>   previous-page
+bind index   x          sync-mailbox
+bind index   a          tag-prefix
+bind index   \;         tag-entry
+
+macro index  \cb        "|urlview\n"
+macro index  ,l         "l~N ! ~p\n"
+macro index  ,n         "l~N\n"
+
+# ======================================
+# Quickly change to my favorite folders:
+# ======================================
+macro index  "\\d"  "c=lists/debian-devel\r"
+macro index  "\\o"  "c=outbox\r"
+macro index  "\\b"  "c=lists/debian_bugs\r"
+macro index  I      "c!\n" "Go to Inbox"
+macro pager  "\\d"  "c=lists/e-develop\r"
+macro pager  "\\o"  "c=outbox\r"
+macro pager  "\\b"  "c=lists/debian_bugs\r"
+macro pager  I      "c!\n" "Go to Inbox"
+
+# ===========================
+#    Bindings for pager
+# ===========================
+
+bind pager     /   search
+bind pager     L   list-reply
+bind pager     b   bounce-message
+bind pager     f   forward-message
+bind pager     m   mail
+bind pager     g   group-reply
+bind pager     j   next-line
+bind pager     k   previous-line
+bind pager     :   enter-command
+bind pager     p   previous-undeleted
+bind pager     n   next-undeleted
+bind pager     \n  next-unread
+bind pager     \cf forget-passphrase
+#bind compose   \n  send-message
+bind compose   s   send-message
+bind pager ,p print-message
+
+macro pager J "!gpg --keyserver wwwkeys.eu.pgp.net --recv-key " "Get PGP Key"
+macro pager K "!gpg --lsign-key " "Sign PGP Key"
+
+# funky gimmick, but I never use it =)
+#macro pager ,s "|festival --tts\r"
+
+#macro index M "c{imap1.bonn.id-pro.net}\n"
+
+macro pager "i" "<sync-mailbox><change-folder>?<toggle-mailboxes>"
+macro index "i" "<sync-mailbox><change-folder>?<toggle-mailboxes>"
+
+## =====================================
+## Tom's cursor movement system [tm] ;-)
+## =====================================
+
+bind  pager   <up>     previous-line
+bind  pager   <down>   next-line
+bind  pager   <left>   exit 
+bind  pager   <right>  view-attachments
+bind  attach  <left>   exit
+bind  attach  <right>  view-attach
+bind  index   <right>  display-message
+# Pre mutt 1.3.x, you'll want this instead:
+#macro index   <left>   "c?"
+macro index   <left>   "c?<tab>"
+bind  browser <right>  select-entry
+bind  browser <left>   exit
+
+## =================
+## Color definitions
+## =================
+color attachment white     magenta
+color body      brightgreen       default  "ftp://[^ ]*"
+color body     brightgreen default "[[:alnum:]][-+.#_[:alnum:]]*@[-+.[:alnum:]]*[[:alnum:]]"
+color body      brightgreen       default  "<URL:[^ ]*>"
+color bold      green      default
+color error     red        default
+
+color header    yellow     default  "^from"
+color header    green      default  "^from:"
+color header    green      default  "^to:"
+color header    green      default  "^cc:"
+color header    green      default  "^date:"
+color header    yellow     default  "^newsgroups:"
+color header    yellow     default  "^reply-to:"
+color header    brightcyan default  "^subject:"
+color header    red        default  "^x-spam-rule:"
+color header    yellow     default  "^x-mailer:"
+color header    yellow     default  "^message-id:"
+color header    yellow     default  "^Organization:"
+color header    yellow     default  "^Organisation:"  
+color header    yellow     default  "^User-Agent:"  
+color header    yellow     default  "^message-id: .*pine"
+color header    yellow     default  "^X-Fnord:"
+color header    yellow     default  "^X-WebTV-Stationery:"
+color header    yellow     default  "^X-Message-Flag:"
+
+color indicator white      blue
+color markers   red        default
+color message   white      blue
+
+## ==================================================
+## Colorizing the body of messages (ie in the pager)
+## ==================================================
+
+color normal    white     default  # pager body
+
+#  Coloring quoted text - coloring the first 7 levels:
+color quoted    cyan      default
+color quoted1   yellow    default
+color quoted2   red       default
+color quoted3   green     default
+color quoted4   cyan      default
+color quoted5   yellow    default
+color quoted6   red       default
+color quoted7   green     default
+
+color signature brightred      default
+color status    white          blue
+color tilde     blue           default
+color tree      brightmagenta  default
+color underline yellow         default
+color body      yellow         default  "[;:]-[)/(|]"  # colorise smileys
+color body      yellow         default  "[;:][)/(|]"
+color body      brightblue     default  "(http|ftp|news|telnet|finger)://[^ ]*"
+
+color index     yellow         default  ~N      # New
+color index     yellow         default  ~O      # Old
+# color index     brightgreen    default  '~s tgil'
+# color index     cyan           default  '~s gilbertt ~f cvs-commits-list'
+color index     brightgreen    default  '~p'    # mail to myself
+color index     brightcyan    default  '~P'    # mail from myself
+color index     magenta        default  ~F      # Flagged
+color index     blue           default  ~T      # Tagged
+color index     red            default  ~D      # Deleted
+
+# Headers to ignore/see
+# Ignore everything but the really important lines:
+ignore *
+unignore from: date subject to cc reply-to:
+unignore organization organisation
+unignore user-agent: x-agent: x-mailer: x-newsreader:
+unignore newsgroups: posted-to: x-spam-rule:
+# These can provide amusement
+unignore X-Fnord: X-WebTV-Stationery: X-Message-Flag:
+
+# ordering of headers in the pager
+unhdr_order *
+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:
+
+## "alternates" tells mutt about your addresses.  Mutt thus can show mails
+## addresses to you in the folder index as "personal" using the flag '+'.
+#set alternates=((tom|gilbertt)@snowman.net|.*@linuxbrit.*|.*@offended.*|giblet@lunixbrat.com)
+
+# Set the defaults for folders:
+folder-hook .    set timeout=30
+folder-hook .    set sort=threads
+folder-hook .    set sort_aux=date-received
+# When I'm in the main index, check more often :)
+#folder-hook "!"  set timeout=5
+# Mail in my inbox is more date than thread sensitive...
+folder-hook "!"  set sort=date-received
+folder-hook "sent"  set sort=date-received
+
+#folder-hook .    set signature=~/.signature
+
+#folder-hook .    unmy_hdr *
+folder-hook .    my_hdr "From: Don Armstrong <don@donarmstrong.com>"
+folder-hook .    set signature="~/.signature" 
+
+# bug hooks
+reply-hook ~A unmy_hdr "X-Debbugs-No-Ack";
+reply-hook '~h X-Debian-PR' my_hdr "X-Debbugs-No-Ack: yes no ack";
+send-hook ~A unmy_hdr "X-Debbugs-No-Ack";
+send-hook '~C submit@bugs.debian.org | ~C control@bugs.debian.org' my_hdr "X-Debbugs-No-Ack: yes no ack"
+
+
+# Debian folder hooks
+folder-hook debian my_hdr "From: Don Armstrong <don@debian.org>"
+
+#reply-hook '~C don@debian.org' my_hdr "From: Don Armstrong <don@debian.org>"
+
+macro generic   ,ad   my_hdr "From: Don Armstrong <don@debian.org>"
+macro generic   ,an   my_hdr "From: Don Armstrong <don@donarmstrong.com>"
+
+send-hook ~A '`/home/don/lib/signature_stuff/pick_a_quote.pl` set-signature "~/.signature"'
+
+
+open-hook   \\.gz$ "gzip -cd %f > %t" 
+close-hook  \\.gz$ "gzip -c %t > %f" 
+append-hook \\.gz$ "gzip -c %t >> %f"
+
+
+
+
+## "lists" adds a list of mailing lists addresses
+## so mutt knows about these for showing them in the folder indes
+## and to allow replying to them with the command "list-reply".
+## The first part of the address (up to the @) should be used here.
+unlists *      # remove old entries first
+lists `cd ~/Mail/lists && echo *`
+lists `cd ~/Mail/bugs && echo *`
+
+unsubscribe *
+subscribe `cd ~/Mail/lists && echo *`
+subscribe `cd ~/Mail/bugs && echo *`
+
+## "mailboxes" defines the list of folders to be checked for new mail
+## Mutt both can show the number of mailboxes with new mail in the index and
+## you can cycle through these after giving the "change-folder" command.  :-)
+mailboxes +INBOX
+mailboxes +bdo_role
+mailboxes +oftc
+#mailboxes +lists !
+#mailboxes +bugs !
+#mailboxes +sms +SPAM +work
+mailboxes `for file in ~/Mail/lists/*; do echo -n "+lists/$(basename $file) "; done`
+mailboxes `for file in ~/Mail/bugs/*; do echo -n "+bugs/$(basename $file) "; done`
+
+
+## FCC Hooks
+
+
+
+
diff --git a/.offlineimaprc b/.offlineimaprc
new file mode 100644 (file)
index 0000000..f1038b0
--- /dev/null
@@ -0,0 +1,116 @@
+[general]
+#accounts = Inbox, Lists, Bugs, Spam
+accounts = Inbox, Bugs, Lists, Spam, Jobs
+#accounts = Bugs
+# sync three accounts at once
+# maxsyncaccounts = 3
+ui = Curses.Blinkenlights
+
+
+[Account Inbox]
+localrepository = LocalInbox
+remoterepository = RemoteInbox
+
+[Repository LocalInbox]
+type = Maildir
+localfolders = ~/Mail
+
+[Repository RemoteInbox]
+type = IMAP
+remotehost = rzlab.ucr.edu
+remoteuser = don
+ssl = yes
+
+folderfilter = lambda foldername: not re.search('(^(lists|bugs|jobs|archives|spam|customflags)|/\.)', foldername)
+
+preauthtunnel = ssh -q rzlab.ucr.edu 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir/Inbox /usr/lib/dovecot/imap'
+
+
+[Account Lists]
+localrepository = LocalLists
+remoterepository = RemoteLists
+
+[Repository LocalLists]
+type = Maildir
+localfolders = ~/Mail/lists
+
+[Repository RemoteLists]
+type = IMAP
+remotehost = rzlab.ucr.edu
+remoteuser = don
+ssl = yes
+#reference = Mail
+## Trims off the preceeding Mail on all the folder names.
+nametrans = lambda foldername: \
+            re.sub('^lists.?', '', foldername)
+# Yeah, you have to mention the Mail dir, even though it
+# would seem intuitive that reference would trim it.
+folderfilter = lambda foldername: not re.search('(^(oftc|archives|jobs|INBOX|bdo_role|spam|outbox|bugs|postponed|customflags))', foldername)
+preauthtunnel = ssh -q rzlab.ucr.edu 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir/Inbox /usr/lib/dovecot/imap'
+
+[Account Bugs]
+localrepository = LocalBugs
+remoterepository = RemoteBugs
+
+[Repository LocalBugs]
+type = Maildir
+localfolders = ~/Mail/bugs
+
+[Repository RemoteBugs]
+type = IMAP
+remotehost = rzlab.ucr.edu
+remoteuser = don
+ssl = yes
+#reference = Mail
+## Trims off the preceeding Mail on all the folder names.
+nametrans = lambda foldername: \
+            re.sub('^bugs.?', '', foldername)
+# Yeah, you have to mention the Mail dir, even though it
+# would seem intuitive that reference would trim it.
+folderfilter = lambda foldername: not re.search('(^(oftc|lists|jobs|INBOX|bdo_role|spam|outbox|archives|postponed|customflags))', foldername)
+
+preauthtunnel = ssh -q rzlab.ucr.edu 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir/Inbox /usr/lib/dovecot/imap'
+
+
+
+[Account Spam]
+localrepository = LocalSpam
+remoterepository = RemoteSpam
+
+[Repository LocalSpam]
+type = Maildir
+localfolders = ~/Mail/spam
+
+[Repository RemoteSpam]
+type = IMAP
+remotehost = rzlab.ucr.edu
+remoteuser = don
+ssl = yes
+#reference = Mail
+## Trims off the preceeding Mail on all the folder names.
+nametrans = lambda foldername: \
+            re.sub('^spam.?', '', foldername)
+# Yeah, you have to mention the Mail dir, even though it
+# would seem intuitive that reference would trim it.
+folderfilter = lambda foldername: not re.search('(^(oftc|lists|jobs|INBOX|bdo_role|bugs|outbox|archives|postponed|customflags))', foldername)
+
+preauthtunnel = ssh -q rzlab.ucr.edu 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir/Inbox /usr/lib/dovecot/imap'
+
+[Account Jobs]
+localrepository = LocalJobs
+remoterepository = RemoteJobs
+
+[Repository LocalJobs]
+type = Maildir
+localfolders = ~/Mail/jobs
+
+[Repository RemoteJobs]
+type = IMAP
+remotehost = rzlab.ucr.edu
+remoteuser = don
+ssl = yes
+
+
+folderfilter = lambda foldername: not re.search('(^(oftc|lists|INBOX|bdo_role|spam|bugs|outbox|archives|postponed|customflags))', foldername)
+
+preauthtunnel = ssh -q rzlab.ucr.edu 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir/Inbox /usr/lib/dovecot/imap'