# plomlompom's mutt configuration file # Define mailboxes. set mbox_type=Maildir set folder=/home/plom/mail set spoolfile=$folder/inbox set mbox=$folder/archive set record=$folder/sent set postponed=$folder/postponed # Move read messages from $spoolfile to $mbox. set move=yes # Macro to a mailboxes view built from all folders below ~/mail. macro index,pager y ? mailboxes `ls /home/plom/mail | sed -e 's/^/=/' | tr "\n" " "` # What goes into the default header display. ignore * unignore from: subject to cc date # Force some variables for From: and Message-ID: generation. set realname="Christian Heller" # Allow me to reply myself. set reply_self = yes # Only scroll in the current message, not across messages. set pager_stop = yes # Sort message top-down new-old. set sort=reverse-date # Ensure visibility of attachments. The second line handles (in an ugly way) the # issue of mails that use the content-type of multipart/alternative wrongly, by # omitting from the text/plain alternative relevant multimedia files attached to # the multipart/related alternative that contains text/html and said files. This # will in certain cases make the pager default to displaying the HTML variant of # a mail when a plain text one is available, but this is preferable to hiding # potentially important attachments. set index_format="%4C %Z %?X?[%X]& ? %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" alternative_order multipart/related text/plain text/html # Defaults from /usr/share/doc/mutt/examples/gpg.rc set pgp_decode_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" set pgp_verify_command="gpg --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f" set pgp_decrypt_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" set pgp_sign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f" set pgp_clearsign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f" set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" set pgp_import_command="gpg --no-verbose --import %f" set pgp_export_command="gpg --no-verbose --export --armor %r" set pgp_verify_key_command="gpg --verbose --batch --fingerprint --check-sigs %r" set pgp_list_pubring_command="gpg --no-verbose --batch --quiet --with-colons --list-keys %r" set pgp_list_secring_command="gpg --no-verbose --batch --quiet --with-colons --list-secret-keys %r" set pgp_good_sign="^\\[GNUPG:\\] GOODSIG" # Further stuff from http://codesorcery.net/old/mutt/mutt-gnupg-howto set pgp_autosign=yes set pgp_sign_as=0x98F64A5F set pgp_replyencrypt=yes set pgp_timeout=1800 # Promoting my public key. my_hdr X-PGP-Key: https://dump.plomlompom.com/dump/plomlompom.asc