## muttrc ## ## ## Personal section. This part belongs in your ~/.muttrc ## Edit at your leisure. ## set from="me@my.domain" set use_from=yes set record="~/mail/sent/`date +%Y-%B`/" set save_name="yes" set force_name="no" set copy="yes" set signature="~/mail/signature.txt" set markers=no # pgp_auto_decode is new as of Mutt v1.5.4 or something. If it nags, take the # line out, or upgrade. But it really is needed. Without this setting, old # format PGP-encrypted messages will not be decrypted automatically. You will # need to Esc-p manually to decrypt them. Good luck. set pgp_auto_decode=yes set pgp_autosign=yes set pgp_sign_as="me" ## ## Global section. This part belongs in /etc/Muttrc, or wherever your stupid ## OS mysteriously slips your config files to. ## # I don't know how many times you need to tell it to just use MailDir, but you # should definitely use maildir. Even for saving old emails locally. It really # is better. Try it. set mbox_type=Maildir set folder=~/.inbox set spoolfile=~/.inbox/ set record=~/.inbox/sent/ unset mbox set move=no # PGP commands. This is all you need to make GPG integration work. In fact, # your OS might already have settings like these in your muttrc. If so, you # are already good! Get back to the guide! http://ultrx.yi.org/pgp/ set pgp_decode_command="gpg --charset utf-8 --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 --passphrase-fd 0 --no-verbose --quiet --batch --output - %f" set pgp_sign_command="gpg --no-verbose --batch --quiet --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" set pgp_clearsign_command="gpg --charset utf-8 --no-verbose --batch --quiet --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" set pgp_encrypt_only_command="pgpewrap gpg --charset utf-8 --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" set pgp_encrypt_sign_command="pgpewrap gpg --charset utf-8 --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"