[svlug] mutt happy!
Bill Jonas
bill at billjonas.com
Sat Apr 14 23:13:02 PDT 2001
On Sat, Apr 14, 2001 at 07:24:40PM -0700, CB wrote:
> I also figured out that the reason my new messages didn't show up was
> two fold. Timeout was set to default, so that wasn't a major player.
Also note that for some annoying reason, you won't be notified of new
messages if you're in the pager. Workaround, of course, being that you go
back to the index when you're not reading the email. (I suppose it
doesn't check while you're in the pager because you can define your own
pager program. *shrug*)
> Prepending the + to the name for the path substitution fixed part of it.
Do you mean '='?
> I still don't have the subscribe done properly, but that will come with
> time. (L)ist response works fine for all but a few lists, possibly a
> mutt configuration error and possibly a list header ambiguity.
Here's a snippet from my .muttrc. The three folder-hook commands seem a
little redundant, but the first two set up the primary sort to be the
order in which the messages were received and the secondary sort to be
threaded. Then, I treat my inbox differently; I don't want threading in
my inbox, so I undo the first two folder hooks only for that mailbox only.
(All my mailboxes that receive email are for lists, except for the inbox.)
----Begin Snippet----
folder-hook . set sort=mailbox-order
folder-hook . set sort=threads
folder-hook '!' set sort=mailbox-order
# Clean up the header display a bit
ignore *
unignore Date: From: Reply-To: To: Cc: Bcc: Subject: Resent-From: \
Resent-Date: Resent-To: Resent-cc: Resent-Subject:
unhdr_order *
hdr_order Date: From: Reply-To: To: Cc: Bcc: Subject: Resent-From: \
Resent-Date: Resent-To: Resent-cc: Resent-Subject:
# Take advantage of Mutt's mailing list management stuff, and also let Mutt
# know that I receive mail in these files
unlists *
lists svlug at lists.svlug.org svlug at svlug.org otherlist at otherhost.tld \
anotherlist at someotherdomain.tld etc at etc.etc etc at etc.etc
unsubscribe *
subscribe svlug at lists.svlug.org svlug at svlug.org otherlist at otherhost.tld \
anotherlist at someotherdomain.tld etc at etc.etc etc at etc.etc
mailboxes ! =slackware-security =debian-security-announce =plug \
=plug-announce =svlug =etc =etc =etc
----End Snippet----
> Next, configuration of gpg (will the learning never end? :)
Have a look at some of Debian's /etc/Muttrc. (I'm including the colors
stuff even though it's not relevant to gpg configuration because it looks
pretty. :) Of course, you'll need to adjust the appropriate paths for
your system.)
----Begin Snippet----
# colors
color hdrdefault cyan default
color quoted green default
color signature cyan default
color attachment brightyellow default
color indicator black cyan
#color indicator brightblack cyan # nicer in reverse-color xterms
color status brightgreen blue
color tree red default
color markers brightred default
color tilde blue default
color header brightgreen default ^From:
color header brightcyan default ^To:
color header brightcyan default ^Reply-To:
color header brightcyan default ^Cc:
color header brightblue default ^Subject:
color body brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
color body brightblue default (http|ftp)://[\-\.\,/%~_:?\#a-zA-Z0-9]+
# GnuPG configuration
set pgp_sign_micalg=pgp-sha1 # default for DSS keys
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 --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --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 - --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=""
----End Snippet----
--
Bill Jonas * bill at billjonas.com * http://www.billjonas.com/
"As we enjoy great advantages from the inventions of others, we should
be glad of an opportunity to serve others by any invention of ours; and
this we should do freely and generously." -- Benjamin Franklin
More information about the svlug
mailing list