Using GPG, Perl; HTML autoview

This commit is contained in:
Nemunaire 2014-04-17 10:22:17 +02:00
parent 7c9254ea43
commit 99d37ebcca
3 changed files with 15 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# mailcap - MIME configuration file
text/html; w3m %s; nametemplate=%s.html
text/html; w3m -dump %s; nametemplate=%s.html; \
copiousoutput
text/html; w3m -T text/html '%s'
text/html; w3m -T text/html -dump '%s'; copiousoutput
text/*; cat; copiousoutput; edit=$VISUAL %s
message/rfc822; cat; copiousoutput; edit=$VISUAL %s

12
.muttrc
View File

@ -5,6 +5,9 @@ set record="+.Sent"
set postponed="+.Drafts"
set spoolfile="~/.mail"
auto_view text/html
alternative_order text/plain text text/enriched text/html
# Set the desired default "from" address for both header From and envelope-from
set reverse_name
set from="nemunaire@nemunai.re"
@ -21,6 +24,8 @@ source $alias_file
source ~/.mutt/mls
set dsn_notify="failure,delay"
# set up the sidebar
set sidebar_width=25
set sidebar_visible=yes
@ -38,9 +43,12 @@ macro pager M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
macro compose A "<attach-message>?" "attach message(s) to this message"
# Include folder hooks defining Fcc
source ~/.mutt/folder-hooks
#GPG
set fcc_clear # Keep fcc's clear of signatues and encryption.
#source ~/.mutt/gpg.rc
source ~/.mutt/gpg.rc
set pgp_sign_as="0x6FDD4F15"
set pgp_replysign
@ -69,6 +77,7 @@ set forward_quote
hdr_order Date From To Cc Bcc User-Agent
ignore *
unignore Authentication-Results
unignore from: date subject to cc mail-followup-to
unignore x-mailing-list: posted-to:
unignore x-mailer: x-url reply-to
@ -154,6 +163,7 @@ color quoted3 cyan default
color sidebar_new yellow default
color sidebar_flagged brightred default
macro index,pager \eT '<change-folder>=.Amis.Thilp/<enter>'
bind index,pager \CP sidebar-scroll-up
#bind index,pager \CI sidebar-scroll-down
bind index,pager \CO sidebar-open

View File

@ -1,6 +1,7 @@
VERBOSE=no
SHELL=/bin/sh
SED=/bin/sed
PERL=/usr/bin/perl
PATH=/usr/local/bin:/usr/bin:/bin
MAILDIR=/home/nemunaire/.mail
DEFAULT=$MAILDIR/