set reverse_name=yes
set envelope_from=yes
set mbox_type=Maildir
-set folder=~/.mutt/mail
+set folder=~/.local/share/offlineimap/mail
set spoolfile=+/INBOX/
set record=+/Sent/
set postponed=+/Drafts/
set mask="!^\\.[^.]"
-source ~/.mutt/mailboxes
+source ~/.local/share/offlineimap/mailboxes
# Receiving, sending and searching
-set sendmail="/home/mrl/.mutt/checkattach.sh msmtp -C /home/mrl/.config/msmtp/config"
+set sendmail="/home/mrl/.config/mutt/checkattach.sh msmtp -a net"
set send_charset="us-ascii:utf-8"
-macro index,pager $ "<shell-escape>/home/mrl/.mutt/force_sync.sh<enter><sync-mailbox>" "Force refresh"
+macro index,pager $ "<shell-escape>/home/mrl/.config/mutt/force_sync.sh<enter><sync-mailbox>" "Force refresh"
macro attach B "<pipe-entry>firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"<enter>"
# Set the correct msmtp account for the different addresses
send2-hook '~f mart@martlubbers.net'\
- 'set sendmail="msmtp -C /home/mrl/.config/msmtp/config -a net"'
+ 'set sendmail="/home/mrl/.config/mutt/checkattach.sh msmtp -a net"'
send2-hook '((~f m.lubbers@cs.ru.nl)|(~f m.lubbers@science.ru.nl)|(~f mart@cs.ru.nl))'\
- 'set sendmail="msmtp -C /home/mrl/.config/msmtp/config -a ru"'
+ 'set sendmail="/home/mrl/.config/mutt/checkattach.sh msmtp -a ru"'
# Macro for switching to the ru address
macro compose <esc>2 "<esc>f^UMart Lubbers <mart@cs.ru.nl><enter>"
send2-hook '((~f m.lubbers@cs.ru.nl)|(~f m.lubbers@science.ru.nl)|(~f mart@cs.ru.nl)) (~g|~G)'\
'push <pgp-menu>c'
-#folder-hook . push "<delete-pattern>~=<enter>$"
-
# Key bindings
bind index gg first-entry
bind index G last-entry
set duplicate_threads=yes
ignore headers *
unignore headers from to subject date cc
-set mailcap_path=~/.mutt/mailcap
+set mailcap_path=~/.config/mutt/mailcap
set mailcap_sanitize=yes
# w3m --dump
"add the sender email address to khard"
# sidebar
-source ~/.mutt/sidebar.muttrc
+source ~/.config/mutt/sidebar.muttrc
# notmuch
-source ~/.mutt/notmuch.muttrc
+source ~/.config/mutt/notmuch.muttrc
# Crypto
-source ~/.mutt/gpg.muttrc
+source ~/.config/mutt/gpg.muttrc
# Colors
-source ~/.mutt/colors.muttrc
+source ~/.config/mutt/colors.muttrc