Bläddra i källkod

Remove madmutt configuration.

Emmanuel Bouthenot 15 år sedan
förälder
incheckning
acc2102166
8 ändrade filer med 0 tillägg och 406 borttagningar
  1. 0 11
      .madmutt/aliases
  2. 0 167
      .madmutt/cfg.lua
  3. 0 75
      .madmutt/colors
  4. 0 25
      .madmutt/keys
  5. 0 30
      .madmutt/macros
  6. 0 21
      .madmutt/mailcap
  7. 0 15
      .madmutt/my-headers
  8. 0 62
      .madmuttrc

+ 0 - 11
.madmutt/aliases

@@ -1,11 +0,0 @@
-#
-# -*- 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
-#
-# Aliases settings for Madmutt.
-#

+ 0 - 167
.madmutt/cfg.lua

@@ -1,167 +0,0 @@
--- -*- madmutt configuration file -*-
---
--- Madmutt configuration file
--- 2008,  kolter <kolter@openics.org>
---
---  This file is distributed in the hope that it will be useful,
---  but WITHOUT ANY WARRANTY
---
--- Lua configuration file for Madmutt.
---
-
-mod_core.editor = 'emacs -nw'
-mod_core.shell = '/bin/zsh'
-mod_core.tmpdir = mod_core.homedir..'/.madmutt/tmp'
--- mod_core.quit = 1
--- mod_core.hostname = 'mx0.openics.org'
-
-local maildir = "/home/manu/Mail/imap/"
-local mailboxes = { maildir }
-
-mod_buffy.mail_check = 2
-
-MAlias.record = maildir..'/.Sent'
-MAlias.alias_file = "~/.madmutt/aliases"
-MAlias.signature = "~/.signatures/kolter_openics"
-
-MTransport.use_envelope_from =1 
-
--- misc functions
-function iter(fun, arr)
-    for _, v in ipairs(arr) do fun(v) end
-end
-
-function expand_mailboxes (pattern)
-   local ls = io.popen("find "..maildir.." -mindepth 1 -maxdepth 1 -type d -name \""..pattern.."\"")
-   for line in ls:lines() do
-      table.insert(mailboxes, line)
-   end
-   ls:close()
-end
---------
-
-local alternates = {
-   "kolter@openics.org",
-   "emmanuel@bouthenot.name",
-   "kolter@free.fr",
-   "emmanuel.bouthenot@free.fr",
-}
-iter(MAlias.alternates, alternates)
-
-local subscribes = {
-   "weechat-(dev|cvs)",
-   "debian-.*@lists\.debian\.org",
-   "(asso|sl)@france\.debian\.net",
-   "backports.*@lists\.backports\.org",
-   "(ca|asso|abonnes|inscrits|tech|debutants|blahblah|annonces|party|devel|web|hourtin)@abul\.org",
-   "hurdfr@hurdfr\.org",
-   "(shell|emacs|sysadmin)@asyd\.net",
-   "(communication|themes|org|2008)@rmll\.info",
-   "organisation@rmll2008.org",
-}
-iter(MAlias.subscribe, subscribes)
-
-local mailboxes_pattern = {
-   ".Drafts",
-   ".Sent",
-   ".Spam",
-   ".Trash",
-   ".sys.dak",
-   ".sys.sympa",
-   ".sys.reports",
-   ".sys.infos",
-   ".my.debian-nm",
-   ".my.cnam",
-   ".my.misc",
-   ".friends.tbs.tiacfooting",
-   ".my.soft.weechat.ml.*",
-   ".my.soft.galette.devel",
-   ".my.ml.rmll.*",
-   ".my.ml.asyd.*",
-   ".my.ml.abul.*",
-   ".my.ml.debian.france.*",
-   ".my.soft.debian.pkg.phototools",
-   ".my.ml.debian.*",
-   ".my.ml.hurd.hurdfr",
-   ".my.soft.debian.*",
-}
-for _, v in pairs(mailboxes_pattern) do
-   expand_mailboxes(v)
-end
-iter(mod_buffy.mailboxes, mailboxes)
-
---mod_cset.assumed_charset = "cp1252"
---mod_cset.send_charset    = "us-ascii:utf-8"
-
---
--- MIME settings
---
--- mod_mime.spam("x-dspam-result: *spam", "spam")
-mod_mime.auto_view("text/html")
-mod_mime.alternative_order("text/plain")
-mod_mime.alternative_order("text")
-mod_mime.mailcap_path = "~/.madmutt/mailcap:/etc/mailcap"
-mod_mime.ignore("*");
-mod_mime.unhdr_order("*");
-
-local headers = { 
-   "From:",
-   "Resent-From:",
-   "Subject:",
-   "To:",
-   "Cc:",
-   "Bcc:",
-   "Return-Path:",
-   "Reply-To:",
-   "Mail-Followup-To:",
-   "Followup-To:",
-   "Date:",
-   "Resent-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:",
-   "X-PGP-Fingerprint:",
-   "X-GnuPG-KeyID:",
-   "fingerprint:",
-   "X-Spam-Status:",
-   "X-Junked-Because:",
-   "X-SpamProbe:",
-   "X-Virus-hagbard:",
-   "X-Originating-IP:",
-   "X-Originating-Email:",
-   "X-Bogosity:",
-   "X-Operating-System:",
-   "X-Apparently-From:",
-   "X-Virus-Scanned:",
-   "Message-ID:",
-   "X-Org-Mail:",
-   "X-Org-Id:",
-   "X-CRM114-Score:",
-   "X-CRM114-Spam:",
-}
-iter(mod_mime.unignore, headers)
-iter(mod_mime.hdr_order, headers)
-
---
--- GPG settings
--- 
--- mod_crypt.autosign = 1
--- mod_crypt.replysign = 1
-mod_crypt.verify_sig = 1
-

+ 0 - 75
.madmutt/colors

@@ -1,75 +0,0 @@
-# -*- 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
-color sidebar yellow default

+ 0 - 25
.madmutt/keys

@@ -1,25 +0,0 @@
-# -*- 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

+ 0 - 30
.madmutt/macros

@@ -1,30 +0,0 @@
-# -*- 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"

+ 0 - 21
.madmutt/mailcap

@@ -1,21 +0,0 @@
-# -*- 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.
-#
-
-#text/html; elinks -dump-charset utf8 -force-html -dump-width 132 -dump %s ; copiousoutput
-#text/html; iconv -f latin1 -t utf8 %s | w3m -dump -T text/html ; copiousoutput
-text/html; mailhtml2view %s ; copiousoutput
-
-audio/*; xmms %s
-image/*; display %s
-video/*; mplayer %s
-
-application/pdf; pdftotext -layout %s - | iconv -f latin1 -t utf8 ; copiousoutput;
-

+ 0 - 15
.madmutt/my-headers

@@ -1,15 +0,0 @@
-# -*- 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
-#
-# Mail headers settings for Madmutt.
-#
-
-my_hdr User-Agent: Madmutt/devel-git (`uname -o`)
-my_hdr X-Operating-System: Debian GNU/`uname -s` `cat /etc/debian_version` (`uname -r | cut -d'.' -f1-3`)
-my_hdr X-GnuPG-KeyID: 414EC36E
-my_hdr X-GPG-Fingerprint: 04DE 2F33 3CEF EF4F 46BF D6EA A475 EA19 414E C36E

+ 0 - 62
.madmuttrc

@@ -1,62 +0,0 @@
-# -*- 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
-#
-# Global configuration file for Madmutt.
-#
-
-set realname        = "Emmanuel Bouthenot"
-
-set locale          = "fr_FR.UTF-8"
-## set charset         = "utf-8"
-
-set folder           = "~/Mail/imap"
-set mask             = "^\\.[^.]"
-set mbox             = "~/Mail/imap"
-set postponed        = "+.Drafts"
-set spoolfile        = "~/Mail/imap"
-
-set timeout         = 240
-
-# sidebar settings
-set sidebar_visible = yes
-set sidebar_width   = 46
-set sidebar_shorten_hierarchy = yes
-
-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
-
-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              ~/.madmutt/colors              # Define colours.
-source              ~/.madmutt/macros              # Define macros.
-source              ~/.madmutt/keys                # Define keybindings
-source              ~/.madmutt/my-headers          # Custom headers