aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/mutt/mailcap162
-rw-r--r--modules/mutt/mailrc1
-rw-r--r--modules/mutt/mime.types91
-rw-r--r--modules/mutt/mutt/colors90
-rw-r--r--modules/mutt/mutt/sidebar53
-rw-r--r--modules/mutt/muttrc440
-rw-r--r--modules/mutt/procmailrc29
7 files changed, 866 insertions, 0 deletions
diff --git a/modules/mutt/mailcap b/modules/mutt/mailcap
new file mode 100644
index 0000000..ffb9e37
--- /dev/null
+++ b/modules/mutt/mailcap
@@ -0,0 +1,162 @@
+application/vnd.sun.xml.writer;soffice %s
+application/vnd.sun.xml.writer.global;soffice %s
+application/vnd.stardivision.writer;soffice %s
+application/vnd.stardivision.writer-global;soffice %s
+application/x-starwriter;soffice %s
+application/vnd.sun.xml.writer.template;soffice %s
+application/msword;soffice %s
+application/vnd.sun.xml.calc;soffice %s
+application/vnd.stardivision.calc;soffice %s
+application/x-starcalc;soffice %s
+application/vnd.sun.xml.calc.template;soffice %s
+application/excel;soffice %s
+application/msexcel;soffice %s
+application/vnd.ms-excel;soffice %s
+application/x-msexcel;soffice %s
+application/vnd.sun.xml.impress;soffice %s
+application/vnd.stardivision.impress;soffice %s
+application/vnd.stardivision.impress-packed;soffice %s
+application/x-starimpress;soffice %s
+application/vnd.sun.xml.impress.template;soffice %s
+application/powerpoint;soffice %s
+application/mspowerpoint;soffice %s
+application/vnd.ms-powerpoint;soffice %s
+application/x-mspowerpoint;soffice %s
+application/vnd.sun.xml.draw;soffice %s
+application/vnd.stardivision.draw;soffice %s
+application/x-stardraw;soffice %s
+application/vnd.sun.xml.draw.template;soffice %s
+application/vnd.sun.xml.math;soffice %s
+application/vnd.stardivision.math;soffice %s
+application/x-starmath;soffice %s
+application/vnd.sun.xml.writer;soffice %s
+application/vnd.sun.xml.writer.global;soffice %s
+application/vnd.stardivision.writer;soffice %s
+application/vnd.stardivision.writer-global;soffice %s
+application/x-starwriter;soffice %s
+application/vnd.sun.xml.writer.template;soffice %s
+application/msword;soffice %s
+application/vnd.sun.xml.calc;soffice %s
+application/vnd.stardivision.calc;soffice %s
+application/x-starcalc;soffice %s
+application/vnd.sun.xml.calc.template;soffice %s
+application/excel;soffice %s
+application/msexcel;soffice %s
+application/vnd.ms-excel;soffice %s
+application/x-msexcel;soffice %s
+application/vnd.sun.xml.impress;soffice %s
+application/vnd.stardivision.impress;soffice %s
+application/vnd.stardivision.impress-packed;soffice %s
+application/x-starimpress;soffice %s
+application/vnd.sun.xml.impress.template;soffice %s
+application/powerpoint;soffice %s
+application/mspowerpoint;soffice %s
+application/vnd.ms-powerpoint;soffice %s
+application/x-mspowerpoint;soffice %s
+application/vnd.sun.xml.draw;soffice %s
+application/vnd.stardivision.draw;soffice %s
+application/x-stardraw;soffice %s
+application/vnd.sun.xml.draw.template;soffice %s
+application/vnd.sun.xml.math;soffice %s
+application/vnd.stardivision.math;soffice %s
+application/x-starmath;soffice %s
+application/vnd.sun.xml.writer;soffice %s
+application/vnd.sun.xml.writer.global;soffice %s
+application/vnd.stardivision.writer;soffice %s
+application/vnd.stardivision.writer-global;soffice %s
+application/x-starwriter;soffice %s
+application/vnd.sun.xml.writer.template;soffice %s
+application/msword;soffice %s
+application/vnd.sun.xml.calc;soffice %s
+application/vnd.stardivision.calc;soffice %s
+application/x-starcalc;soffice %s
+application/vnd.sun.xml.calc.template;soffice %s
+application/excel;soffice %s
+application/msexcel;soffice %s
+application/vnd.ms-excel;soffice %s
+application/x-msexcel;soffice %s
+application/vnd.sun.xml.impress;soffice %s
+application/vnd.stardivision.impress;soffice %s
+application/vnd.stardivision.impress-packed;soffice %s
+application/x-starimpress;soffice %s
+application/vnd.sun.xml.impress.template;soffice %s
+application/powerpoint;soffice %s
+application/mspowerpoint;soffice %s
+application/vnd.ms-powerpoint;soffice %s
+application/x-mspowerpoint;soffice %s
+application/vnd.sun.xml.draw;soffice %s
+application/vnd.stardivision.draw;soffice %s
+application/x-stardraw;soffice %s
+application/vnd.sun.xml.draw.template;soffice %s
+application/vnd.sun.xml.math;soffice %s
+application/vnd.stardivision.math;soffice %s
+application/x-starmath;soffice %s
+application/vnd.sun.xml.writer;soffice %s
+application/vnd.sun.xml.writer.global;soffice %s
+application/vnd.stardivision.writer;soffice %s
+application/vnd.stardivision.writer-global;soffice %s
+application/x-starwriter;soffice %s
+application/vnd.sun.xml.writer.template;soffice %s
+application/msword;soffice %s
+application/vnd.sun.xml.calc;soffice %s
+application/vnd.stardivision.calc;soffice %s
+application/x-starcalc;soffice %s
+application/vnd.sun.xml.calc.template;soffice %s
+application/excel;soffice %s
+application/msexcel;soffice %s
+application/vnd.ms-excel;soffice %s
+application/x-msexcel;soffice %s
+application/vnd.sun.xml.impress;soffice %s
+application/vnd.stardivision.impress;soffice %s
+application/vnd.stardivision.impress-packed;soffice %s
+application/x-starimpress;soffice %s
+application/vnd.sun.xml.impress.template;soffice %s
+application/powerpoint;soffice %s
+application/mspowerpoint;soffice %s
+application/vnd.ms-powerpoint;soffice %s
+application/x-mspowerpoint;soffice %s
+application/vnd.sun.xml.draw;soffice %s
+application/vnd.stardivision.draw;soffice %s
+application/x-stardraw;soffice %s
+application/vnd.sun.xml.draw.template;soffice %s
+application/vnd.sun.xml.math;soffice %s
+application/vnd.stardivision.math;soffice %s
+application/x-starmath;soffice %s
+application/vnd.sun.xml.writer;soffice %s
+application/vnd.sun.xml.writer.global;soffice %s
+application/vnd.stardivision.writer;soffice %s
+application/vnd.stardivision.writer-global;soffice %s
+application/x-starwriter;soffice %s
+application/vnd.sun.xml.writer.template;soffice %s
+application/vnd.sun.xml.calc;soffice %s
+application/vnd.stardivision.calc;soffice %s
+application/x-starcalc;soffice %s
+application/vnd.sun.xml.calc.template;soffice %s
+application/vnd.sun.xml.impress;soffice %s
+application/vnd.stardivision.impress;soffice %s
+application/vnd.stardivision.impress-packed;soffice %s
+application/x-starimpress;soffice %s
+application/vnd.sun.xml.impress.template;soffice %s
+application/vnd.sun.xml.draw;soffice %s
+application/vnd.stardivision.draw;soffice %s
+application/x-stardraw;soffice %s
+application/vnd.sun.xml.draw.template;soffice %s
+application/vnd.sun.xml.math;soffice %s
+application/vnd.stardivision.math;soffice %s
+application/x-starmath;soffice %s
+applicatiom/rtf; unrtf --text '%s'; copiousoutput; description="M$ Word Text"; nametemplate=%s.doc
+text/html; lynx -dump %s; nametemplate=%s.htm; copiousoutput
+application/pgp-keys; gpg -f < %s ; copiousoutput
+audio/mp3;mpg123 %s
+audio/mpeg;mplayer %s
+audio/mpegurl;mplayer %s
+audio/scpls;mplayer %s
+audio/x-mp3;mplayer %s
+audio/x-mpeg;mplayer %s
+audio/x-mpegurl;mplayer %s
+audio/x-scpls;mplayer %s
+image/*; image2ascii %s; copiousoutput
+application/msword; /usr/bin/antiword '%s'; copiousoutput; description="M$ Word Text"; nametemplate=%s.doc
+# Java Web Start
+#application/x-java-jnlp-file; /usr/bin/javaws %s
+application/pdf; evince %s
diff --git a/modules/mutt/mailrc b/modules/mutt/mailrc
new file mode 100644
index 0000000..19627cf
--- /dev/null
+++ b/modules/mutt/mailrc
@@ -0,0 +1 @@
+set sendmail="/usr/bin/msmtp"
diff --git a/modules/mutt/mime.types b/modules/mutt/mime.types
new file mode 100644
index 0000000..9e00efa
--- /dev/null
+++ b/modules/mutt/mime.types
@@ -0,0 +1,91 @@
+application/vnd.sun.xml.writer sxw
+application/vnd.sun.xml.writer.template stw
+application/vnd.sun.xml.writer.global sxg
+application/vnd.stardivision.writer sdw vor
+application/vnd.stardivision.writer-global sgl
+application/vnd.sun.xml.calc sxc
+application/vnd.sun.xml.calc.template stc
+application/vnd.stardivision.calc sdc
+application/vnd.sun.xml.impress sxi
+application/vnd.sun.xml.impress.template sti
+application/vnd.stardivision.impress sdd sdp
+application/vnd.sun.xml.draw sxd
+application/vnd.sun.xml.draw.template std
+application/vnd.stardivision.draw sda
+application/vnd.sun.xml.math sxm
+application/vnd.stardivision.math smf
+application/vnd.sun.xml.writer sxw
+application/vnd.sun.xml.writer.template stw
+application/vnd.sun.xml.writer.global sxg
+application/vnd.stardivision.writer sdw vor
+application/vnd.stardivision.writer-global sgl
+application/vnd.sun.xml.calc sxc
+application/vnd.sun.xml.calc.template stc
+application/vnd.stardivision.calc sdc
+application/vnd.sun.xml.impress sxi
+application/vnd.sun.xml.impress.template sti
+application/vnd.stardivision.impress sdd sdp
+application/vnd.sun.xml.draw sxd
+application/vnd.sun.xml.draw.template std
+application/vnd.stardivision.draw sda
+application/vnd.sun.xml.math sxm
+application/vnd.stardivision.math smf
+application/vnd.sun.xml.writer sxw
+application/vnd.sun.xml.writer.template stw
+application/vnd.sun.xml.writer.global sxg
+application/vnd.stardivision.writer sdw vor
+application/vnd.stardivision.writer-global sgl
+application/vnd.sun.xml.calc sxc
+application/vnd.sun.xml.calc.template stc
+application/vnd.stardivision.calc sdc
+application/vnd.sun.xml.impress sxi
+application/vnd.sun.xml.impress.template sti
+application/vnd.stardivision.impress sdd sdp
+application/vnd.sun.xml.draw sxd
+application/vnd.sun.xml.draw.template std
+application/vnd.stardivision.draw sda
+application/vnd.sun.xml.math sxm
+application/vnd.stardivision.math smf
+application/vnd.sun.xml.writer sxw
+application/vnd.sun.xml.writer.template stw
+application/vnd.sun.xml.writer.global sxg
+application/vnd.stardivision.writer sdw vor
+application/vnd.stardivision.writer-global sgl
+application/vnd.sun.xml.calc sxc
+application/vnd.sun.xml.calc.template stc
+application/vnd.stardivision.calc sdc
+application/vnd.sun.xml.impress sxi
+application/vnd.sun.xml.impress.template sti
+application/vnd.stardivision.impress sdd sdp
+application/vnd.sun.xml.draw sxd
+application/vnd.sun.xml.draw.template std
+application/vnd.stardivision.draw sda
+application/vnd.sun.xml.math sxm
+application/vnd.stardivision.math smf
+application/vnd.sun.xml.writer sxw
+application/vnd.sun.xml.writer.template stw
+application/vnd.sun.xml.writer.global sxg
+application/vnd.stardivision.writer sdw vor
+application/vnd.stardivision.writer-global sgl
+application/vnd.sun.xml.calc sxc
+application/vnd.sun.xml.calc.template stc
+application/vnd.stardivision.calc sdc
+application/vnd.sun.xml.impress sxi
+application/vnd.sun.xml.impress.template sti
+application/vnd.stardivision.impress sdd sdp
+application/vnd.sun.xml.draw sxd
+application/vnd.sun.xml.draw.template std
+application/vnd.stardivision.draw sda
+application/vnd.sun.xml.math sxm
+application/vnd.stardivision.math smf
+type=audio/x-mpeg
+type=audio/x-mp3
+type=audio/x-mpegurl
+type=audio/x-scpls
+type=audio/mpeg
+type=audio/mp3
+type=audio/mpegurl
+type=audio/scpls
+type=application/vnd.rn-rn_music_package
+type=application/x-zinf-theme
+type=application/x-java-jnlp-file desc="Java Web Start" exts="jnlp"
diff --git a/modules/mutt/mutt/colors b/modules/mutt/mutt/colors
new file mode 100644
index 0000000..c0a01db
--- /dev/null
+++ b/modules/mutt/mutt/colors
@@ -0,0 +1,90 @@
+#
+# colors configuration
+#
+
+#color attachment brightmagenta black # guess :-)
+#color error brightwhite red # errors yell at you in red
+#color hdrdefault red black # headers
+#color indicator brightyellow red # currently selected message, etc
+#color markers brightcyan black # the + for wrapped pager lines
+#color message brightcyan black # informational messages, *not mail*
+#color normal white black # plain text
+#color quoted green black # quoted text
+#color search brightgreen black # hilite search patterns in the pager
+#color signature red black # signature (after "-- ") is red
+#color status brightyellow blue # status bar is yellow *on blue*
+#color tilde blue black # ~'s after message body
+#color tree red black # thread tree in index menu is magenta
+
+color normal brightwhite default
+color indicator brightyellow red
+color status white blue
+color hdrdefault cyan default
+color header brightyellow default ^Subject:
+color header brightgreen default ^From:
+color quoted cyan default
+color quoted1 green default
+color quoted2 cyan default
+color quoted3 green default
+color attachment yellow default
+color signature magenta default
+color tree red default
+color tilde blue default
+color markers red default
+color error red default
+# hiliting bold patterns in body
+color bold red default
+# hiliting underlined patterns in body
+color underline green default
+
+# INDEX
+##############################################################################
+
+# unread messages
+color index brightyellow black ~U
+# new messages
+color index brightyellow black ~N
+# message in reply to mines
+#folder-hook . 'color index brightyellow black "~h @kiwi.shadow.net"'
+#folder-hook (Inbox*|Outbox*) 'uncolor index brightyellow black "~h @kiwi.shadow.net"'
+# my emails
+folder-hook . 'color index yellow black ~P'
+# don't highlight them in Outbox*
+folder-hook (Outbox*|Draft|Outgoing) 'uncolor index ~P'
+# mulherio emails
+#color index green black "~f check@thisperson.org"
+#color index green black "~f check@thisperson.org"
+# the message contains a virus
+color index blue black "~h X-Virus-Catched:"
+# flagged messages
+color index cyan black ~F
+# tagged messages
+color index blue cyan ~T
+# the message is spam
+color index brightwhite blue "~h X-Bogosity:\\ Yes"
+color index brightwhite red "~h X-Bogosity:\\ Unsure ~U"
+# deleted messages
+color index brightblack black ~D
+# deleted spam messages
+color index brightblack blue "~h 'X-Bogosity:\\ Yes' ~D"
+# mine deleted messages
+color index brightblack black "~D ~P"
+
+
+# BODY
+###############################################################################
+
+# url
+color body red black "((ftp|http|https)://|(file|news):|www\\.|ftp\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?" # url
+# email address
+color body red black "[-a-z_0-9.]+@[-a-z_0-9.]+"
+# smiles
+# color body yellow black "[#](:|;)[-^]?[][)(><}{|/DP]"
+color body brightyellow black "[;:]-{0,1}[)/(PD|]"
+# bold text using <b> </b>
+color body yellow black "<b>.+</b>"
+
+# pgp headers
+color body green black "-----END PGP .*-----"
+color body green black "-----BEGIN PGP .*-----"
+
diff --git a/modules/mutt/mutt/sidebar b/modules/mutt/mutt/sidebar
new file mode 100644
index 0000000..248b152
--- /dev/null
+++ b/modules/mutt/mutt/sidebar
@@ -0,0 +1,53 @@
+#
+# http://www.die-welt.net/2011/02/desktop-in-a-shell-mutt/
+# http://www.debian-administration.org/articles/523
+# http://www.lunar-linux.org/mutt-sidebar/
+#
+
+# set up the sidebar, default not visible
+set sidebar_width=20
+set sidebar_visible=no
+set sidebar_delim='|'
+set sidebar_sort=yes
+
+# which mailboxes to list in the sidebar
+mailboxes =inbox =ml
+
+# color of folders with new mail
+color sidebar_new yellow default
+
+# ctrl-n, ctrl-p to select next, prev folder
+# ctrl-o to open selected folder
+#bind index CP sidebar-prev
+#bind index CN sidebar-next
+#bind index CO sidebar-open
+#bind pager CP sidebar-prev
+#bind pager CN sidebar-next
+#bind pager CO sidebar-open
+bind index \Cp sidebar-prev
+bind index \Cn sidebar-next
+bind index \Co sidebar-open
+bind pager \Cp sidebar-prev
+bind pager \Cn sidebar-next
+bind pager \Co sidebar-open
+
+# I don’t need these. just for documentation purposes. See below.
+# sidebar-scroll-up
+# sidebar-scroll-down
+
+# b toggles sidebar visibility
+#macro index b ‘<enter-command>toggle sidebar_visible<enter>’
+#macro pager b ‘<enter-command>toggle sidebar_visible<enter>’
+#macro index b 'toggle sidebar_visible'
+#macro pager b 'toggle sidebar_visible'
+macro index \Cb '<enter-command>toggle sidebar_visible<enter><refresh>'
+macro pager \Cb '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
+
+# Remap bounce-message function to “B”
+bind index B bounce-message
+
+#
+# Mario Holbe suggests:
+# macro index b ‘<enter-command>toggle sidebar_visible<enter><refresh>’
+# macro pager b ‘<enter-command>toggle sidebar_visible<enter><redraw-screen>’
+#
diff --git a/modules/mutt/muttrc b/modules/mutt/muttrc
new file mode 100644
index 0000000..e110077
--- /dev/null
+++ b/modules/mutt/muttrc
@@ -0,0 +1,440 @@
+#
+# file : muttrc
+# __, by : rhatto at riseup.net
+# \\,_O
+# /~
+#
+
+#---------------------
+# Custom configuration
+#---------------------
+source "~/.custom/muttrc"
+
+# -----------
+# Color setup
+# -----------
+source "~/.mutt/colors"
+
+# --------------------
+# General mutt options
+# --------------------
+# reset all
+set reply_to = ask-yes
+set reverse_name = yes
+set reverse_realname = yes
+set gecos_mask = "^[^,]*"
+set hidden_host = no
+set hostname = "localhost"
+#set wait_key = yes
+#set weed = yes
+#set status_on_top = no
+#set suspend = yes
+#set timeout = 600
+set beep = no
+set user_agent = no
+#set delete_untag = yes
+#set prompt_after = yes
+set quit = yes
+set read_inc = 10
+set mail_check = 120
+set menu_scroll = no
+#set meta_key = no
+set help = yes
+#set history = 10
+#set read_only = no
+#set date_format = "!%a, %b %d, %Y at %I:%M:%S%p %Z"
+set delete = yes
+#set dotlock_program = "/usr/local/bin/mutt_dotlock"
+#set beep_new = no
+#set charset = "iso-8859-1"
+set charset = "utf-8"
+#set check_new = yes
+
+# ----------------------
+# OS Specifiques options
+# ----------------------
+#set print = ask-no
+#set print_command = "lpr"
+#set print_decode = yes
+#set ispell = "ispell"
+set ispell="aspell -e -c --lang=pt_BR"
+#set locale = "C"
+#set shell = ""
+set spoolfile = "~/mail/INBOX"
+
+# ----------
+# Menu index
+# ----------
+#set wrap_search = yes
+set thorough_search=yes
+#set sort_re = yes
+#set status_chars = "-*%A"
+set status_format = "-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? Novas:%n?%?o? Velhas:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---"
+set strict_threads = yes
+#set thorough_search = no
+#set to_chars = " +TCF"
+#set simple_search = "~f %s | ~s %s"
+set sort = threads
+set sort_aux = date-received
+#set sort_aux = date-sent
+#set resolve = yes
+#set index_format = "%4C %Z %{%b %d} %-15.15L (%4l) %s"
+#set mark_old = yes
+#set allow_8bit = yes
+#set arrow_cursor = no
+#set ascii_chars = no
+#set auto_tag = no
+#set collapse_unread = yes
+#set uncollapse_jump = no
+
+# --------------
+# Internal Pager
+# --------------
+set visual = ""
+set sig_dashes = yes
+set smart_wrap = yes
+set smileys = "(>From )|(:[-^]?[][)(><}{|/DP])"
+set quote_regexp = "^([ \t]*[|>:}#])+"
+set pager = "builtin"
+set pager_context = 0
+set pager_format = "-%Z- %C/%m: %-20.20n %s"
+set pager_index_lines = 0
+set pager_stop = no
+set pager_index_lines=8
+set markers = no
+set escape = "~"
+set tilde = no
+
+# ---------
+# Composing
+# ---------
+set editor = "vim -X"
+#set use_domain = yes
+#set postpone = ask-yes
+set postponed = "~/tmp/mutt/postponed"
+#set query_command = ""
+#set recall = ask-yes
+#set fast_reply = no
+#set abort_nosubject = ask-yes
+#set abort_unmodified = yes
+#set askbcc = yes
+#set askcc = yes
+
+# --------
+# Replying
+# --------
+set attribution = "Em %d, %n escreveu:"
+#set post_indent_string = ""
+#set reply_regexp = "^(re([\\[0-9\\]+])*|aw):[ \t]*"
+#set reply_self = no
+#set indent_string = "> "
+#set in_reply_to = "%i; from %a on %{!%a, %b %d, %Y at %I:%M:%S%p %Z}"
+#set honor_followup_to = yes
+#set ignore_list_reply_to = no
+#set include = ask-yes
+#set bounce_delivered = yes
+
+# ----------
+# Forwarding
+# ----------
+#set forward_decrypt = yes
+#set forward_decode = yes
+#set forward_quote = no
+#set forward_format = "[%a: %s]"
+set forward_format = "Fwd: %s"
+
+# ------------------
+# Folder and Mailbox
+# ------------------
+set folder = "~/mail"
+set record="mail/INBOX.Sent"
+set move = no
+#set write_inc = 10
+#set sort_browser = alpha
+#set pipe_split = no
+#set pipe_decode = no
+#set pipe_sep = "\n"
+#set mask = "!^\\.[^.]"
+#set mbox = "~/mbox"
+#set mbox_type = mbox
+#set mh_purge = no
+#set confirmappend = yes
+#set confirmcreate = yes
+#set copy = yes
+#set default_hook = "~f %s !~P | (~P ~C %s)"
+#set fcc_attach = yes
+#set fcc_clear = no
+#set folder_format = "%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f"
+#set force_name = no
+#set mbox_pane_width="20"
+#set mbox_pane_show="no"
+#macro index \cA set mbox_pane_show="yes"
+#macro pager \cA set mbox_pane_show="yes"
+#macro index \cA set mbox_pane_show="no"
+#macro pager \cA set mbox_pane_show="no"
+#bind index <delete> next-mbox
+#bind pager <delete> next-mbox
+#bind index <insert> previous-mbox
+#bind pager <insert> previous-mbox
+#bind index X open-mbox
+#bind pager X open-mbox
+
+# -------
+# Headers
+# -------
+#set hdrs = yes
+#set header = no
+#set edit_headers = no
+#set autoedit = no
+
+# -------
+# Sending
+# -------
+set use_from = yes
+set save_address = yes
+set envelope_from = yes
+#set write_bcc = yes
+#set save_empty = yes
+#set save_name = no
+#set send_charset = ""
+#set mix_entry_format = "%4n %c %-16s %a"
+#set metoo = no
+#set encode_from = no
+#use_envelope_from=yes
+#set followup_to = yes
+
+# -----
+# Alias
+# -----
+set alias_file = "~/.custom/mutt/aliases"
+source "~/.custom/mutt/aliases"
+#set sort_alias = alias
+#set reverse_alias = no
+#set alias_format = "%4n %t %-10a %r"
+
+# ------------------
+# Attached documents
+# ------------------
+set attach_format = "%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] "
+set attach_sep = "\n"
+set attach_split = yes
+
+# ----
+# MIME
+# ----
+set rfc2047_parameters = no
+set mime_forward_rest = yes
+set message_format = "%s"
+set mailcap_path = ".mailcap"
+set mailcap_sanitize = yes
+set mime_forward = no
+set mime_forward_decode = no
+set implicit_autoview = no
+
+# ----
+# IMAP
+# ----
+#set imap_checkinterval = 60
+#set imap_list_subscribed = no
+#set imap_user = user
+#set imap_cramkey = ""
+#set imap_pass = nada
+#set imap_passive = yes
+#set imap_servernoise = yes
+#set imap_home_namespace = ""
+#set imap_preconnect = ""
+#account-hook . 'unset imap_user; unset imap_pass; unset tunnel'
+#account-hook imap://mail.example.og/ 'set imap_user=user imap_pass=lalala'
+
+# ---
+# SSL
+# ---
+#set entropy_file = ""
+#set ssl_usesystemcerts = yes
+#set ssl_use_sslv3 = yes
+#set ssl_use_tlsv1 = yes
+#set imap_force_ssl = no
+
+# -------
+# Scoring
+# -------
+#set score = yes
+#set score_threshold_delete = -1
+#set score_threshold_flag = 9999
+#set score_threshold_read = -1
+
+# --------
+# Sendmail
+# --------
+set use_8bitmime = no
+set sendmail = "/usr/bin/msmtp"
+#set sendmail = "/usr/sbin/sendmail -oem -oi"
+#set sendmail_wait = 2
+#set dsn_notify = ""
+#set dsn_return = ""
+
+# ---
+# GPG
+# ---
+macro index S ":toggle pgp_verify_sig\n" # define S to toggle sig check
+macro index A ":toggle pgp_autosign\n" # define A to toggle autosign
+set pgp_verify_sig=yes
+set pgp_autosign
+
+# --------------
+# GnuPG commands
+# --------------
+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 --digest-algo sha256 --detach-sign --textmode %?a?-u %a? %f"
+set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --digest-algo sha256 --textmode --clearsign %?a?-u %a? %f"set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
+set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg --passphrase-fd 0 -v --batch --output - --digest-algo sha256 --encrypt --sign %?a?-u %a? --armor --always-trust -- -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_getkeys_command=""
+set pgp_good_sign="^gpg: Assinatura correta de"
+
+# ---------------------------
+# Patch: pgp-menu-traditional
+# ---------------------------
+# * introduce pgp_replyinline boolean (default no)
+# When set, this option will (attempt) to reply to
+# inline (traditional) messages as inline (traditional).
+# * introduce pgp_autoinline boolean (default no)
+# When set, this option will (attempt) to send messages as inline (traditional).
+# * change pgp_create_traditional to a synonym for pgp_autoinline
+# Warning: this changes pgp_create_traditional from a quad variable to a boolean.
+# * introduce pgp_mime_ask quad option (default no)
+
+# --------------------------
+# Patch: multiple-crypt-hook
+# --------------------------
+# Allows multiple key-ids for the same pattern With this patch, you can have
+# multiple crypt-hook instances with the same pattern (recipient). This allows
+# one to specify multiple key-ids for a particular pattern (recipient).
+
+# -------------------------
+# Patch: confirm-crypt-hook
+# -------------------------
+# This patch adds the variable crypt_confirmhook (default yes),
+# to allow you to skip the "Use keyID" prompt, which is frustrating
+# for so many people. Typical (for me) use of crypt-hook implies
+# selection of a known key (assuming no typos), so crypt_confirmhook
+# can be unset if you know your crypt-hooks are valid; you won't be
+# prompted for confirmation anymore. You should verify all your
+# crypt-hooks are correct before unsetting this variable.
+#
+# set crypt_confirmhook = no
+# pgp-hook mailing@lists.org listname
+# pgp-hook mailing@lists.org KEYID_1
+# pgp-hook mailing@lists.org KEYID_2
+#
+
+# ---------
+# Mailboxes
+# ---------
+mailboxes `echo $HOME/mail/*`
+mailboxes `echo $HOME/mail/Sync/*/*`
+
+# --------------
+# Mail reception
+# --------------
+#macro pager <esc>f "!clear;offlineimap;fetchmail;philter.sh\n" "Sync remote with local mail"
+#macro index <esc>f "!clear;offlineimap;fetchmail;philter.sh\n" "Sync remote with local mail"
+#macro pager <esc>f "!clear;fetchmail -v;philter.sh\n" "Sync remote with local mail"
+#macro index <esc>f "!clear;fetchmail -v;philter.sh\n" "Sync remote with local mail"
+macro pager <esc>f "!clear;fetchmail;philter.sh\n" "Sync remote with local mail"
+macro index <esc>f "!clear;fetchmail;philter.sh\n" "Sync remote with local mail"
+
+# -------------
+# Ignore fields
+# -------------
+ignore X
+ignore Delivered-To
+ignore Precedence
+ignore List
+ignore Errors-To
+ignore In-Reply-To
+ignore Importance
+ignore Mail-Followup-To
+ignore Organization
+ignore Thread
+ignore ReSent
+ignore Disposition
+ignore Return
+ignore RT
+ignore Priority
+ignore DomainKey-Signature
+ignore Message
+ignore MIME
+ignore Received
+ignore References
+ignore Content
+ignore DKIM-Signature
+unignore X-Mailer
+unignore User-Agent
+
+# ---------
+# Auto view
+# ---------
+auto_view text/html
+auto_view application/msword
+auto_view text/richtext
+auto_view image/*
+macro pager \cb <pipe-entry>'urlview'<enter> 'Follow links with urlview'
+
+# ------
+# Mairix
+# ------
+macro index \es "<shell-escape>mairix " "Run a Mairix search"
+macro index \em "<change-folder-readonly>=INBOX.Search/\n" "Switch to Mairix virtual folder"
+
+# ----------------------------------------------------------------------------------------
+# Notmuch
+# For info look at http://upsilon.cc/~zack/blog/posts/2011/01/how_to_use_Notmuch_with_Mutt
+# ----------------------------------------------------------------------------------------
+macro browser <F8> "<enter-command>unset wait_key<enter><shell-escape>mutt-notmuch --prompt search\
+ <enter><change-dir>../.cache/<enter><search>mutt_results<enter><enter>" "search mail (using notmuch)"
+
+macro index <F7> "<tag-prefix><pipe-message>~/apps/scripts/mutt-notmuch-tag<enter>" "Tag messages (using notmuch)"
+
+# ----------
+# Bogofilter
+# ----------
+macro index s "<enter-command>unset wait_key\n<tag-prefix><pipe-entry>bogofilter -MSn\n<enter-command>set wait_key\n<tag-prefix><save-entry>"
+macro pager s "<enter-command>unset wait_key\n<pipe-entry>bogofilter -MSn\n<enter-command>set wait_key\n<save-entry>"
+macro index r "<enter-command>unset wait_key\n<tag-prefix><pipe-entry>bogofilter -Mn\n<enter-command>set wait_key\n<tag-prefix><reply>"
+macro pager r "<enter-command>unset wait_key\n<pipe-entry>bogofilter -Mn\n<enter-command>set wait_key\n<reply>"
+macro index g "<enter-command>unset wait_key\n<tag-prefix><pipe-entry>bogofilter -Mn\n<enter-command>set wait_key\n<tag-prefix><group-reply>"
+macro pager g "<enter-command>unset wait_key\n<pipe-entry>bogofilter -Mn\n<enter-command>set wait_key\n<group-reply>"
+macro index l "<enter-command>unset wait_key\n<tag-prefix><pipe-entry>bogofilter -Mn\n<enter-command>set wait_key\n<tag-prefix><list-reply>"
+macro pager l "<enter-command>unset wait_key\n<pipe-entry>bogofilter -Mn\n<enter-command>set wait_key\n<list-reply>"
+macro index X "<enter-command>unset wait_key\n<tag-prefix><pipe-entry>bogofilter -MNs\n<enter-command>set wait_key\n<tag-prefix><delete-message>"
+macro pager X "<enter-command>unset wait_key\n<pipe-entry>bogofilter -MNs\n<enter-command>set wait_key\n<delete-message>"
+
+# Schleuder config
+# see http://schleuder2.nadir.org/contrib/schleuder-with-mutt.html
+color body red default "^From: .*"
+color body red default "^To: .*"
+color body red default "^Cc: .*"
+color body red default "^Date: .*"
+color body brightred default "^Enc: unenc.*"
+color body red default "^Enc: enc.*"
+color body brightred default "^Sig: [^G]?.*"
+color body red default "^Sig: Good signature.*"
+color body red default "^Resent-to: .*"
+color body brightred default "^Note: .*"
+
+# Macro for jumping to the next important message
+macro index,pager \' "<search>~F<enter>" "Jump to next important message"
+
+# Sidebar
+source "~/.mutt/sidebar"
+
+# http://wiki.mutt.org/?MuttFaq/Attachment
+macro attach W <save-entry><kill-line>~/download/
+macro attach E <save-entry><kill-line>~/download/<enter>
diff --git a/modules/mutt/procmailrc b/modules/mutt/procmailrc
new file mode 100644
index 0000000..121c6e9
--- /dev/null
+++ b/modules/mutt/procmailrc
@@ -0,0 +1,29 @@
+#
+# Procmail rules
+#
+
+MAILDIR=$HOME/mail
+LOGFILE=$HOME/.procmaillog
+LOGABSTRACT=no
+VERBOSE=off
+FORMAIL=/usr/bin/formail
+NL="
+"
+##recipe lines begin with :0
+##dont put comments on recipe lines
+##disable a recipe with the false condition !
+##condition lines begin with * and regex is your friend
+##conditions are anded and everything after * is fed straight into egrep
+##one action line follows the conditions, in this case it is a mailbox name
+
+################################
+# Last rule: mail that gets #
+# this far goes in default box #
+################################
+:0:
+* ^X-Spam-Flag: YES
+INBOX.Trash/new
+
+:0
+* .*
+INBOX/new