+unmailboxes *
+
set imap_user = "max@friedersdorff.com"
set imap_pass = $my_personal_password
set smtp_url = "smtp://max@friedersdorff.com@mail.friedersdorff.com:587"
set record = "+Sent"
set pgp_sign_as="0xDA2EDF6D"
+
+mailboxes "+INBOX" "+todo" "+quicknote" "+google"
+unmailboxes *
+
set imap_user = "maf54@aber.ac.uk"
set imap_pass = $my_aber_password
set smtp_url = "smtp://maf54@aber.ac.uk@smtp.office365.com:587"
set record = "+Sent"
set pgp_sign_as="0x251C939D"
+
+mailboxes "+INBOX" "+Lists" "+Lists/ibers-all" "+Lists/centos-sec" "+Lists/unbuntu-sec" "+Notifications" "+Notifications/ibers-cs"
color index blue default "~U" # unread messages
color index blue default "~U~$" # unread, unreferenced messages
color index black red "~D" # deleted messages
+
+# Sidebar
+color sidebar_indicator default color17
+color sidebar_highlight default color238
+color sidebar_new green default
# Macro keys for different mailboxes
-macro index \e1 '<sync-mailbox><change-folder>imaps://mail.friedersdorff.com<enter>'
-macro index \e2 '<sync-mailbox><change-folder>imaps://outlook.office365.com<enter>'
+macro index \e1 '<sync-mailbox><change-folder>imaps://mail.friedersdorff.com<enter><sidebar-open>'
+macro index \e2 '<sync-mailbox><change-folder>imaps://outlook.office365.com<enter><sidebar-open>'
# Configuration files for different mailboxes
set text_flowed=yes
set reflow_text=yes
-set editor="gvim -v +':set textwidth=72' +'set fo=aw'"
+set editor="vim -v +':set textwidth=72' +'set fo=aw'"
# Encryption
source ~/.mutt/gpg.rc
# Show message some message headers when reading mail
set pager_index_lines=10
+
+# Remove all headers by default
+ignore *
+unignore from date subject to cc
+
+# Use sidebar
+set mail_check_stats
+set sidebar_visible=yes
+set sidebar_width=25
+set sidebar_folder_indent=yes
+set sidebar_short_path=yes
+set sidebar_divider_char='│'
+set sidebar_format='%B%* %N'
+
+bind index,pager \CP sidebar-prev
+bind index,pager \CN sidebar-next
+bind index,pager \CO sidebar-open