]> git.friedersdorff.com Git - max/dotfiles.git/blob - aber_offline_mail/.mutt/mutt.uk.ac.aber.maf54
Moar sorting
[max/dotfiles.git] / aber_offline_mail / .mutt / mutt.uk.ac.aber.maf54
1 macro index 'c' '<change-folder>?<change-dir><home>^K+<enter>'
2
3 # Source the passwords file
4 #source "gpg2 -dq ~/.mutt/passwords.gpg |"
5 set my_aber_password=`pass Aber/Main | head -n 1`
6
7 # Automatically render html emails.  Not sure if this is a good idea
8 auto_view text/html
9 alternative_order text/plain text/enriched text/html
10
11 # use abook for aliases
12 set alias_file=~/.aliases
13 set sort_alias= alias
14 source $alias_file
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"
17
18 # View urls more easily with urlview
19 macro index \cb   "|urlview\n"
20 macro pager \cb   "|urlview\n"
21
22 macro pager \cb "\
23 :set my_tmp_pipe_decode=\$pipe_decode\n\
24 :set pipe_decode\n\
25 |urlview\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
29
30 set text_flowed=yes
31 set reflow_text=yes
32 set editor="vim -v +':set textwidth=72' +'set fo=aw'"
33
34 # Encryption
35 source ~/.mutt/gpg.rc
36
37 # Speed up folder switch
38 set sleep_time=0 
39
40 # Mutt colors
41 source ~/.mutt/colors.mutt
42
43 set sort=threads
44 set sort_aux=last-date-received
45
46 set fast_reply=yes
47
48 # Show message some message headers when reading mail
49 set pager_index_lines=10
50
51 # Show some context when paging through email
52 set pager_context=5
53
54 # Stop at the end of the email
55 set pager_stop=yes
56
57 # Remove all headers by default
58 ignore *
59 unignore from date subject to cc
60
61 # Use sidebar
62 set mail_check_stats
63 set sidebar_visible=yes
64 set sidebar_width=25
65 set sidebar_folder_indent=yes
66 set sidebar_short_path=yes
67 set sidebar_divider_char='│'
68 set sidebar_format='%B%* %N'
69
70 bind index,pager \CP sidebar-prev
71 bind index,pager \CN sidebar-next
72 bind index,pager \CO sidebar-open
73 unmailboxes *
74
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"
83 set trash = "+Trash"
84 set record = "+Sent"
85
86 set pgp_sign_as="0x251C939D"
87
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"