2 set from="mart@martlubbers.net"
6 set folder=~/.mutt/mail
9 set postponed=+/Drafts/
11 source ~/.mutt/mailboxes
13 # Receiving, sending and searching
14 set sendmail="msmtp -C /home/mart/.mutt/msmtprc"
15 macro index,pager $ "<shell-escape>offlineimap -c ~/.mutt/offlineimaprc &<enter><sync-mailbox>" "Force refresh"
16 macro attach B "<pipe-entry>firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"<enter>"
18 "<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter>\
19 <shell-escape>notmuch-mutt -r --prompt search<enter>\
20 <change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter>\
21 <enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" \
22 "notmuch: search mail"
25 bind index gg first-entry
26 bind index G last-entry
27 bind pager k previous-line
28 bind pager j next-line
31 bind pager R group-reply
44 set sort_browser=alpha
48 set duplicate_threads=yes
50 unignore headers from to subject date cc
51 set mailcap_path=~/.mutt/mailcap
52 set mailcap_sanitize=yes
56 set pager_index_lines=20
61 set quote_regexp="^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
64 set query_command = "abook --mutt-query '%s'"
65 macro index,pager a "<pipe-message>abook --add-email-quiet<return>" "Add this sender to Abook"
66 bind editor <Tab> complete-query
69 color normal white default
70 color attachment brightyellow default
71 color hdrdefault cyan default
72 color indicator default cyan
73 color markers brightred default
74 color quoted green default
75 color signature cyan default
76 color status brightgreen blue
77 color tilde blue default
78 color tree red default
79 color body brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
80 color body brightblue default (https?|ftp)://[\-\.\,/%~_:?\#a-zA-Z0-9]+
81 color quoted1 brightyellow default
82 color quoted2 red default
83 color hdrdefault cyan default
84 color signature cyan default
85 color index green default ~p
86 color index brightyellow default ~N
87 color index blue default ~T
88 color index red default ~D
89 color index brightblue default ~F
92 set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
93 set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
94 set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
95 set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
96 set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
97 set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
98 set pgp_import_command="gpg --no-verbose --import -v %f"
99 set pgp_export_command="gpg --no-verbose --export --armor %r"
100 set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
101 set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
102 set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r"
103 set pgp_sign_as=0xAD3FEBE7
105 set pgp_good_sign="^gpg: Good signature from"
108 set crypt_replysignencrypted=yes
109 set crypt_verify_sig=yes
110 message-hook '!(~g|~G) ~b"^-----BEGIN\ PGP\ (SIGNED\ )?MESSAGE"' "exec check-traditional-pgp"