Quellcode durchsuchen

Re-add mutt configuration (using mutt-patched).

Emmanuel Bouthenot vor 16 Jahren
Ursprung
Commit
67b6174423
11 geänderte Dateien mit 467 neuen und 0 gelöschten Zeilen
  1. 11 0
      .mutt/conf/aliases
  2. 75 0
      .mutt/conf/colors
  3. 68 0
      .mutt/conf/headers
  4. 12 0
      .mutt/conf/identities
  5. 25 0
      .mutt/conf/keys
  6. 30 0
      .mutt/conf/macros
  7. 98 0
      .mutt/conf/mailboxes
  8. 19 0
      .mutt/conf/my-headers
  9. 20 0
      .mutt/conf/subscribes
  10. 14 0
      .mutt/etc/mailcap
  11. 95 0
      .muttrc

+ 11 - 0
.mutt/conf/aliases

@@ -0,0 +1,11 @@
+#
+# -*- muttrc -*-
+#
+# Mutt configuration file
+# 2006,  kolter <kolter@openics.org>
+#
+#  This file is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY
+#
+# Aliases settings for Mutt.
+#

+ 75 - 0
.mutt/conf/colors

@@ -0,0 +1,75 @@
+# -*- madmuttrc -*-
+#
+# Madmutt configuration file
+# 2008,  kolter <kolter@openics.org>
+#
+#  This file is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY
+#
+# Colors settings for muttng.
+#
+
+# Default colour definitions
+color normal     default      default
+color message    brightwhite  default
+color status     brightblue   default
+color hdrdefault yellow       default
+color indicator	 brightwhite  cyan
+
+
+color quoted   cyan      default
+color quoted1  yellow    default
+color quoted2  brightred default
+color quoted3  cyan      default
+color quoted4  yellow    default
+color quoted5  brightred default
+color quoted6  cyan      default
+color quoted7  yellow    default
+color quoted8  brightred default
+
+
+color signature  white       default
+color tilde      white       default
+color tree       brightblue  default
+color attachment brightgreen default
+# color error      red          white
+# color search     brightwhite  magenta
+
+# color bold       brightyellow white
+# color markers    red          white
+
+# Colours for items in the reader
+color header cyan         default "^From\:|^To\:|^Cc\:|^Bcc\:"
+color header green        default "^Return-Path\:"
+color header blue         default "^Reply-To\:"
+color header brightred    default "\Subject\:|^Date\:"
+
+# Colours for items in the index
+color index yellow    default ~N           # New messages.
+color index green     default ~O           # Old messages.
+color index brightred default ~D           # Deletes messages.
+# color index brightgreen white "~N (~x hagbard\.davep\.org | ~h \"^In-[Rr]eply-[Tt]o: .*hagbard\.davep\.org\")"
+# color index red         white ~F
+# color index black       green ~T
+
+# Highlights inside the body of a message.
+
+# URLs
+color body green default "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*"
+color body green default "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
+color body green default "news:[^ \">\t\r\n]*"
+
+# email addresses
+color body green default "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
+
+# Various smilies
+color body brightred default "<[Gg]>"                                            # <g>
+color body brightred default "<[Bb][Gg]>"                                        # <bg>
+color body brightred default " [;:]-*[)>(<|]"                                    # :-) etc...
+color body brightred default "(^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$)" # *Bold* text.
+color body brightred default "(^|[[:space:]])_[^[:space:]]+_([[:space:]]|$)"     # _Underlined_ text.
+color body brightred default "(^|[[:space:]])/[^[:space:]]+/([[:space:]]|$)"     # /Italic/ text.
+
+# Sidebar color
+color sidebar_new yellow default
+

+ 68 - 0
.mutt/conf/headers

@@ -0,0 +1,68 @@
+# -*- muttrc -*-
+#
+# Mutt configuration file
+# 2006,  kolter <kolter@openics.org>
+#
+#  This file is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY
+#
+# Headers settings for Mutt.
+#
+
+# Ignore all headers
+ignore *
+
+# Then un-ignore the ones I want to see
+unignore From:
+unignore Subject:
+unignore To:
+unignore Cc:
+unignore Bcc:
+unignore Return-Path:
+unignore Reply-To:
+unignore Mail-Followup-To:
+unignore Followup-To:
+unignore Date:
+unignore Organization:
+unignore User-Agent:
+unignore X-Mailer:
+unignore X-Newsreader:
+unignore Newsgroups:
+unignore Summary:
+unignore Keywords:
+unignore Mail-Copies-To:
+unignore Sender:
+unignore X-Sent:
+unignore X-Mailman-Version:
+unignore Posted-To:
+unignore Mail-Copies-To:
+unignore Apparently-To:
+unignore Gnus-Warning:
+unignore Resent-From:
+unignore X-Accept-Language:
+unignore gpg-key-ID:
+unignore X-GPG-Fingerprint:
+unignore X-PGP-Fingerprint:
+unignore X-GnuPG-KeyID:
+unignore fingerprint:
+unignore X-Spam-Status:
+unignore X-Junked-Because:
+unignore X-SpamProbe:
+unignore X-Virus-hagbard:
+unignore X-Originating-IP:
+unignore X-Originating-Email:
+unignore X-Bogosity:
+unignore X-Operating-System:
+unignore X-Apparently-From:
+unignore X-Virus-Scanned:
+unignore Message-ID:
+unignore X-Org-Mail:
+unignore X-Org-Id:
+unignore X-CRM114-Score:
+unignore X-CRM114-Spam:
+
+
+# Now order the visable header lines
+hdr_order From: Subject: To: Cc: Bcc: Return-Path: Reply-To: Mail-Followup-To: Followup-To: Date: Organization: User-Agent: X-Mailer: X-Newsreader: Newsgroups: Summary: Keywords: Mail-Copies-To: Sender: X-Sent: X-Mailman-Version: Posted-To: Mail-Copies-To: Apparently-To: Gnus-Warning: Resent-From: X-Accept-Language: gpg-key-ID: X-GPG-Fingerprint: fingerprint: X-Spam-Status: X-Junked-Because: X-SpamProbe: X-Virus-hagbard: X-Originating-IP: X-Originating-Email:
+
+

+ 12 - 0
.mutt/conf/identities

@@ -0,0 +1,12 @@
+# -*- muttrc -*-
+#
+# Mutt configuration file
+# 2006,  kolter <kolter@openics.org>
+#
+#  This file is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY
+#
+# Identities settings for Mutt.
+#
+
+

+ 25 - 0
.mutt/conf/keys

@@ -0,0 +1,25 @@
+# -*- Madmuttrc -*-
+#
+# Madmutt configuration file
+# 2008,  kolter <kolter@openics.org>
+#
+#  This file is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY
+#
+# Key bindings settings for Madmutt.
+#
+
+bind index,pager "+" next-new
+bind index,pager "-" previous-new
+
+bind index,pager \cp sidebar-prev
+bind index,pager \cn sidebar-next
+bind index,pager \co sidebar-open
+
+bind index,pager <left>        sidebar-prev
+bind index,pager <right>       sidebar-next
+bind index,pager *             sidebar-open
+bind index,pager <F11>         sidebar-scroll-up
+bind index,pager <F12>         sidebar-scroll-down
+
+bind pager       <F9>          check-traditional-pgp

+ 30 - 0
.mutt/conf/macros

@@ -0,0 +1,30 @@
+# -*- madmuttrc -*-
+#
+# Madmutt configuration file
+# 2008,  kolter <kolter@openics.org>
+#
+#  This file is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY
+#
+# Macros settings for Madmutt.
+#
+
+macro generic \em	"<enter-command>source ~/.muttrc<enter>"	"Reloading muttng's configuration"
+
+macro index,pager <f1>	"<change-folder> =<enter>"			"Change folder for INBOX"
+macro index,pager <f2>	"<change-folder> =.Sent<enter>"			"Change folder for Sent"
+macro index,pager <f3>	"<change-folder> =.Draft<enter>"		"Change folder for Draft"
+macro index,pager <f4>	"<change-folder> =.Spam<enter>"			"Change folder for Spam"
+macro index,pager <f5>	"<change-folder> =.Trash<enter>"		"Change folder for Trash"
+macro index,pager <f10>	"<change-folder> =<enter>"			"Change folder for INBOX"
+
+macro index,pager B	"<enter-command>toggle sidebar_visible<enter>"	"Toggle sidebar visibility"
+
+macro index \cx "<tag-pattern>~N<enter><tag-prefix><toggle-new><tag-prefix><clear-flag>*" "Mark all new messages as read"
+
+# spamassassin macros
+#macro index,pager \ch "<enter-command>unset wait_key<enter><pipe-message>sa-learn --forget<enter><pipe-message>sa-learn --ham --no-sync<enter><enter-command>set wait_key<enter>"	"Set message as HAM"
+#macro index,pager \cs "<enter-command>unset wait_key<enter><bounce-message>spam@kaoru<enter><enter-command>set wait_key<enter><save-message>=.Spam<enter>" "Set message as SPAM"
+
+macro index,pager \eh "<enter-command>unset wait_key<enter><pipe-message>crmlearn --learnnonspam<enter><enter-command>set wait_key<enter>" "Set message as HAM via CRM114"
+macro index,pager \es "<enter-command>unset wait_key<enter><pipe-message>crmlearn --learnspam<enter><enter-command>set wait_key<enter><save-message>=.Spam<enter>" "Set message as SPAM via CRM114"

+ 98 - 0
.mutt/conf/mailboxes

@@ -0,0 +1,98 @@
+# -*- muttrc -*-
+#
+# Mutt configuration file
+# 2006,  kolter <kolter@openics.org>
+#
+#  This file is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY
+#
+# Mailboxes settings for Mutt.
+#
+
+mailboxes +.Inbox
+mailboxes +.Drafts
+mailboxes +.Sent
+mailboxes +.Spam
+mailboxes +.Trash
+mailboxes +.sys.dak
+mailboxes +.sys.sympa
+mailboxes +.sys.reports
+mailboxes +.sys.infos
+mailboxes +.my.debian-nm
+mailboxes +.my.cnam
+mailboxes +.my.misc
+mailboxes +.friends.tbs.tiacfooting
+mailboxes +.my.soft.weechat.ml.cvs
+mailboxes +.my.soft.weechat.ml.dev
+mailboxes +.my.soft.galette.devel
+mailboxes +.my.ml.rmll.pre-org
+mailboxes +.my.ml.rmll.admin
+mailboxes +.my.ml.rmll.communication
+mailboxes +.my.ml.rmll.org
+mailboxes +.my.ml.rmll.partenaires
+mailboxes +.my.ml.rmll.participants
+mailboxes +.my.ml.rmll.resa
+mailboxes +.my.ml.rmll.themes
+mailboxes +.my.ml.rmll.theme-web
+mailboxes +.my.ml.asyd.emacs
+mailboxes +.my.ml.asyd.shell
+mailboxes +.my.ml.asyd.sysadmin
+mailboxes +.my.ml.abul.abonnes
+mailboxes +.my.ml.abul.admin
+mailboxes +.my.ml.abul.annonces
+mailboxes +.my.ml.abul.asso
+mailboxes +.my.ml.abul.blahblah
+mailboxes +.my.ml.abul.ca
+mailboxes +.my.ml.abul.debutants
+mailboxes +.my.ml.abul.devel
+mailboxes +.my.ml.abul.hourtin
+mailboxes +.my.ml.abul.inscrits
+mailboxes +.my.ml.abul.misc
+mailboxes +.my.ml.abul.party
+mailboxes +.my.ml.abul.rmll
+mailboxes +.my.ml.abul.tech
+mailboxes +.my.ml.abul.web
+mailboxes +.my.ml.debian.france.abonnes
+mailboxes +.my.ml.debian.france.asso
+mailboxes +.my.ml.debian.france.cabal
+mailboxes +.my.ml.debian.france.sl
+mailboxes +.my.soft.debian.pkg.phototools
+mailboxes +.my.ml.debian.announce
+mailboxes +.my.ml.debian.backports
+mailboxes +.my.ml.debian.bugs-rc
+mailboxes +.my.ml.debian.devel
+mailboxes +.my.ml.debian.devel-announce
+mailboxes +.my.ml.debian.devel-changes
+mailboxes +.my.ml.debian.devel-french
+mailboxes +.my.ml.debian.france.abonnes
+mailboxes +.my.ml.debian.france.asso
+mailboxes +.my.ml.debian.france.cabal
+mailboxes +.my.ml.debian.france.sl
+mailboxes +.my.ml.debian.hurd
+mailboxes +.my.ml.debian.mentors
+mailboxes +.my.ml.debian.misc
+mailboxes +.my.ml.debian.newmaint
+mailboxes +.my.ml.debian.news-french
+mailboxes +.my.ml.debian.project
+mailboxes +.my.ml.debian.release
+mailboxes +.my.ml.debian.security
+mailboxes +.my.ml.debian.security-announce
+mailboxes +.my.ml.debian.user-french
+mailboxes +.my.ml.debian.vote
+mailboxes +.my.ml.hurd.hurdfr
+mailboxes +.my.soft.debian.bugs
+mailboxes +.my.soft.debian.misc
+mailboxes +.my.soft.debian.pkg.dudki
+mailboxes +.my.soft.debian.pkg.ffproxy
+mailboxes +.my.soft.debian.pkg.hiawatha
+mailboxes +.my.soft.debian.pkg.incron
+mailboxes +.my.soft.debian.pkg.kio-apt
+mailboxes +.my.soft.debian.pkg.konqburn
+mailboxes +.my.soft.debian.pkg.kwin-style-knifty
+mailboxes +.my.soft.debian.pkg.msmtp
+mailboxes +.my.soft.debian.pkg.phototools
+mailboxes +.my.soft.debian.pkg.pmailq
+mailboxes +.my.soft.debian.pkg.pwman3
+mailboxes +.my.soft.debian.pkg.weechat
+
+

+ 19 - 0
.mutt/conf/my-headers

@@ -0,0 +1,19 @@
+# -*- muttrc -*-
+#
+# Mutt configuration file
+# 2006,  kolter <kolter@openics.org>
+#
+#  This file is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY
+#
+# Mail headers settings for Mutt.
+#
+
+# Ignore headers
+unmy_hdr *
+
+# defines
+my_hdr User-Agent: `mutt -v | head -1`
+my_hdr X-Operating-System: Debian GNU/`uname -s` `cat /etc/debian_version` (`uname -r`)
+my_hdr X-GnuPG-KeyID: 414EC36E
+my_hdr X-GPG-Fingerprint: 04DE 2F33 3CEF EF4F 46BF D6EA A475 EA19 414E C36E

+ 20 - 0
.mutt/conf/subscribes

@@ -0,0 +1,20 @@
+# -*- muttrc -*-
+#
+# Mutt configuration file
+# 2006,  kolter <kolter@openics.org>
+#
+#  This file is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY
+#
+# Subscribe settings for Mutt.
+#
+
+subscribe weechat-(dev|cvs)
+subscribe debian-.*@lists\.debian\.org
+subscribe (asso|sl)@france\.debian\.net
+subscribe backports.*@lists\.backports\.org
+subscribe (ca|asso|abonnes|inscrits|tech|debutants|blahblah|annonces|party|devel|web|hourtin)@abul\.org
+subscribe hurdfr@hurdfr\.org
+subscribe (shell|emacs|sysadmin)@asyd\.net
+subscribe (communication|themes|org|2008|orga2009)@rmll\.info
+subscribe organisation@rmll2008.org

+ 14 - 0
.mutt/etc/mailcap

@@ -0,0 +1,14 @@
+# -*- muttrc -*-
+#
+# Mutt configuration file
+# 2006,  kolter <kolter@openics.org>
+#
+#  This file is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY
+#
+# Mailcap settings for Mutt.
+#
+
+audio/*; xmms %s
+image/*; display %s
+video/*; mplayer %s

+ 95 - 0
.muttrc

@@ -0,0 +1,95 @@
+# -*- muttrc -*-
+#
+# Mutt configuration file
+# 2006,  kolter <kolter@openics.org>
+#
+#  This file is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY
+#
+# Global configuration file for Mutt.
+#
+
+set realname        = "Emmanuel Bouthenot"
+set from            = "kolter@openics.org"
+set signature       = "~/.signatures/kolter_openics"
+alternates          "kolter|emmanuel\.bouthenot|openics\.org|netconfig|bouthenot\.name"
+
+#set use_envelope_from = yes                      # set return-path to from instead of user@hostname
+
+set locale          = "fr_FR.UTF-8"
+set charset         = "utf-8"
+
+#set folder          = "imap://127.0.0.1"
+#set mbox            = "imap://127.0.0.1/INBOX"
+#set spoolfile       = "imap://127.0.0.1/INBOX"
+#set record          = "imap://127.0.0.1/Sent"     # where to save sent mails
+#set postponed       = "imap://127.0.0.1/Draft"    # where to save drafts
+
+#source              ~/.muttrc-imapauth          # get authentication params for imap
+
+set mbox_type        = Maildir
+set folder           = "~/Mail/imap"
+set mask             = "^\\.[^.]"
+set mbox             = "~/Mail/imap"
+set record           = "+.Sent"
+set postponed        = "+.Drafts"
+set spoolfile        = "~/Mail/imap"
+
+set header_cache    = ~/.mutt/cache
+set tmpdir          = ~/.mutt/tmp
+
+set mail_check      = 60
+set timeout         = 240
+
+# sidebar settings
+ifdef sidebar_visible set sidebar_visible = yes
+ifdef sidebar_visible set sidebar_width   = 46
+
+#set mask="^[^.]"
+set editor               = "emacs -nw"
+set pager_stop           = yes                    # Do not move to the next message when at the end of a message
+set pager_context        = 2
+set pager_index_lines    = 15
+set edit_headers         = no
+set query_command        = "abook --mutt-query '%s'"
+set sleep_time           = 0
+
+set smart_wrap           = yes                    # force wrapping of long lines
+set wrapmargin           = 10                     # margin of wraped lines
+
+auto_view text/html
+alternative_order text/enriched text/plain text
+
+set reverse_name    = yes                        # reply with address used by mail
+
+set recall          = no
+set mark_old        = no                         # Do not mark unread messages as old when leaving
+set delete          = ask-yes
+set print           = ask-yes
+set include         = yes
+
+set index_format     = "%3C %Z | %4c | %[%a %d %b %Y] | %[%H:%M] | %-27.27n | %s"
+set pager_format     = "| %C | %e | %Z | %c | %[%a %d %b %Y] | %[%H:%M] | %L (%a) | %s"
+set xterm_set_titles = yes
+set tilde            = yes
+#set narrow_tree     = yes
+
+set strict_threads   = yes
+set sort             = reverse-threads
+#set sort            = threads                     # Sort by threads
+#set sort_aux        = reverse-date                # Then sort by date
+
+source              ~/.mutt/conf/mailboxes
+
+source              ~/.mutt/conf/headers           # Configure header display.
+source              ~/.mutt/conf/my-headers        # Set personnal headers.
+source              ~/.mutt/conf/colors            # Define colours.
+source              ~/.mutt/conf/macros            # Define macros.
+source              ~/.mutt/conf/keys              # Define keybindings.
+source              ~/.mutt/conf/subscribes        # Define subscribing lists.
+source              ~/.mutt/conf/identities        # Define identities.
+
+set mailcap_path    = "~/.mutt/etc/mailcap:/etc/mailcap"
+
+set alias_file="~/.mutt/conf/aliases"
+source ~/.mutt/conf/aliases