-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmuttrc
More file actions
168 lines (135 loc) · 5.95 KB
/
muttrc
File metadata and controls
168 lines (135 loc) · 5.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
set mbox_type=Maildir
set folder="~/Maildir"
set mask="!^\\.[^.]"
set mbox="~/Maildir"
set spoolfile="~/Maildir"
#set spoolfile="~/Maildir/"
#set folder="~/Maildir/"
set mask=".*" # the default mask hides dotfiles and maildirs are dotfiles now.
# set mask="!^\.[^.]" # this line intentionally commented out
set record="+.Sent"
set postponed="+.Drafts"
#mailboxes + "+.Archive" "+.Deleted Messages" "+.Drafts" "+.SIP" "+.SPAM" "+.Sent" "+.Sent Messages" "+.Sent.old" "+.Spam" "+.Trash" "+.apple" "+.archive" "+.bugtraq" "+.cpunks" "+.crap" "+.creditjunk" "+.critical" "+.cron" "+.daemon" "+.freebsd" "+.freecode" "+.fulldisclosure" "+.google" "+.ifthis" "+.linkedin" "+.meetup" "+.nanog" "+.notes" "+.presort" "+.prespam" "+.redhat" "+.subnet88"
#mailboxes ! + `\
#for file in ~/Maildir/.*; do \
# box=$(basename "$file"); \
# if [ ! "$box" = '.' -a ! "$box" = '..' -a ! "$box" = '.customflags' \
# -a ! "$box" = '.subscriptions' ]; then \
# echo -n "\"+$box\" "; \
# fi; \
#done`
macro index c "<change-folder>?<toggle-mailboxes>" "open a different folder"
macro pager c "<change-folder>?<toggle-mailboxes>" "open a different folder"
macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
#set spoolfile="imap://jnn@synfin.org/INBOX"
#set imap_check_subscribed=yes
#set imap_list_subscribed=yes
#set imap_login=jnn
set hostname=synfin.org
set hdrs # add my_hdr lines
#set alias_file=~/.muttrc.aliases # Keep aliases in this file.
#source ~/.muttrc.aliases # And read them in.
set allow_8bit # leave all the bits alone :)
set postpone=ask-no # Ask about postponing.
set postponed=+postponed # Where postponed messages live.
set print=ask-yes # Ask before printing.
set delete=yes # Just Do It
set move=ask-yes
set include=yes # Include the message in replies.
set edit_hdrs # I want to edit the message headers.
set editor="vim" # Use my script to run htag and
# then vim
set nomark_old # Don't mark unread new msgs as old.
#set mbox=+mbox # Where my mailbox lives.
set copy=yes # Keep copies of outgoing mail...
set record=+Sent # ... and it gets saved in =outbox.
set pager_stop # Don't skip msgs on next page.
set pager_index_lines=1 # Start off with index footer in pager.
# Where to find the mailcap.
set nowrite_bcc
# Default color definitions
color hdrdefault black cyan
color quoted brightred white
color signature magenta white
color indicator brightwhite red
color attachment black white
color error red white
color message black white
color search brightwhite magenta
color status brightyellow blue
color tree red white
color normal black white
color tilde green white
color bold brightyellow white
color underline magenta white
color markers red white
# Colour definitions when on a mono screen
mono bold bold
mono underline underline
mono indicator reverse
# Colours for items in the reader
color header black cyan ".*:"
color header brightwhite cyan "^(From|Subject):"
mono header bold "^(From|Subject):"
# Colours for items in the index
color index brightblue white ~N
# Hmm, don't like this.
#color index brightgreen black "~N (~x byers.world)|(~x byers.x)|(~x langly.levallois123.axialys.net)|(~x the.earth.li)"
color index red white ~F
color index black green ~T
color index brightwhite white ~D
mono index bold ~N
mono index bold ~F
mono index bold ~T
mono index bold ~D
# Misc Highlights in index
color index brightgreen white "synfin.org"
color index brightgreen white "daemon.synfin.org"
# Highlights inside the body of a message.
# URLs
color body brightblue white "(https|hkp|ssh|http|ftp|sftp|news|telnet|finger)://[^ \"\t\r\n]*"
color body brightblue white "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
mono body bold "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
# email addresses
color body brightblue white "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
mono body bold "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
# Various smilies and the like
color body brightgreen black "<[Ee]?[Bb]?[Gg]>" # <g>
color body brightgreen black "<[Bb][Gg]>" # <bg>
color body brightgreen black " [;:]-*[)>(<|]" # :-) et
# PGP/gnupg settings
source ~/.muttrc.gpg2
set crypt_use_gpgme = no
# Sign replies to signed email
set crypt_replysign = yes
# Encrypt replies to encrypted email
set crypt_replyencrypt = yes
# Encrypt and sign replies to encrypted and signed email
set crypt_replysignencrypted = yes
# Attempt to verify email signatures automatically
set crypt_verify_sig = yes
# automatically sign all outgoing messages
set crypt_autosign = yes
set pgp_verify_command="gpg2 --no-verbose --batch --output - --verify %s %f"
set pgp_use_gpg_agent = yes
set pgp_sign_as = D47A78C7
set pgp_timeout = 3600
set pgp_autosign = yes
set pgp_replyencrypt = no
set pgp_replysign = yes
set pgp_replysignencrypted = no
set pgp_strict_enc = yes
set pgp_verify_sig = yes
set pgp_auto_decode = yes
#
source ~/.muttrc.keys
source ~/.muttrc.spam
#mailboxes `echo -n "+ "; gfind ~/Maildir -maxdepth 1 -type d -name ".*" -printf "+'%f' | grep -v evernote "`
mailboxes `echo -n "+ "; gfind ~/Maildir -maxdepth 1 \( -regex '.*evernote.*' \) -prune -o -type d -name ".*" -printf "+'%f' "`
unmailboxes cur new tmp courierimapsubscribed courierimapuiddb courierimaphieracl courierimapkeywords
set ascii_chars = yes
set collapse_unread = no
set sort=threads
set sort_aux=date-received