shaker/mutt/muttrc
2022-07-18 13:52:20 +00:00

80 lines
2.2 KiB
Plaintext

##############################
### USER CONFIGURATION ###
# UNCOMMENT THE RELEVANT LINES AND INSERT YOUR DETAILS
## PGP
# Specify what key to use for signing here:
#set pgp_sign_as=0x
## END PGP
## IMAP
#set folder=imaps://IMAP_SERVER/
#set imap_user=IMAP_USERNAME
#set imap_pass=IMAP_PASSWORD
#set spoolfile=+INBOX
#set imap_check_subscribed
## END IMAP
## POP3
#set pop_host=pops://POP3_SERVER
#set pop_user=POP3_USERNAME
#set pop_pass=POP3_PASSWORD
#set pop_checkinterval=120
#set pop_delete=ask-no
#set pop_last=yes
## END POP3
## SMTP
#set my_user=SMTP_USERNAME
#set smtp_url=smtps://$my_user@SMTP_SERVER
#set ssl_force_tls=yes
#set record= +Sent
#set smtp_pass=SMTP_PASSWORD
#set realname=SMTP_REAL_NAME
#set from=EMAIL_ADDRESS
#set use_from=yes
#set ssl_starttls=yes
#set ssl_force_tls=yes
## END SMTP
### END USER CONFIGURATION ###
##############################
set pgp_use_gpg_agent = no
set crypt_use_gpgme=no
# decode application/pgp
set pgp_decode_command="qubes-gpg-client-wrapper -d --status-fd=2 --batch %f"
# decrypt a pgp/mime attachment
set pgp_decrypt_command="$pgp_decode_command"
# verify a pgp/mime signature
#set pgp_verify_command="gpg --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f"
set mbox_type=Maildir
set record=+mail
set header_cache = "/home/user/.cache/Mail/headers"
set editor="vi -c ':set tw=72' "
set pager_index_lines=10
color index green black ~N
color index yellow black ~O
macro index <F8> \
"<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter>\
<shell-escape>notmuch-mutt -r --prompt search<enter>\
<change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter>\
<enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" \
"notmuch: search mail"
macro index <F9> \
"<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter>\
<pipe-message>/usr/bin/notmuch-mutt -r thread<enter> \
<change-folder-readonly>/home/user/.cache/notmuch/mutt/results<enter> \
<enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" \
"notmuch: reconstruct thread"