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"
19 macro attach B "<pipe-entry>firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"<enter>"
21 # Set the correct msmtp account for the different addresses
22 send2-hook '~f mart@martlubbers.net'\
23 'set sendmail="checkattach.sh msmtp -a net"'
24 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))'\
25 'set sendmail="checkattach.sh msmtp -a ru"'
27 # Macro for switching to the ru address
28 macro compose <esc>1 "<esc>f^UMart Lubbers <mart@martlubbers.net><enter>"
29 macro compose <esc>2 "<esc>f^UMart Lubbers <mart@cs.ru.nl><enter>"
32 bind index gg first-entry
33 bind index G last-entry
34 bind pager k previous-line
35 bind pager j next-line
38 bind index,pager R group-reply
39 bind index,pager F flag-message
52 set sort_browser=alpha
56 set duplicate_threads=yes
58 unignore headers from to subject date cc
59 set mailcap_path=~/.config/mutt/mailcap
60 set mailcap_sanitize=yes
65 auto_view application/pdf
67 auto_view application/ics
68 auto_view text/calendar
70 auto_view application/vnd.openxmlformats-officedocument.wordprocessingml.document
71 auto_view application/vnd.oasis.opendocument.text
72 auto_view application/msword
74 auto_view text/x-vcard
77 #set pager=/usr/share/vim/vim82/macros/less.sh
78 set pager_index_lines=20
83 set quote_regexp="^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
86 set query_command= "khard email --parsable '%s'"
87 bind editor <Tab> complete-query
88 bind editor ^T complete
90 "<pipe-message>khard add-email<return>" \
91 "add the sender email address to khard"
94 #source ~/.config/mutt/sidebar.muttrc
97 source ~/.config/mutt/notmuch.muttrc
100 source ~/.config/mutt/gpg.muttrc
103 source ~/.config/mutt/colors.muttrc