2 set from="Mart Lubbers <mart@martlubbers.net>"
3 alternates "(mart@cs\.ru\.nl|m\.lubbers@cs\.ru\.nl|mart@martlubbers\.net|Mart\.Lubbers@ru\.nl)"
8 set folder=~/.local/share/offlineimap/mail
11 set postponed=+/Drafts/
13 source ~/.local/share/offlineimap/mailboxes
15 # Receiving, sending and searching
16 set sendmail="checkattach.sh msmtp -a net"
17 set send_charset="us-ascii:utf-8"
18 macro index,pager $ "<shell-escape>sync_mail.sh<enter><sync-mailbox>" "Force refresh"
20 # viewing and printing
21 macro attach B "<pipe-entry>firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"<enter>"
22 set print_command='set -e; f=`mktemp -p "$HOME"/.cache/mutt`; \
23 muttprint -P A4 -p TO_FILE:"$f"; evince "$f"; rm "$f"'
25 # Set the correct msmtp account for the different addresses
26 send2-hook '~f mart@martlubbers.net'\
27 'set sendmail="checkattach.sh msmtp -a net"'
28 send2-hook '((~f m.lubbers@cs.ru.nl)|(~f m.lubbers@science.ru.nl)|(~f mart@cs.ru.nl)|(~f m.lubbers@cs.ru.nl))'\
29 'set sendmail="checkattach.sh msmtp -a ru"'
31 # Macro for switching to the ru address
32 alias identity_1 Mart Lubbers <mart@martlubbers.net>
33 alias identity_2 Mart Lubbers <mart@cs.ru.nl>
34 macro compose v "<edit-from>^Uidentity\_<tab>" "Select from"
35 macro compose <esc>1 "<esc>f^UMart Lubbers <mart@martlubbers.net><enter>"
36 macro compose <esc>2 "<esc>f^UMart Lubbers <mart@cs.ru.nl><enter>"
39 bind index gg first-entry
40 bind index G last-entry
41 bind pager k previous-line
42 bind pager j next-line
45 bind index,pager R group-reply
46 bind index,pager F flag-message
59 set sort_browser=alpha
62 set editor="vim -c '%!proofpoint_decoder'"
63 set duplicate_threads=yes
65 unignore headers from to subject date cc
66 set mailcap_path=~/.config/mutt/mailcap
67 set mailcap_sanitize=yes
68 set display_filter="proofpoint_decoder"
73 auto_view application/pdf
75 auto_view application/ics
76 auto_view text/calendar
78 auto_view application/vnd.openxmlformats-officedocument.wordprocessingml.document
79 auto_view application/vnd.oasis.opendocument.text
80 auto_view application/msword
82 auto_view text/x-vcard
85 #set pager=/usr/share/vim/vim82/macros/less.sh
86 set pager_index_lines=5
91 set quote_regexp="^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
94 set query_command= "khard email --parsable '%s'"
95 bind editor <Tab> complete-query
96 bind editor ^T complete
98 "<pipe-message>khard add-email<return>" \
99 "add the sender email address to khard"
102 #source ~/.config/mutt/sidebar.muttrc
105 source ~/.config/mutt/notmuch.muttrc
108 source ~/.config/mutt/gpg.muttrc
111 source ~/.config/mutt/colors.muttrc