Personal Muttrc, requires "~/.muttrc.priv" & "~/.muttrc.9000".
authorshort <>
Wed, 11 Jul 2001 00:40:19 +0000 (00:40 +0000)
committershort <>
Wed, 11 Jul 2001 00:40:19 +0000 (00:40 +0000)
Requires recent Mutt (devel)

.muttrc [new file with mode: 0644]
.muttrc-gpg.rc [new file with mode: 0644]
.muttrc.addons [new file with mode: 0644]

diff --git a/.muttrc b/.muttrc
new file mode 100644 (file)
index 0000000..3c01004
--- /dev/null
+++ b/.muttrc
@@ -0,0 +1,8 @@
+source ~/.muttrc.addons
+source ~/.muttrc.9000
+source ~/.muttrc.priv
+
+my_hdr From: Jan Kratochvil <short@ucw.cz>
+
+#set sendmail="/usr/sbin/sendmail -oem -oi -f jkra7289@ss1000.ms.mff.cuni.cz -t"
+#my_hdr From: Jan Kratochvil <jkra7289@ss1000.ms.mff.cuni.cz>
diff --git a/.muttrc-gpg.rc b/.muttrc-gpg.rc
new file mode 100644 (file)
index 0000000..8b0d5cf
--- /dev/null
@@ -0,0 +1,73 @@
+# -*-muttrc-*-
+#
+# Command formats for gpg.
+# 
+# This version uses gpg-2comp from 
+#   http://muppet.faveve.uni-stuttgart.de/~gero/gpg-2comp.tar.gz
+#
+# $Id$
+#
+# %p    The empty string when no passphrase is needed,
+#       the string "PGPPASSFD=0" if one is needed.
+#
+#       This is mostly used in conditional % sequences.
+#
+# %f    Most PGP commands operate on a single file or a file
+#       containing a message.  %f expands to this file's name.
+#
+# %s    When verifying signatures, there is another temporary file
+#       containing the detached signature.  %s expands to this
+#       file's name.
+#
+# %a    In "signing" contexts, this expands to the value of the
+#       configuration variable $pgp_sign_as.  You probably need to
+#       use this within a conditional % sequence.
+#
+# %r    In many contexts, mutt passes key IDs to pgp.  %r expands to
+#       a list of key IDs.
+
+# decode application/pgp
+set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
+
+# verify a pgp/mime signature
+set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
+
+# decrypt a pgp/mime attachment
+set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
+
+# create a pgp/mime signed attachment
+# set pgp_sign_command="gpg-2comp --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
+set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
+
+# create a application/pgp signed (old-style) message
+# set pgp_clearsign_command="gpg-2comp --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
+set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
+
+# create a pgp/mime encrypted attachment
+# set pgp_encrypt_only_command="pgpewrap gpg-2comp -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
+set pgp_encrypt_only_command="pgpewrap gpg -v --batch --output - --encrypt --textmode --armor -- -r %r -- %f"
+# --always-trust
+
+# create a pgp/mime encrypted and signed attachment
+# set pgp_encrypt_sign_command="pgpewrap gpg-2comp --passphrase-fd 0 -v --batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
+set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 -v --batch --textmode --output - --encrypt --sign %?a?-u %a? --armor -- -r %r -- %f"
+# --always-trust
+
+# import a key into the public key ring
+set pgp_import_command="gpg --no-verbose --import -v %f"
+
+# export a key from the public key ring
+set pgp_export_command="gpg --no-verbose --export --armor %r"
+
+# verify a key
+set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
+
+# read in the public key ring
+set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" 
+
+# read in the secret key ring
+set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r" 
+
+# receive key from keyserver:
+#set pgp_getkeys_command="wrap.sh -g %r"
+set pgp_getkeys_command=""
diff --git a/.muttrc.addons b/.muttrc.addons
new file mode 100644 (file)
index 0000000..e2f4d33
--- /dev/null
@@ -0,0 +1,76 @@
+# System-wide personalization for Mutt
+######################################
+
+set sort=threads
+unset strict_threads
+set editor="vi -c 'set noai' -c 'set ts=8'"
+set send_charset="us-ascii:iso-8859-2:utf-8"
+set charset="iso-8859-2"
+set autoedit
+set auto_tag
+set history=100
+set include=yes
+unset metoo
+set mime_fwd
+set move=no
+set pager_context=1
+set pager_stop
+set pop_delete
+set record=+sent
+set reverse_alias
+set status_format="---%h:%f [%M %nN %tT %dD %lB]%>-%v---"
+#set web_browser="lynx %s"
+set pager_format="-%S- [%l lines, %c] %C/%T: %-20.20n   %s"
+set status_on_top
+set fcc_clear
+set rfc2047_parameters
+unset save_empty
+set read_inc=1000
+set write_inc=1000
+unset confirmappend
+unset confirmcreate
+set reply_to=ask-yes
+
+
+# Mail command
+##############
+bind index \ca mail
+macro index M ":my_hdr X-Priority: 1\n:my_hdr Importance: high\n:set dsn_return=hdrs\n:set dsn_notify=failure,delay,success\n^a" "DSN and Priority-1 classed compose of a new mail message"
+macro index m ":unmy_hdr X-Priority Importance\n:unset dsn_return dsn_notify\n^a" "Standard compose of a new mail message"
+
+# GPG
+#####
+source /home/short/.muttrc-gpg.rc
+unset pgp_show_unusable
+set pgp_replyencrypt
+set pgp_replysignencrypted
+
+# Ignore headers
+################
+ignore received content- mime-version status x-status message-id sender
+ignore references return-path lines precedence x-authentication-warning
+ignore list-help list-subscribe list-unsubscribe list-post list-archive
+ignore x-mimetrack priority x-priority importance x-mime-autoconverted
+ignore x-accept-language resent-message-id x-sender x-antirelay
+ignore x-msmail-priority x-mimeole x-pop3-rcpt delivered-to
+
+# Colors
+########
+color hdrdefault brightcyan black
+color quoted cyan black
+color signature brightred black
+color indicator brightyellow red
+color error brightred black
+color status brightyellow blue
+color tree brightmagenta black  # the thread tree in the index menu
+color tilde brightmagenta black
+color message brightcyan black
+color normal white black
+color attachment brightmagenta black
+color search black green  # how to hilite search patterns in the pager
+color header brightyellow black ^(From|Subject):
+color body brightyellow black "(ftp|http)://[^ ]+"  # point out URLs
+color body brightcyan black [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses
+color underline brightgreen black
+mono header underline ^(From|Subject):
+mono quoted bold