# # my muttrc # # # mailboxes # mailboxes ~/Mail/inbox # # folder hooks # folder-hook alt* set sort=reverse-date folder-hook inbox set sort=reverse-date folder-hook sent* set sort=reverse-date folder-hook =inbox/ '=alt-`date +"%Y"`/' # # message hooks # message-hook . "unset display_filter" message-hook "~h \"X-Mailer: (Microsoft Outlook IMO|Experian ContactMail)\"" "set display_filter='tr \\\\200\\\\202\\\\221\\\\222\\\\223\\\\224\\\\225\\\\226\\\\227 \\\\244\\\\054\\\\140\\\\047\\\\042\\\\042\\\\052\\\\055\\\\055'" message-hook "~h \"X-Mailer: IncrediMail" "set display_filter='tr -d \\\\r'" # # settings # set editor="vim" set mbox_type=maildir set mbox="~/Mail/inbox/" set spoolfile="~/Mail/inbox/" set folder="~/Mail/" set record="~/Mail/sent-`date +'%Y'`" set postponed="~/Mail/postponed/" set pager_context=4 set pager_index_lines=11 set pager_stop set edit_headers set beep=yes set signature="~/.signature" set index_format="%4C %Z %{%b %d} %-25.25F (%?l?%4l&%4c?) %s" unset confirmappend set forward_format="Fw: %s" set date_format="%d.%m.%y %H:%M" set from = "Peter Hartmann " set attribution = "--- %n (%d): ---" set query_command="abook --mutt-query '%s'" set include=yes set indent_str="> " # # bindings # bind pager previous-page bind pager - previous-line bind pager ö previous-line bind pager \eOm previous-line bind pager + next-line bind pager l next-line bind pager \eOk next-line bind pager \eOM next-line bind pager \e[1~ top bind pager \e[4~ bottom bind index previous-entry bind index - previous-entry bind index \eOm previous-entry bind index + next-entry bind index \eOk next-entry bind index \eOM display-message bind index "," display-message bind index \e[H first-entry bind index \e[F last-entry bind index \e[1~ first-entry bind index \e[4~ last-entry bind alias select-entry bind alias x exit bind attach x exit bind browser x exit # # macros # macro index "#" "=inbox/" macro index "S" "=sent-`date +'%Y'`/" macro index G "!fetchmail\n" "Invoke fetchmail" macro pager G "!fetchmail\n" "Invoke fetchmail" macro pager B "|urlview\n" macro pager A |'abook --add-email'\n macro index A |'abook --add-email'\n # # color # color message black default color error black white color indicator brightwhite blue color index brightblue white ~N color index black yellow ~F color index red default ~D color tree brightmagenta default color signature blue default color attachment green default color search brightyellow red color tilde brightmagenta default color markers brightmagenta default color quoted cyan default color quoted1 brightblue default color quoted2 red default color quoted3 green default color quoted4 cyan default color quoted5 blue default color quoted6 magenta default color quoted7 red default color quoted8 green default color quoted9 cyan default color hdrdefault black cyan color header brightwhite green "^(from|subject):" mono header bold "^(from|subject):" color body magenta default \ "((ftp|http|https)://|(file|mailto|news):|www\\.)[-a-z@0-9_.:]*[a-z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:])?" color body cyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+" color body red black "(^| )\\*[-a-z0-9äöüß*]+\\*[,.?]?[ \n]" # # smilies # color body brightgreen white "<[Gg]>" # color body brightgreen white "<[Bb][Gg]>" # color body brightgreen white "[;:]-*[)>(<|]" # :-) etc... color body brightblue white "(^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$)" # *Bold* text. color body brightblue white "(^|[[:space:]])_[^[:space:]]+_([[:space:]]|$)" # _Underlined_ text. color body brightblue white "(^|[[:space:]])/[^[:space:]]+/([[:space:]]|$)" # /Italic/ text. # # headers # ignore * unignore From: unignore To: unignore Reply-To: unignore Subject: unignore Date: unignore Cc: unignore Bcc: unignore Newsgroups: hdr_order To: Cc: Bcc: From: Date: Subject: # # misc # alternative_order text/enriched text/plain text/html my_hdr X-GPG-Key-ID: 1024D/2FEBA683 my_hdr X-GPG-Key-URL: http://peter.hartmann.tk/publickey.asc my_hdr X-GPG-Key-Fingerprint: C514 0561 1902 5A59 2135 C849 EAF3 D120 2FEB A683 auto_view text/html # # encrypting and signing # set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f" set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f" set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f" set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x2FEBA683 -- -r %r -- %f" set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0x2FEBA683 -- -r %r -- %f" set pgp_import_command="gpg --no-verbose --import -v %f" set pgp_export_command="gpg --no-verbose --export --armor %r" set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r" set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r" set pgp_autosign=no set pgp_sign_as=0x2FEBA683 set pgp_replyencrypt=yes set pgp_timeout=1800 set pgp_good_sign="^gpg: Good signature from"