1 macro index 'c' '<change-folder>?<change-dir><home>^K+<enter>'
3 # Source the passwords file
4 #source "gpg2 -dq ~/.mutt/passwords.gpg |"
5 set my_aber_password=`pass Aber/Main | head -n 1`
7 # Automatically render html emails. Not sure if this is a good idea
9 alternative_order text/plain text/enriched text/html
11 # use abook for aliases
12 set alias_file=~/.aliases
15 set query_command = "abook --mutt-query '%s'"
16 macro index,pager A "<pipe-message>abook --add-email-quiet<return>" "add the sender address to abook"
18 # View urls more easily with urlview
19 macro index \cb "|urlview\n"
20 macro pager \cb "|urlview\n"
23 :set my_tmp_pipe_decode=\$pipe_decode\n\
26 :set pipe_decode=\$my_tmp_pipe_decode\n\
27 :unset my_tmp_pipe_decode\n" \
28 # call urlview to extract URLS out of a message
32 set editor="vim -v +':set textwidth=72' +'set fo=aw'"
37 # Speed up folder switch
41 source ~/.mutt/colors.mutt
44 set sort_aux=last-date-received
48 # Show message some message headers when reading mail
49 set pager_index_lines=10
51 # Show some context when paging through email
54 # Stop at the end of the email
57 # Remove all headers by default
59 unignore from date subject to cc
63 set sidebar_visible=yes
65 set sidebar_folder_indent=yes
66 set sidebar_short_path=yes
67 set sidebar_divider_char='│'
68 set sidebar_format='%B%* %N'
70 bind index,pager \CP sidebar-prev
71 bind index,pager \CN sidebar-next
72 bind index,pager \CO sidebar-open
75 # Mailbox specific settings
76 set smtp_url = "smtp://maf54@aber.ac.uk@smtp.office365.com:587"
77 set smtp_pass = $my_aber_password
78 set from = "maf54@aber.ac.uk"
79 set realname = "Maximilian Friedersdorff"
80 set folder = "~/mail_aber"
81 set spoolfile = "+Inbox"
82 set postponed = "+Drafts"
86 set pgp_sign_as="0x251C939D"
88 mailboxes "+Inbox" "+Inbox/staging" "+Lists" "+Lists/ibers-all" "+Lists/centos-sec" "+Lists/ubuntu-sec" "+Notifications" "+Notifications/ibers-cs" "+Notifications/ibers-cs/vmcpuload" "+Notifications/NPPC" "+Notifications/NPPC/Updates" "+Notifications/NPPC/Uptime" "+Notifications/NPPC/Icinga" "+UCU" "+Suppliers" "+Suppliers/BrightComputing" "+Suppliers/ClusterVision"